From 32fe513144d26e45237c3bbd7183c95c852d026a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 23 Jan 2006 23:01:54 +0000 Subject: [PATCH] reSWIGged with new SWIG runtime git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/animate/gtk/animate.py | 3 +- wxPython/contrib/animate/gtk/animate_wrap.cpp | 2031 ++-- wxPython/contrib/animate/mac/animate.py | 3 +- wxPython/contrib/animate/mac/animate_wrap.cpp | 2031 ++-- wxPython/contrib/gizmos/gtk/gizmos.py | 3 +- wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp | 3123 ++++-- wxPython/contrib/gizmos/mac/gizmos.py | 3 +- wxPython/contrib/gizmos/mac/gizmos_wrap.cpp | 3123 ++++-- wxPython/contrib/glcanvas/gtk/glcanvas.py | 3 +- .../contrib/glcanvas/gtk/glcanvas_wrap.cpp | 1800 ++-- wxPython/contrib/glcanvas/mac/glcanvas.py | 3 +- .../contrib/glcanvas/mac/glcanvas_wrap.cpp | 1790 ++-- wxPython/contrib/stc/gtk/stc.py | 3 +- wxPython/contrib/stc/gtk/stc_wrap.cpp | 5773 +++++++----- wxPython/contrib/stc/mac/stc.py | 3 +- wxPython/contrib/stc/mac/stc_wrap.cpp | 5773 +++++++----- wxPython/src/gtk/_controls.py | 5 +- wxPython/src/gtk/_controls_wrap.cpp | 5986 +++++++----- wxPython/src/gtk/_core.py | 13 +- wxPython/src/gtk/_core_wrap.cpp | 8141 ++++++++-------- wxPython/src/gtk/_gdi.py | 14 +- wxPython/src/gtk/_gdi_wrap.cpp | 5086 +++++----- wxPython/src/gtk/_misc.py | 172 +- wxPython/src/gtk/_misc_wrap.cpp | 6914 ++++++++------ wxPython/src/gtk/_windows.py | 19 +- wxPython/src/gtk/_windows_wrap.cpp | 5212 +++++----- wxPython/src/gtk/calendar.py | 3 +- wxPython/src/gtk/calendar_wrap.cpp | 2020 ++-- wxPython/src/gtk/grid.py | 3 +- wxPython/src/gtk/grid_wrap.cpp | 4147 ++++---- wxPython/src/gtk/html.py | 3 +- wxPython/src/gtk/html_wrap.cpp | 3618 ++++--- wxPython/src/gtk/media.py | 5 +- wxPython/src/gtk/media_wrap.cpp | 1819 ++-- wxPython/src/gtk/webkit.py | 3 +- wxPython/src/gtk/webkit_wrap.cpp | 1788 ++-- wxPython/src/gtk/wizard.py | 3 +- wxPython/src/gtk/wizard_wrap.cpp | 2244 +++-- wxPython/src/gtk/xrc.py | 3 +- wxPython/src/gtk/xrc_wrap.cpp | 2204 +++-- wxPython/src/mac/_controls.py | 5 +- wxPython/src/mac/_controls_wrap.cpp | 5980 +++++++----- wxPython/src/mac/_core.py | 61 +- wxPython/src/mac/_core_wrap.cpp | 8363 +++++++++-------- wxPython/src/mac/_gdi.py | 14 +- wxPython/src/mac/_gdi_wrap.cpp | 5116 +++++----- wxPython/src/mac/_misc.py | 172 +- wxPython/src/mac/_misc_wrap.cpp | 6928 ++++++++------ wxPython/src/mac/_windows.py | 19 +- wxPython/src/mac/_windows_wrap.cpp | 5206 +++++----- wxPython/src/mac/calendar.py | 3 +- wxPython/src/mac/calendar_wrap.cpp | 2020 ++-- wxPython/src/mac/grid.py | 3 +- wxPython/src/mac/grid_wrap.cpp | 4147 ++++---- wxPython/src/mac/html.py | 446 +- wxPython/src/mac/html_wrap.cpp | 7786 +++++++++++---- wxPython/src/mac/media.py | 5 +- wxPython/src/mac/media_wrap.cpp | 1819 ++-- wxPython/src/mac/webkit.py | 3 +- wxPython/src/mac/webkit_wrap.cpp | 1788 ++-- wxPython/src/mac/wizard.py | 3 +- wxPython/src/mac/wizard_wrap.cpp | 2244 +++-- wxPython/src/mac/xrc.py | 3 +- wxPython/src/mac/xrc_wrap.cpp | 2204 +++-- 64 files changed, 79956 insertions(+), 49275 deletions(-) diff --git a/wxPython/contrib/animate/gtk/animate.py b/wxPython/contrib/animate/gtk/animate.py index 8365363811..f93cbce7e4 100644 --- a/wxPython/contrib/animate/gtk/animate.py +++ b/wxPython/contrib/animate/gtk/animate.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -444,3 +444,4 @@ def PreGIFAnimationCtrl(*args, **kwargs): return val + diff --git a/wxPython/contrib/animate/gtk/animate_wrap.cpp b/wxPython/contrib/animate/gtk/animate_wrap.cpp index 1b21d6003f..2aef6fbcbd 100644 --- a/wxPython/contrib/animate/gtk/animate_wrap.cpp +++ b/wxPython/contrib/animate/gtk/animate_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,32 +1431,108 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxRect swig_types[0] -#define SWIGTYPE_p_wxGIFAnimationCtrl swig_types[1] -#define SWIGTYPE_p_wxObject swig_types[2] -#define SWIGTYPE_p_unsigned_char swig_types[3] -#define SWIGTYPE_p_wxColour swig_types[4] -#define SWIGTYPE_p_wxAnimationPlayer swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_unsigned_long swig_types[7] -#define SWIGTYPE_p_wxBitmap swig_types[8] -#define SWIGTYPE_p_form_ops_t swig_types[9] -#define SWIGTYPE_p_unsigned_int swig_types[10] -#define SWIGTYPE_unsigned_int swig_types[11] -#define SWIGTYPE_p_wxDuplexMode swig_types[12] -#define SWIGTYPE_p_wxGIFAnimation swig_types[13] -#define SWIGTYPE_p_char swig_types[14] -#define SWIGTYPE_p_wxAnimationBase swig_types[15] -#define SWIGTYPE_p_wxPoint swig_types[16] -#define SWIGTYPE_p_wxDC swig_types[17] -#define SWIGTYPE_p_wxEvtHandler swig_types[18] -#define SWIGTYPE_std__ptrdiff_t swig_types[19] -#define SWIGTYPE_ptrdiff_t swig_types[20] -#define SWIGTYPE_p_wxControl swig_types[21] -#define SWIGTYPE_p_wxPaperSize swig_types[22] -#define SWIGTYPE_p_wxSize swig_types[23] -#define SWIGTYPE_p_int swig_types[24] -static swig_type_info *swig_types[26]; +#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_wxAnimationBase swig_types[9] +#define SWIGTYPE_p_wxAnimationPlayer swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_wxBitmap swig_types[12] +#define SWIGTYPE_p_wxBoxSizer swig_types[13] +#define SWIGTYPE_p_wxCURHandler 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_wxCommandEvent swig_types[18] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[19] +#define SWIGTYPE_p_wxControl swig_types[20] +#define SWIGTYPE_p_wxControlWithItems swig_types[21] +#define SWIGTYPE_p_wxDC swig_types[22] +#define SWIGTYPE_p_wxDateEvent swig_types[23] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[25] +#define SWIGTYPE_p_wxDuplexMode swig_types[26] +#define SWIGTYPE_p_wxEraseEvent swig_types[27] +#define SWIGTYPE_p_wxEvent swig_types[28] +#define SWIGTYPE_p_wxEvtHandler swig_types[29] +#define SWIGTYPE_p_wxFSFile swig_types[30] +#define SWIGTYPE_p_wxFileSystem swig_types[31] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[32] +#define SWIGTYPE_p_wxFocusEvent swig_types[33] +#define SWIGTYPE_p_wxGBSizerItem swig_types[34] +#define SWIGTYPE_p_wxGIFAnimation swig_types[35] +#define SWIGTYPE_p_wxGIFAnimationCtrl swig_types[36] +#define SWIGTYPE_p_wxGIFHandler swig_types[37] +#define SWIGTYPE_p_wxGridBagSizer swig_types[38] +#define SWIGTYPE_p_wxGridSizer swig_types[39] +#define SWIGTYPE_p_wxICOHandler swig_types[40] +#define SWIGTYPE_p_wxIconizeEvent swig_types[41] +#define SWIGTYPE_p_wxIdleEvent swig_types[42] +#define SWIGTYPE_p_wxImage swig_types[43] +#define SWIGTYPE_p_wxImageHandler swig_types[44] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[45] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[46] +#define SWIGTYPE_p_wxJPEGHandler swig_types[47] +#define SWIGTYPE_p_wxKeyEvent swig_types[48] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[49] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[50] +#define SWIGTYPE_p_wxMenu swig_types[51] +#define SWIGTYPE_p_wxMenuBar swig_types[52] +#define SWIGTYPE_p_wxMenuEvent swig_types[53] +#define SWIGTYPE_p_wxMenuItem swig_types[54] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[55] +#define SWIGTYPE_p_wxMouseEvent swig_types[56] +#define SWIGTYPE_p_wxMoveEvent swig_types[57] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[58] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[59] +#define SWIGTYPE_p_wxNotifyEvent swig_types[60] +#define SWIGTYPE_p_wxObject swig_types[61] +#define SWIGTYPE_p_wxPCXHandler swig_types[62] +#define SWIGTYPE_p_wxPNGHandler swig_types[63] +#define SWIGTYPE_p_wxPNMHandler swig_types[64] +#define SWIGTYPE_p_wxPaintEvent swig_types[65] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[66] +#define SWIGTYPE_p_wxPaperSize swig_types[67] +#define SWIGTYPE_p_wxPoint swig_types[68] +#define SWIGTYPE_p_wxPyApp swig_types[69] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[70] +#define SWIGTYPE_p_wxPyEvent swig_types[71] +#define SWIGTYPE_p_wxPyImageHandler swig_types[72] +#define SWIGTYPE_p_wxPySizer swig_types[73] +#define SWIGTYPE_p_wxPyValidator swig_types[74] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[75] +#define SWIGTYPE_p_wxRect swig_types[76] +#define SWIGTYPE_p_wxScrollEvent swig_types[77] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[78] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[79] +#define SWIGTYPE_p_wxShowEvent swig_types[80] +#define SWIGTYPE_p_wxSize swig_types[81] +#define SWIGTYPE_p_wxSizeEvent swig_types[82] +#define SWIGTYPE_p_wxSizer swig_types[83] +#define SWIGTYPE_p_wxSizerItem swig_types[84] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[85] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[86] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[87] +#define SWIGTYPE_p_wxTIFFHandler swig_types[88] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[89] +#define SWIGTYPE_p_wxValidator swig_types[90] +#define SWIGTYPE_p_wxWindow swig_types[91] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[92] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93] +#define SWIGTYPE_p_wxXPMHandler swig_types[94] +#define SWIGTYPE_ptrdiff_t swig_types[95] +#define SWIGTYPE_std__ptrdiff_t swig_types[96] +#define SWIGTYPE_unsigned_int swig_types[97] +static swig_type_info *swig_types[99]; +static swig_module_info swig_module = {swig_types, 98, 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) -------- */ @@ -1383,7 +1551,7 @@ static swig_type_info *swig_types[26]; static const wxString wxPyAnimationControlNameStr(wxT("animationControl")); static const wxString wxPyEmptyString(wxEmptyString); - /*@/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 /*@@*/ @@ -1436,7 +1604,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; @@ -1450,7 +1618,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1483,7 +1651,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1497,14 +1665,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1518,14 +1686,14 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1539,7 +1707,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1555,7 +1723,7 @@ static int _wrap_AnimationControlNameStr_set(PyObject *) { static PyObject *_wrap_AnimationControlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1569,7 +1737,7 @@ static PyObject *_wrap_AnimationControlNameStr_get(void) { static PyObject *_wrap_new_AnimationPlayer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) NULL ; bool arg2 = (bool) false ; wxAnimationPlayer *result; @@ -1586,7 +1754,7 @@ static PyObject *_wrap_new_AnimationPlayer(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -1605,7 +1773,7 @@ static PyObject *_wrap_new_AnimationPlayer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_AnimationPlayer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1630,7 +1798,7 @@ static PyObject *_wrap_delete_AnimationPlayer(PyObject *, PyObject *args, PyObje static PyObject *_wrap_AnimationPlayer_SetAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxAnimationBase *arg2 = (wxAnimationBase *) 0 ; bool arg3 = (bool) false ; @@ -1648,7 +1816,7 @@ static PyObject *_wrap_AnimationPlayer_SetAnimation(PyObject *, PyObject *args, 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; } } @@ -1667,7 +1835,7 @@ static PyObject *_wrap_AnimationPlayer_SetAnimation(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_GetAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxAnimationBase *result; PyObject * obj0 = 0 ; @@ -1693,7 +1861,7 @@ static PyObject *_wrap_AnimationPlayer_GetAnimation(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_SetDestroyAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -1706,7 +1874,7 @@ static PyObject *_wrap_AnimationPlayer_SetDestroyAnimation(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, 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; } { @@ -1724,7 +1892,7 @@ static PyObject *_wrap_AnimationPlayer_SetDestroyAnimation(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_GetDestroyAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1752,7 +1920,7 @@ static PyObject *_wrap_AnimationPlayer_GetDestroyAnimation(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_SetCurrentFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -1765,7 +1933,7 @@ static PyObject *_wrap_AnimationPlayer_SetCurrentFrame(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -1783,7 +1951,7 @@ static PyObject *_wrap_AnimationPlayer_SetCurrentFrame(PyObject *, PyObject *arg static PyObject *_wrap_AnimationPlayer_GetCurrentFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -1802,7 +1970,7 @@ static PyObject *_wrap_AnimationPlayer_GetCurrentFrame(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -1811,7 +1979,7 @@ static PyObject *_wrap_AnimationPlayer_GetCurrentFrame(PyObject *, PyObject *arg static PyObject *_wrap_AnimationPlayer_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -1840,7 +2008,7 @@ static PyObject *_wrap_AnimationPlayer_SetWindow(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -1868,7 +2036,7 @@ static PyObject *_wrap_AnimationPlayer_GetWindow(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -1900,7 +2068,7 @@ static PyObject *_wrap_AnimationPlayer_SetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_AnimationPlayer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -1920,7 +2088,7 @@ static PyObject *_wrap_AnimationPlayer_GetPosition(PyObject *, PyObject *args, 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; @@ -1930,7 +2098,7 @@ static PyObject *_wrap_AnimationPlayer_GetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_AnimationPlayer_SetLooped(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -1943,7 +2111,7 @@ static PyObject *_wrap_AnimationPlayer_SetLooped(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, 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; } { @@ -1961,7 +2129,7 @@ static PyObject *_wrap_AnimationPlayer_SetLooped(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_GetLooped(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1989,7 +2157,7 @@ static PyObject *_wrap_AnimationPlayer_GetLooped(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_HasAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2017,7 +2185,7 @@ static PyObject *_wrap_AnimationPlayer_HasAnimation(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_IsPlaying(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2045,7 +2213,7 @@ static PyObject *_wrap_AnimationPlayer_IsPlaying(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_UseBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2058,7 +2226,7 @@ static PyObject *_wrap_AnimationPlayer_UseBackgroundColour(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, 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; } { @@ -2076,7 +2244,7 @@ static PyObject *_wrap_AnimationPlayer_UseBackgroundColour(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_UsingBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2104,7 +2272,7 @@ static PyObject *_wrap_AnimationPlayer_UsingBackgroundColour(PyObject *, PyObjec static PyObject *_wrap_AnimationPlayer_SetCustomBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxColour *arg2 = 0 ; bool arg3 = (bool) true ; @@ -2125,7 +2293,7 @@ static PyObject *_wrap_AnimationPlayer_SetCustomBackgroundColour(PyObject *, PyO } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -2144,7 +2312,7 @@ static PyObject *_wrap_AnimationPlayer_SetCustomBackgroundColour(PyObject *, PyO static PyObject *_wrap_AnimationPlayer_UsingCustomBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2172,7 +2340,7 @@ static PyObject *_wrap_AnimationPlayer_UsingCustomBackgroundColour(PyObject *, P static PyObject *_wrap_AnimationPlayer_GetCustomBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -2201,7 +2369,7 @@ static PyObject *_wrap_AnimationPlayer_GetCustomBackgroundColour(PyObject *, PyO static PyObject *_wrap_AnimationPlayer_UseParentBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2214,7 +2382,7 @@ static PyObject *_wrap_AnimationPlayer_UseParentBackground(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, 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; } { @@ -2232,7 +2400,7 @@ static PyObject *_wrap_AnimationPlayer_UseParentBackground(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_UsingParentBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2260,7 +2428,7 @@ static PyObject *_wrap_AnimationPlayer_UsingParentBackground(PyObject *, PyObjec static PyObject *_wrap_AnimationPlayer_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxWindow *arg2 = 0 ; wxPoint const &arg3_defvalue = wxPoint(0, 0) ; @@ -2295,7 +2463,7 @@ static PyObject *_wrap_AnimationPlayer_Play(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -2316,7 +2484,7 @@ static PyObject *_wrap_AnimationPlayer_Play(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AnimationPlayer_Build(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2344,7 +2512,7 @@ static PyObject *_wrap_AnimationPlayer_Build(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_AnimationPlayer_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2369,7 +2537,7 @@ static PyObject *_wrap_AnimationPlayer_Stop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AnimationPlayer_Draw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxDC *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -2404,7 +2572,7 @@ static PyObject *_wrap_AnimationPlayer_Draw(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AnimationPlayer_GetFrameCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2423,7 +2591,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameCount(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2432,7 +2600,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameCount(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxImage *result; @@ -2446,7 +2614,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrame(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2466,7 +2634,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrame(PyObject *, PyObject *args, PyOb static PyObject *_wrap_AnimationPlayer_GetDisposalMethod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxAnimationDisposal result; @@ -2480,7 +2648,7 @@ static PyObject *_wrap_AnimationPlayer_GetDisposalMethod(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2498,7 +2666,7 @@ static PyObject *_wrap_AnimationPlayer_GetDisposalMethod(PyObject *, PyObject *a static PyObject *_wrap_AnimationPlayer_GetFrameRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxRect result; @@ -2512,7 +2680,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameRect(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2524,7 +2692,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameRect(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; @@ -2534,7 +2702,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameRect(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_GetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; int result; @@ -2548,7 +2716,7 @@ static PyObject *_wrap_AnimationPlayer_GetDelay(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2559,7 +2727,7 @@ static PyObject *_wrap_AnimationPlayer_GetDelay(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: @@ -2568,7 +2736,7 @@ static PyObject *_wrap_AnimationPlayer_GetDelay(PyObject *, PyObject *args, PyOb static PyObject *_wrap_AnimationPlayer_GetLogicalScreenSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -2588,7 +2756,7 @@ static PyObject *_wrap_AnimationPlayer_GetLogicalScreenSize(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; @@ -2598,7 +2766,7 @@ static PyObject *_wrap_AnimationPlayer_GetLogicalScreenSize(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -2633,7 +2801,7 @@ static PyObject *_wrap_AnimationPlayer_GetBackgroundColour(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_GetTransparentColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -2668,7 +2836,7 @@ static PyObject *_wrap_AnimationPlayer_GetTransparentColour(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_PlayFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxWindow *arg3 = 0 ; @@ -2687,7 +2855,7 @@ static PyObject *_wrap_AnimationPlayer_PlayFrame(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2719,7 +2887,7 @@ static PyObject *_wrap_AnimationPlayer_PlayFrame(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_PlayNextFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2747,7 +2915,7 @@ static PyObject *_wrap_AnimationPlayer_PlayNextFrame(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_DrawFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxDC *arg3 = 0 ; @@ -2765,7 +2933,7 @@ static PyObject *_wrap_AnimationPlayer_DrawFrame(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2795,7 +2963,7 @@ static PyObject *_wrap_AnimationPlayer_DrawFrame(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_DrawBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxDC *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -2844,7 +3012,7 @@ static PyObject *_wrap_AnimationPlayer_DrawBackground(PyObject *, PyObject *args static PyObject *_wrap_AnimationPlayer_ClearCache(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2869,7 +3037,7 @@ static PyObject *_wrap_AnimationPlayer_ClearCache(PyObject *, PyObject *args, Py static PyObject *_wrap_AnimationPlayer_SaveBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -2901,7 +3069,7 @@ static PyObject *_wrap_AnimationPlayer_SaveBackground(PyObject *, PyObject *args static PyObject *_wrap_AnimationPlayer_GetBackingStore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -2940,7 +3108,7 @@ static PyObject * AnimationPlayer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_delete_AnimationBase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2965,7 +3133,7 @@ static PyObject *_wrap_delete_AnimationBase(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AnimationBase_GetFrameCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2984,7 +3152,7 @@ static PyObject *_wrap_AnimationBase_GetFrameCount(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: @@ -2993,7 +3161,7 @@ static PyObject *_wrap_AnimationBase_GetFrameCount(PyObject *, PyObject *args, P static PyObject *_wrap_AnimationBase_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int arg2 ; wxImage *result; @@ -3007,7 +3175,7 @@ static PyObject *_wrap_AnimationBase_GetFrame(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3027,7 +3195,7 @@ static PyObject *_wrap_AnimationBase_GetFrame(PyObject *, PyObject *args, PyObje static PyObject *_wrap_AnimationBase_GetDisposalMethod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int arg2 ; wxAnimationDisposal result; @@ -3041,7 +3209,7 @@ static PyObject *_wrap_AnimationBase_GetDisposalMethod(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3059,7 +3227,7 @@ static PyObject *_wrap_AnimationBase_GetDisposalMethod(PyObject *, PyObject *arg static PyObject *_wrap_AnimationBase_GetFrameRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int arg2 ; wxRect result; @@ -3073,7 +3241,7 @@ static PyObject *_wrap_AnimationBase_GetFrameRect(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3085,7 +3253,7 @@ static PyObject *_wrap_AnimationBase_GetFrameRect(PyObject *, PyObject *args, Py } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -3095,7 +3263,7 @@ static PyObject *_wrap_AnimationBase_GetFrameRect(PyObject *, PyObject *args, Py static PyObject *_wrap_AnimationBase_GetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int arg2 ; int result; @@ -3109,7 +3277,7 @@ static PyObject *_wrap_AnimationBase_GetDelay(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3120,7 +3288,7 @@ static PyObject *_wrap_AnimationBase_GetDelay(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: @@ -3129,7 +3297,7 @@ static PyObject *_wrap_AnimationBase_GetDelay(PyObject *, PyObject *args, PyObje static PyObject *_wrap_AnimationBase_GetLogicalScreenSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -3149,7 +3317,7 @@ static PyObject *_wrap_AnimationBase_GetLogicalScreenSize(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; @@ -3159,7 +3327,7 @@ static PyObject *_wrap_AnimationBase_GetLogicalScreenSize(PyObject *, PyObject * static PyObject *_wrap_AnimationBase_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -3194,7 +3362,7 @@ static PyObject *_wrap_AnimationBase_GetBackgroundColour(PyObject *, PyObject *a static PyObject *_wrap_AnimationBase_GetTransparentColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -3229,7 +3397,7 @@ static PyObject *_wrap_AnimationBase_GetTransparentColour(PyObject *, PyObject * static PyObject *_wrap_AnimationBase_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3257,7 +3425,7 @@ static PyObject *_wrap_AnimationBase_IsValid(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_AnimationBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -3308,7 +3476,7 @@ static PyObject * AnimationBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GIFAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *result; char *kwnames[] = { NULL @@ -3330,7 +3498,7 @@ static PyObject *_wrap_new_GIFAnimation(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_delete_GIFAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3355,7 +3523,7 @@ static PyObject *_wrap_delete_GIFAnimation(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GIFAnimation_GetFrameCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3374,7 +3542,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameCount(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: @@ -3383,7 +3551,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameCount(PyObject *, PyObject *args, Py static PyObject *_wrap_GIFAnimation_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int arg2 ; wxImage *result; @@ -3397,7 +3565,7 @@ static PyObject *_wrap_GIFAnimation_GetFrame(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGIFAnimation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3417,7 +3585,7 @@ static PyObject *_wrap_GIFAnimation_GetFrame(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GIFAnimation_GetDisposalMethod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int arg2 ; wxAnimationDisposal result; @@ -3431,7 +3599,7 @@ static PyObject *_wrap_GIFAnimation_GetDisposalMethod(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGIFAnimation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3449,7 +3617,7 @@ static PyObject *_wrap_GIFAnimation_GetDisposalMethod(PyObject *, PyObject *args static PyObject *_wrap_GIFAnimation_GetFrameRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int arg2 ; wxRect result; @@ -3463,7 +3631,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameRect(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGIFAnimation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3475,7 +3643,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameRect(PyObject *, PyObject *args, PyO } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -3485,7 +3653,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameRect(PyObject *, PyObject *args, PyO static PyObject *_wrap_GIFAnimation_GetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int arg2 ; int result; @@ -3499,7 +3667,7 @@ static PyObject *_wrap_GIFAnimation_GetDelay(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGIFAnimation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3510,7 +3678,7 @@ static PyObject *_wrap_GIFAnimation_GetDelay(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: @@ -3519,7 +3687,7 @@ static PyObject *_wrap_GIFAnimation_GetDelay(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GIFAnimation_GetLogicalScreenSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -3539,7 +3707,7 @@ static PyObject *_wrap_GIFAnimation_GetLogicalScreenSize(PyObject *, PyObject *a } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3549,7 +3717,7 @@ static PyObject *_wrap_GIFAnimation_GetLogicalScreenSize(PyObject *, PyObject *a static PyObject *_wrap_GIFAnimation_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -3584,7 +3752,7 @@ static PyObject *_wrap_GIFAnimation_GetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_GIFAnimation_GetTransparentColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -3619,7 +3787,7 @@ static PyObject *_wrap_GIFAnimation_GetTransparentColour(PyObject *, PyObject *a static PyObject *_wrap_GIFAnimation_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3647,7 +3815,7 @@ static PyObject *_wrap_GIFAnimation_IsValid(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GIFAnimation_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; wxString *arg2 = 0 ; bool result; @@ -3698,7 +3866,7 @@ static PyObject * GIFAnimation_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GIFAnimationCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3731,7 +3899,7 @@ static PyObject *_wrap_new_GIFAnimationCtrl(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; } } @@ -3756,7 +3924,7 @@ static PyObject *_wrap_new_GIFAnimationCtrl(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; } } @@ -3799,7 +3967,7 @@ static PyObject *_wrap_new_GIFAnimationCtrl(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_PreGIFAnimationCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *result; char *kwnames[] = { NULL @@ -3822,7 +3990,7 @@ static PyObject *_wrap_new_PreGIFAnimationCtrl(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GIFAnimationCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3859,7 +4027,7 @@ static PyObject *_wrap_GIFAnimationCtrl_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; } } @@ -3884,7 +4052,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Create(PyObject *, PyObject *args, PyObj } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -3928,7 +4096,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Create(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GIFAnimationCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -3975,7 +4143,7 @@ static PyObject *_wrap_GIFAnimationCtrl_LoadFile(PyObject *, PyObject *args, PyO static PyObject *_wrap_GIFAnimationCtrl_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; bool arg2 = (bool) true ; bool result; @@ -3990,7 +4158,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Play(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4011,7 +4179,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Play(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GIFAnimationCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4036,7 +4204,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Stop(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GIFAnimationCtrl_FitToAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4061,7 +4229,7 @@ static PyObject *_wrap_GIFAnimationCtrl_FitToAnimation(PyObject *, PyObject *arg static PyObject *_wrap_GIFAnimationCtrl_IsPlaying(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4089,7 +4257,7 @@ static PyObject *_wrap_GIFAnimationCtrl_IsPlaying(PyObject *, PyObject *args, Py static PyObject *_wrap_GIFAnimationCtrl_GetPlayer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxAnimationPlayer *result; PyObject * obj0 = 0 ; @@ -4118,7 +4286,7 @@ static PyObject *_wrap_GIFAnimationCtrl_GetPlayer(PyObject *, PyObject *args, Py static PyObject *_wrap_GIFAnimationCtrl_GetAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxAnimationBase *result; PyObject * obj0 = 0 ; @@ -4144,7 +4312,7 @@ static PyObject *_wrap_GIFAnimationCtrl_GetAnimation(PyObject *, PyObject *args, static PyObject *_wrap_GIFAnimationCtrl_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -4179,7 +4347,7 @@ static PyObject *_wrap_GIFAnimationCtrl_GetFilename(PyObject *, PyObject *args, static PyObject *_wrap_GIFAnimationCtrl_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4602,59 +4770,404 @@ static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { static void *_p_wxGIFAnimationCtrlTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxGIFAnimationCtrl *) x)); } -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_wxGIFAnimationCtrl[] = {{"_p_wxGIFAnimationCtrl", 0, "wxGIFAnimationCtrl *", 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAnimationBase", _p_wxAnimationBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAnimationPlayer", _p_wxAnimationPlayerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFAnimation", _p_wxGIFAnimationTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", _p_wxGIFAnimationCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxAnimationPlayer[] = {{"_p_wxAnimationPlayer", 0, "wxAnimationPlayer *", 0, 0, 0, 0},{"_p_wxAnimationPlayer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", _p_wxGIFAnimationCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_wxGIFAnimation[] = {{"_p_wxGIFAnimation", 0, "wxGIFAnimation *", 0, 0, 0, 0},{"_p_wxGIFAnimation", 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_wxAnimationBase[] = {{"_p_wxAnimationBase", 0, "wxAnimationBase *", 0, 0, 0, 0},{"_p_wxAnimationBase", 0, 0, 0, 0, 0, 0},{"_p_wxGIFAnimation", _p_wxGIFAnimationTo_p_wxAnimationBase, 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_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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", _p_wxGIFAnimationCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", _p_wxGIFAnimationCtrlTo_p_wxControl, 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_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_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxRect, -_swigt__p_wxGIFAnimationCtrl, -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxColour, -_swigt__p_wxAnimationPlayer, -_swigt__p_wxWindow, -_swigt__p_unsigned_long, -_swigt__p_wxBitmap, -_swigt__p_form_ops_t, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxDuplexMode, -_swigt__p_wxGIFAnimation, -_swigt__p_char, -_swigt__p_wxAnimationBase, -_swigt__p_wxPoint, -_swigt__p_wxDC, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxControl, -_swigt__p_wxPaperSize, -_swigt__p_wxSize, -_swigt__p_int, -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 *|wxEventType *", 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_wxAnimationBase = {"_p_wxAnimationBase", "wxAnimationBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAnimationPlayer = {"_p_wxAnimationPlayer", "wxAnimationPlayer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFAnimation = {"_p_wxGIFAnimation", "wxGIFAnimation *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFAnimationCtrl = {"_p_wxGIFAnimationCtrl", "wxGIFAnimationCtrl *", 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_wxScrollEvent = {"_p_wxScrollEvent", 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_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 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_wxInitDialogEvent = {"_p_wxInitDialogEvent", 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_wxSetCursorEvent = {"_p_wxSetCursorEvent", 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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 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_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_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 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_wxAnimationBase, + &_swigt__p_wxAnimationPlayer, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFAnimation, + &_swigt__p_wxGIFAnimationCtrl, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_wxAnimationBase[] = { {&_swigt__p_wxAnimationBase, 0, 0, 0}, {&_swigt__p_wxGIFAnimation, _p_wxGIFAnimationTo_p_wxAnimationBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAnimationPlayer[] = { {&_swigt__p_wxAnimationPlayer, 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_wxColour[] = { {&_swigt__p_wxColour, 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_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl, _p_wxGIFAnimationCtrlTo_p_wxControl, 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_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl, _p_wxGIFAnimationCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFAnimation[] = { {&_swigt__p_wxGIFAnimation, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFAnimationCtrl[] = { {&_swigt__p_wxGIFAnimationCtrl, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = {{&_swigt__p_wxEvent, 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_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 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_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 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_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 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_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_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 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_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 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_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 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_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 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_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxAnimationBase, _p_wxAnimationBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxAnimationPlayer, _p_wxAnimationPlayerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFAnimation, _p_wxGIFAnimationTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl, _p_wxGIFAnimationCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 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_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl, _p_wxGIFAnimationCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_wxAnimationBase, + _swigc__p_wxAnimationPlayer, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFAnimation, + _swigc__p_wxGIFAnimationCtrl, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -4666,6 +5179,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 @@ -4683,7 +5407,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; @@ -4693,13 +5417,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; @@ -4712,7 +5436,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -4725,7 +5449,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) { @@ -4738,72 +5462,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; } @@ -4812,11 +5553,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); @@ -4853,7 +5594,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, @@ -4865,7 +5606,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]); @@ -4878,14 +5619,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; + } + } } } } @@ -4895,69 +5640,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 @@ -4966,60 +5648,39 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"AnimationControlNameStr",_wrap_AnimationControlNameStr_get, _wrap_AnimationControlNameStr_set); { - PyDict_SetItemString(d,"ANIM_UNSPECIFIED", SWIG_From_int((int)(wxANIM_UNSPECIFIED))); + PyDict_SetItemString(d,"ANIM_UNSPECIFIED", SWIG_From_int(static_cast(wxANIM_UNSPECIFIED))); } { - PyDict_SetItemString(d,"ANIM_DONOTREMOVE", SWIG_From_int((int)(wxANIM_DONOTREMOVE))); + PyDict_SetItemString(d,"ANIM_DONOTREMOVE", SWIG_From_int(static_cast(wxANIM_DONOTREMOVE))); } { - PyDict_SetItemString(d,"ANIM_TOBACKGROUND", SWIG_From_int((int)(wxANIM_TOBACKGROUND))); + PyDict_SetItemString(d,"ANIM_TOBACKGROUND", SWIG_From_int(static_cast(wxANIM_TOBACKGROUND))); } { - PyDict_SetItemString(d,"ANIM_TOPREVIOUS", SWIG_From_int((int)(wxANIM_TOPREVIOUS))); + PyDict_SetItemString(d,"ANIM_TOPREVIOUS", SWIG_From_int(static_cast(wxANIM_TOPREVIOUS))); } { - PyDict_SetItemString(d,"AN_FIT_ANIMATION", SWIG_From_int((int)(wxAN_FIT_ANIMATION))); + PyDict_SetItemString(d,"AN_FIT_ANIMATION", SWIG_From_int(static_cast(wxAN_FIT_ANIMATION))); } } diff --git a/wxPython/contrib/animate/mac/animate.py b/wxPython/contrib/animate/mac/animate.py index 8365363811..f93cbce7e4 100644 --- a/wxPython/contrib/animate/mac/animate.py +++ b/wxPython/contrib/animate/mac/animate.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -444,3 +444,4 @@ def PreGIFAnimationCtrl(*args, **kwargs): return val + diff --git a/wxPython/contrib/animate/mac/animate_wrap.cpp b/wxPython/contrib/animate/mac/animate_wrap.cpp index 1b21d6003f..2aef6fbcbd 100644 --- a/wxPython/contrib/animate/mac/animate_wrap.cpp +++ b/wxPython/contrib/animate/mac/animate_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,32 +1431,108 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxRect swig_types[0] -#define SWIGTYPE_p_wxGIFAnimationCtrl swig_types[1] -#define SWIGTYPE_p_wxObject swig_types[2] -#define SWIGTYPE_p_unsigned_char swig_types[3] -#define SWIGTYPE_p_wxColour swig_types[4] -#define SWIGTYPE_p_wxAnimationPlayer swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_unsigned_long swig_types[7] -#define SWIGTYPE_p_wxBitmap swig_types[8] -#define SWIGTYPE_p_form_ops_t swig_types[9] -#define SWIGTYPE_p_unsigned_int swig_types[10] -#define SWIGTYPE_unsigned_int swig_types[11] -#define SWIGTYPE_p_wxDuplexMode swig_types[12] -#define SWIGTYPE_p_wxGIFAnimation swig_types[13] -#define SWIGTYPE_p_char swig_types[14] -#define SWIGTYPE_p_wxAnimationBase swig_types[15] -#define SWIGTYPE_p_wxPoint swig_types[16] -#define SWIGTYPE_p_wxDC swig_types[17] -#define SWIGTYPE_p_wxEvtHandler swig_types[18] -#define SWIGTYPE_std__ptrdiff_t swig_types[19] -#define SWIGTYPE_ptrdiff_t swig_types[20] -#define SWIGTYPE_p_wxControl swig_types[21] -#define SWIGTYPE_p_wxPaperSize swig_types[22] -#define SWIGTYPE_p_wxSize swig_types[23] -#define SWIGTYPE_p_int swig_types[24] -static swig_type_info *swig_types[26]; +#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_wxAnimationBase swig_types[9] +#define SWIGTYPE_p_wxAnimationPlayer swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_wxBitmap swig_types[12] +#define SWIGTYPE_p_wxBoxSizer swig_types[13] +#define SWIGTYPE_p_wxCURHandler 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_wxCommandEvent swig_types[18] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[19] +#define SWIGTYPE_p_wxControl swig_types[20] +#define SWIGTYPE_p_wxControlWithItems swig_types[21] +#define SWIGTYPE_p_wxDC swig_types[22] +#define SWIGTYPE_p_wxDateEvent swig_types[23] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[25] +#define SWIGTYPE_p_wxDuplexMode swig_types[26] +#define SWIGTYPE_p_wxEraseEvent swig_types[27] +#define SWIGTYPE_p_wxEvent swig_types[28] +#define SWIGTYPE_p_wxEvtHandler swig_types[29] +#define SWIGTYPE_p_wxFSFile swig_types[30] +#define SWIGTYPE_p_wxFileSystem swig_types[31] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[32] +#define SWIGTYPE_p_wxFocusEvent swig_types[33] +#define SWIGTYPE_p_wxGBSizerItem swig_types[34] +#define SWIGTYPE_p_wxGIFAnimation swig_types[35] +#define SWIGTYPE_p_wxGIFAnimationCtrl swig_types[36] +#define SWIGTYPE_p_wxGIFHandler swig_types[37] +#define SWIGTYPE_p_wxGridBagSizer swig_types[38] +#define SWIGTYPE_p_wxGridSizer swig_types[39] +#define SWIGTYPE_p_wxICOHandler swig_types[40] +#define SWIGTYPE_p_wxIconizeEvent swig_types[41] +#define SWIGTYPE_p_wxIdleEvent swig_types[42] +#define SWIGTYPE_p_wxImage swig_types[43] +#define SWIGTYPE_p_wxImageHandler swig_types[44] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[45] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[46] +#define SWIGTYPE_p_wxJPEGHandler swig_types[47] +#define SWIGTYPE_p_wxKeyEvent swig_types[48] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[49] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[50] +#define SWIGTYPE_p_wxMenu swig_types[51] +#define SWIGTYPE_p_wxMenuBar swig_types[52] +#define SWIGTYPE_p_wxMenuEvent swig_types[53] +#define SWIGTYPE_p_wxMenuItem swig_types[54] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[55] +#define SWIGTYPE_p_wxMouseEvent swig_types[56] +#define SWIGTYPE_p_wxMoveEvent swig_types[57] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[58] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[59] +#define SWIGTYPE_p_wxNotifyEvent swig_types[60] +#define SWIGTYPE_p_wxObject swig_types[61] +#define SWIGTYPE_p_wxPCXHandler swig_types[62] +#define SWIGTYPE_p_wxPNGHandler swig_types[63] +#define SWIGTYPE_p_wxPNMHandler swig_types[64] +#define SWIGTYPE_p_wxPaintEvent swig_types[65] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[66] +#define SWIGTYPE_p_wxPaperSize swig_types[67] +#define SWIGTYPE_p_wxPoint swig_types[68] +#define SWIGTYPE_p_wxPyApp swig_types[69] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[70] +#define SWIGTYPE_p_wxPyEvent swig_types[71] +#define SWIGTYPE_p_wxPyImageHandler swig_types[72] +#define SWIGTYPE_p_wxPySizer swig_types[73] +#define SWIGTYPE_p_wxPyValidator swig_types[74] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[75] +#define SWIGTYPE_p_wxRect swig_types[76] +#define SWIGTYPE_p_wxScrollEvent swig_types[77] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[78] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[79] +#define SWIGTYPE_p_wxShowEvent swig_types[80] +#define SWIGTYPE_p_wxSize swig_types[81] +#define SWIGTYPE_p_wxSizeEvent swig_types[82] +#define SWIGTYPE_p_wxSizer swig_types[83] +#define SWIGTYPE_p_wxSizerItem swig_types[84] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[85] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[86] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[87] +#define SWIGTYPE_p_wxTIFFHandler swig_types[88] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[89] +#define SWIGTYPE_p_wxValidator swig_types[90] +#define SWIGTYPE_p_wxWindow swig_types[91] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[92] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93] +#define SWIGTYPE_p_wxXPMHandler swig_types[94] +#define SWIGTYPE_ptrdiff_t swig_types[95] +#define SWIGTYPE_std__ptrdiff_t swig_types[96] +#define SWIGTYPE_unsigned_int swig_types[97] +static swig_type_info *swig_types[99]; +static swig_module_info swig_module = {swig_types, 98, 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) -------- */ @@ -1383,7 +1551,7 @@ static swig_type_info *swig_types[26]; static const wxString wxPyAnimationControlNameStr(wxT("animationControl")); static const wxString wxPyEmptyString(wxEmptyString); - /*@/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 /*@@*/ @@ -1436,7 +1604,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; @@ -1450,7 +1618,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1483,7 +1651,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1497,14 +1665,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1518,14 +1686,14 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1539,7 +1707,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1555,7 +1723,7 @@ static int _wrap_AnimationControlNameStr_set(PyObject *) { static PyObject *_wrap_AnimationControlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1569,7 +1737,7 @@ static PyObject *_wrap_AnimationControlNameStr_get(void) { static PyObject *_wrap_new_AnimationPlayer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) NULL ; bool arg2 = (bool) false ; wxAnimationPlayer *result; @@ -1586,7 +1754,7 @@ static PyObject *_wrap_new_AnimationPlayer(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -1605,7 +1773,7 @@ static PyObject *_wrap_new_AnimationPlayer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_AnimationPlayer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1630,7 +1798,7 @@ static PyObject *_wrap_delete_AnimationPlayer(PyObject *, PyObject *args, PyObje static PyObject *_wrap_AnimationPlayer_SetAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxAnimationBase *arg2 = (wxAnimationBase *) 0 ; bool arg3 = (bool) false ; @@ -1648,7 +1816,7 @@ static PyObject *_wrap_AnimationPlayer_SetAnimation(PyObject *, PyObject *args, 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; } } @@ -1667,7 +1835,7 @@ static PyObject *_wrap_AnimationPlayer_SetAnimation(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_GetAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxAnimationBase *result; PyObject * obj0 = 0 ; @@ -1693,7 +1861,7 @@ static PyObject *_wrap_AnimationPlayer_GetAnimation(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_SetDestroyAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -1706,7 +1874,7 @@ static PyObject *_wrap_AnimationPlayer_SetDestroyAnimation(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, 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; } { @@ -1724,7 +1892,7 @@ static PyObject *_wrap_AnimationPlayer_SetDestroyAnimation(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_GetDestroyAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1752,7 +1920,7 @@ static PyObject *_wrap_AnimationPlayer_GetDestroyAnimation(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_SetCurrentFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -1765,7 +1933,7 @@ static PyObject *_wrap_AnimationPlayer_SetCurrentFrame(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -1783,7 +1951,7 @@ static PyObject *_wrap_AnimationPlayer_SetCurrentFrame(PyObject *, PyObject *arg static PyObject *_wrap_AnimationPlayer_GetCurrentFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -1802,7 +1970,7 @@ static PyObject *_wrap_AnimationPlayer_GetCurrentFrame(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -1811,7 +1979,7 @@ static PyObject *_wrap_AnimationPlayer_GetCurrentFrame(PyObject *, PyObject *arg static PyObject *_wrap_AnimationPlayer_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -1840,7 +2008,7 @@ static PyObject *_wrap_AnimationPlayer_SetWindow(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -1868,7 +2036,7 @@ static PyObject *_wrap_AnimationPlayer_GetWindow(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -1900,7 +2068,7 @@ static PyObject *_wrap_AnimationPlayer_SetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_AnimationPlayer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -1920,7 +2088,7 @@ static PyObject *_wrap_AnimationPlayer_GetPosition(PyObject *, PyObject *args, 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; @@ -1930,7 +2098,7 @@ static PyObject *_wrap_AnimationPlayer_GetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_AnimationPlayer_SetLooped(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -1943,7 +2111,7 @@ static PyObject *_wrap_AnimationPlayer_SetLooped(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, 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; } { @@ -1961,7 +2129,7 @@ static PyObject *_wrap_AnimationPlayer_SetLooped(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_GetLooped(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1989,7 +2157,7 @@ static PyObject *_wrap_AnimationPlayer_GetLooped(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_HasAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2017,7 +2185,7 @@ static PyObject *_wrap_AnimationPlayer_HasAnimation(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_IsPlaying(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2045,7 +2213,7 @@ static PyObject *_wrap_AnimationPlayer_IsPlaying(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_UseBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2058,7 +2226,7 @@ static PyObject *_wrap_AnimationPlayer_UseBackgroundColour(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, 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; } { @@ -2076,7 +2244,7 @@ static PyObject *_wrap_AnimationPlayer_UseBackgroundColour(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_UsingBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2104,7 +2272,7 @@ static PyObject *_wrap_AnimationPlayer_UsingBackgroundColour(PyObject *, PyObjec static PyObject *_wrap_AnimationPlayer_SetCustomBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxColour *arg2 = 0 ; bool arg3 = (bool) true ; @@ -2125,7 +2293,7 @@ static PyObject *_wrap_AnimationPlayer_SetCustomBackgroundColour(PyObject *, PyO } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -2144,7 +2312,7 @@ static PyObject *_wrap_AnimationPlayer_SetCustomBackgroundColour(PyObject *, PyO static PyObject *_wrap_AnimationPlayer_UsingCustomBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2172,7 +2340,7 @@ static PyObject *_wrap_AnimationPlayer_UsingCustomBackgroundColour(PyObject *, P static PyObject *_wrap_AnimationPlayer_GetCustomBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -2201,7 +2369,7 @@ static PyObject *_wrap_AnimationPlayer_GetCustomBackgroundColour(PyObject *, PyO static PyObject *_wrap_AnimationPlayer_UseParentBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2214,7 +2382,7 @@ static PyObject *_wrap_AnimationPlayer_UseParentBackground(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, 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; } { @@ -2232,7 +2400,7 @@ static PyObject *_wrap_AnimationPlayer_UseParentBackground(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_UsingParentBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2260,7 +2428,7 @@ static PyObject *_wrap_AnimationPlayer_UsingParentBackground(PyObject *, PyObjec static PyObject *_wrap_AnimationPlayer_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxWindow *arg2 = 0 ; wxPoint const &arg3_defvalue = wxPoint(0, 0) ; @@ -2295,7 +2463,7 @@ static PyObject *_wrap_AnimationPlayer_Play(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -2316,7 +2484,7 @@ static PyObject *_wrap_AnimationPlayer_Play(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AnimationPlayer_Build(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2344,7 +2512,7 @@ static PyObject *_wrap_AnimationPlayer_Build(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_AnimationPlayer_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2369,7 +2537,7 @@ static PyObject *_wrap_AnimationPlayer_Stop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AnimationPlayer_Draw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxDC *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -2404,7 +2572,7 @@ static PyObject *_wrap_AnimationPlayer_Draw(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AnimationPlayer_GetFrameCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2423,7 +2591,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameCount(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2432,7 +2600,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameCount(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxImage *result; @@ -2446,7 +2614,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrame(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2466,7 +2634,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrame(PyObject *, PyObject *args, PyOb static PyObject *_wrap_AnimationPlayer_GetDisposalMethod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxAnimationDisposal result; @@ -2480,7 +2648,7 @@ static PyObject *_wrap_AnimationPlayer_GetDisposalMethod(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2498,7 +2666,7 @@ static PyObject *_wrap_AnimationPlayer_GetDisposalMethod(PyObject *, PyObject *a static PyObject *_wrap_AnimationPlayer_GetFrameRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxRect result; @@ -2512,7 +2680,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameRect(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2524,7 +2692,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameRect(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; @@ -2534,7 +2702,7 @@ static PyObject *_wrap_AnimationPlayer_GetFrameRect(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_GetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; int result; @@ -2548,7 +2716,7 @@ static PyObject *_wrap_AnimationPlayer_GetDelay(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2559,7 +2727,7 @@ static PyObject *_wrap_AnimationPlayer_GetDelay(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: @@ -2568,7 +2736,7 @@ static PyObject *_wrap_AnimationPlayer_GetDelay(PyObject *, PyObject *args, PyOb static PyObject *_wrap_AnimationPlayer_GetLogicalScreenSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -2588,7 +2756,7 @@ static PyObject *_wrap_AnimationPlayer_GetLogicalScreenSize(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; @@ -2598,7 +2766,7 @@ static PyObject *_wrap_AnimationPlayer_GetLogicalScreenSize(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -2633,7 +2801,7 @@ static PyObject *_wrap_AnimationPlayer_GetBackgroundColour(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_GetTransparentColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -2668,7 +2836,7 @@ static PyObject *_wrap_AnimationPlayer_GetTransparentColour(PyObject *, PyObject static PyObject *_wrap_AnimationPlayer_PlayFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxWindow *arg3 = 0 ; @@ -2687,7 +2855,7 @@ static PyObject *_wrap_AnimationPlayer_PlayFrame(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2719,7 +2887,7 @@ static PyObject *_wrap_AnimationPlayer_PlayFrame(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_PlayNextFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2747,7 +2915,7 @@ static PyObject *_wrap_AnimationPlayer_PlayNextFrame(PyObject *, PyObject *args, static PyObject *_wrap_AnimationPlayer_DrawFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; int arg2 ; wxDC *arg3 = 0 ; @@ -2765,7 +2933,7 @@ static PyObject *_wrap_AnimationPlayer_DrawFrame(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationPlayer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2795,7 +2963,7 @@ static PyObject *_wrap_AnimationPlayer_DrawFrame(PyObject *, PyObject *args, PyO static PyObject *_wrap_AnimationPlayer_DrawBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxDC *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -2844,7 +3012,7 @@ static PyObject *_wrap_AnimationPlayer_DrawBackground(PyObject *, PyObject *args static PyObject *_wrap_AnimationPlayer_ClearCache(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2869,7 +3037,7 @@ static PyObject *_wrap_AnimationPlayer_ClearCache(PyObject *, PyObject *args, Py static PyObject *_wrap_AnimationPlayer_SaveBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -2901,7 +3069,7 @@ static PyObject *_wrap_AnimationPlayer_SaveBackground(PyObject *, PyObject *args static PyObject *_wrap_AnimationPlayer_GetBackingStore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationPlayer *arg1 = (wxAnimationPlayer *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -2940,7 +3108,7 @@ static PyObject * AnimationPlayer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_delete_AnimationBase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2965,7 +3133,7 @@ static PyObject *_wrap_delete_AnimationBase(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AnimationBase_GetFrameCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2984,7 +3152,7 @@ static PyObject *_wrap_AnimationBase_GetFrameCount(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: @@ -2993,7 +3161,7 @@ static PyObject *_wrap_AnimationBase_GetFrameCount(PyObject *, PyObject *args, P static PyObject *_wrap_AnimationBase_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int arg2 ; wxImage *result; @@ -3007,7 +3175,7 @@ static PyObject *_wrap_AnimationBase_GetFrame(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3027,7 +3195,7 @@ static PyObject *_wrap_AnimationBase_GetFrame(PyObject *, PyObject *args, PyObje static PyObject *_wrap_AnimationBase_GetDisposalMethod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int arg2 ; wxAnimationDisposal result; @@ -3041,7 +3209,7 @@ static PyObject *_wrap_AnimationBase_GetDisposalMethod(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3059,7 +3227,7 @@ static PyObject *_wrap_AnimationBase_GetDisposalMethod(PyObject *, PyObject *arg static PyObject *_wrap_AnimationBase_GetFrameRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int arg2 ; wxRect result; @@ -3073,7 +3241,7 @@ static PyObject *_wrap_AnimationBase_GetFrameRect(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3085,7 +3253,7 @@ static PyObject *_wrap_AnimationBase_GetFrameRect(PyObject *, PyObject *args, Py } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -3095,7 +3263,7 @@ static PyObject *_wrap_AnimationBase_GetFrameRect(PyObject *, PyObject *args, Py static PyObject *_wrap_AnimationBase_GetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; int arg2 ; int result; @@ -3109,7 +3277,7 @@ static PyObject *_wrap_AnimationBase_GetDelay(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAnimationBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3120,7 +3288,7 @@ static PyObject *_wrap_AnimationBase_GetDelay(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: @@ -3129,7 +3297,7 @@ static PyObject *_wrap_AnimationBase_GetDelay(PyObject *, PyObject *args, PyObje static PyObject *_wrap_AnimationBase_GetLogicalScreenSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -3149,7 +3317,7 @@ static PyObject *_wrap_AnimationBase_GetLogicalScreenSize(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; @@ -3159,7 +3327,7 @@ static PyObject *_wrap_AnimationBase_GetLogicalScreenSize(PyObject *, PyObject * static PyObject *_wrap_AnimationBase_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -3194,7 +3362,7 @@ static PyObject *_wrap_AnimationBase_GetBackgroundColour(PyObject *, PyObject *a static PyObject *_wrap_AnimationBase_GetTransparentColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -3229,7 +3397,7 @@ static PyObject *_wrap_AnimationBase_GetTransparentColour(PyObject *, PyObject * static PyObject *_wrap_AnimationBase_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3257,7 +3425,7 @@ static PyObject *_wrap_AnimationBase_IsValid(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_AnimationBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAnimationBase *arg1 = (wxAnimationBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -3308,7 +3476,7 @@ static PyObject * AnimationBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GIFAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *result; char *kwnames[] = { NULL @@ -3330,7 +3498,7 @@ static PyObject *_wrap_new_GIFAnimation(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_delete_GIFAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3355,7 +3523,7 @@ static PyObject *_wrap_delete_GIFAnimation(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GIFAnimation_GetFrameCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3374,7 +3542,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameCount(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: @@ -3383,7 +3551,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameCount(PyObject *, PyObject *args, Py static PyObject *_wrap_GIFAnimation_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int arg2 ; wxImage *result; @@ -3397,7 +3565,7 @@ static PyObject *_wrap_GIFAnimation_GetFrame(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGIFAnimation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3417,7 +3585,7 @@ static PyObject *_wrap_GIFAnimation_GetFrame(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GIFAnimation_GetDisposalMethod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int arg2 ; wxAnimationDisposal result; @@ -3431,7 +3599,7 @@ static PyObject *_wrap_GIFAnimation_GetDisposalMethod(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGIFAnimation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3449,7 +3617,7 @@ static PyObject *_wrap_GIFAnimation_GetDisposalMethod(PyObject *, PyObject *args static PyObject *_wrap_GIFAnimation_GetFrameRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int arg2 ; wxRect result; @@ -3463,7 +3631,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameRect(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGIFAnimation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3475,7 +3643,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameRect(PyObject *, PyObject *args, PyO } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -3485,7 +3653,7 @@ static PyObject *_wrap_GIFAnimation_GetFrameRect(PyObject *, PyObject *args, PyO static PyObject *_wrap_GIFAnimation_GetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; int arg2 ; int result; @@ -3499,7 +3667,7 @@ static PyObject *_wrap_GIFAnimation_GetDelay(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGIFAnimation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3510,7 +3678,7 @@ static PyObject *_wrap_GIFAnimation_GetDelay(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: @@ -3519,7 +3687,7 @@ static PyObject *_wrap_GIFAnimation_GetDelay(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GIFAnimation_GetLogicalScreenSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -3539,7 +3707,7 @@ static PyObject *_wrap_GIFAnimation_GetLogicalScreenSize(PyObject *, PyObject *a } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3549,7 +3717,7 @@ static PyObject *_wrap_GIFAnimation_GetLogicalScreenSize(PyObject *, PyObject *a static PyObject *_wrap_GIFAnimation_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -3584,7 +3752,7 @@ static PyObject *_wrap_GIFAnimation_GetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_GIFAnimation_GetTransparentColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -3619,7 +3787,7 @@ static PyObject *_wrap_GIFAnimation_GetTransparentColour(PyObject *, PyObject *a static PyObject *_wrap_GIFAnimation_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3647,7 +3815,7 @@ static PyObject *_wrap_GIFAnimation_IsValid(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GIFAnimation_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimation *arg1 = (wxGIFAnimation *) 0 ; wxString *arg2 = 0 ; bool result; @@ -3698,7 +3866,7 @@ static PyObject * GIFAnimation_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GIFAnimationCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3731,7 +3899,7 @@ static PyObject *_wrap_new_GIFAnimationCtrl(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; } } @@ -3756,7 +3924,7 @@ static PyObject *_wrap_new_GIFAnimationCtrl(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; } } @@ -3799,7 +3967,7 @@ static PyObject *_wrap_new_GIFAnimationCtrl(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_PreGIFAnimationCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *result; char *kwnames[] = { NULL @@ -3822,7 +3990,7 @@ static PyObject *_wrap_new_PreGIFAnimationCtrl(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GIFAnimationCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3859,7 +4027,7 @@ static PyObject *_wrap_GIFAnimationCtrl_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; } } @@ -3884,7 +4052,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Create(PyObject *, PyObject *args, PyObj } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -3928,7 +4096,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Create(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GIFAnimationCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -3975,7 +4143,7 @@ static PyObject *_wrap_GIFAnimationCtrl_LoadFile(PyObject *, PyObject *args, PyO static PyObject *_wrap_GIFAnimationCtrl_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; bool arg2 = (bool) true ; bool result; @@ -3990,7 +4158,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Play(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4011,7 +4179,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Play(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GIFAnimationCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4036,7 +4204,7 @@ static PyObject *_wrap_GIFAnimationCtrl_Stop(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GIFAnimationCtrl_FitToAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4061,7 +4229,7 @@ static PyObject *_wrap_GIFAnimationCtrl_FitToAnimation(PyObject *, PyObject *arg static PyObject *_wrap_GIFAnimationCtrl_IsPlaying(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4089,7 +4257,7 @@ static PyObject *_wrap_GIFAnimationCtrl_IsPlaying(PyObject *, PyObject *args, Py static PyObject *_wrap_GIFAnimationCtrl_GetPlayer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxAnimationPlayer *result; PyObject * obj0 = 0 ; @@ -4118,7 +4286,7 @@ static PyObject *_wrap_GIFAnimationCtrl_GetPlayer(PyObject *, PyObject *args, Py static PyObject *_wrap_GIFAnimationCtrl_GetAnimation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxAnimationBase *result; PyObject * obj0 = 0 ; @@ -4144,7 +4312,7 @@ static PyObject *_wrap_GIFAnimationCtrl_GetAnimation(PyObject *, PyObject *args, static PyObject *_wrap_GIFAnimationCtrl_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -4179,7 +4347,7 @@ static PyObject *_wrap_GIFAnimationCtrl_GetFilename(PyObject *, PyObject *args, static PyObject *_wrap_GIFAnimationCtrl_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFAnimationCtrl *arg1 = (wxGIFAnimationCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4602,59 +4770,404 @@ static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { static void *_p_wxGIFAnimationCtrlTo_p_wxControl(void *x) { return (void *)((wxControl *) ((wxGIFAnimationCtrl *) x)); } -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_wxGIFAnimationCtrl[] = {{"_p_wxGIFAnimationCtrl", 0, "wxGIFAnimationCtrl *", 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAnimationBase", _p_wxAnimationBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAnimationPlayer", _p_wxAnimationPlayerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFAnimation", _p_wxGIFAnimationTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", _p_wxGIFAnimationCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxAnimationPlayer[] = {{"_p_wxAnimationPlayer", 0, "wxAnimationPlayer *", 0, 0, 0, 0},{"_p_wxAnimationPlayer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", _p_wxGIFAnimationCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_wxGIFAnimation[] = {{"_p_wxGIFAnimation", 0, "wxGIFAnimation *", 0, 0, 0, 0},{"_p_wxGIFAnimation", 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_wxAnimationBase[] = {{"_p_wxAnimationBase", 0, "wxAnimationBase *", 0, 0, 0, 0},{"_p_wxAnimationBase", 0, 0, 0, 0, 0, 0},{"_p_wxGIFAnimation", _p_wxGIFAnimationTo_p_wxAnimationBase, 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_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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", _p_wxGIFAnimationCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGIFAnimationCtrl", _p_wxGIFAnimationCtrlTo_p_wxControl, 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_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_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxRect, -_swigt__p_wxGIFAnimationCtrl, -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxColour, -_swigt__p_wxAnimationPlayer, -_swigt__p_wxWindow, -_swigt__p_unsigned_long, -_swigt__p_wxBitmap, -_swigt__p_form_ops_t, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxDuplexMode, -_swigt__p_wxGIFAnimation, -_swigt__p_char, -_swigt__p_wxAnimationBase, -_swigt__p_wxPoint, -_swigt__p_wxDC, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxControl, -_swigt__p_wxPaperSize, -_swigt__p_wxSize, -_swigt__p_int, -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 *|wxEventType *", 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_wxAnimationBase = {"_p_wxAnimationBase", "wxAnimationBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAnimationPlayer = {"_p_wxAnimationPlayer", "wxAnimationPlayer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFAnimation = {"_p_wxGIFAnimation", "wxGIFAnimation *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFAnimationCtrl = {"_p_wxGIFAnimationCtrl", "wxGIFAnimationCtrl *", 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_wxScrollEvent = {"_p_wxScrollEvent", 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_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 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_wxInitDialogEvent = {"_p_wxInitDialogEvent", 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_wxSetCursorEvent = {"_p_wxSetCursorEvent", 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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 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_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_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 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_wxAnimationBase, + &_swigt__p_wxAnimationPlayer, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFAnimation, + &_swigt__p_wxGIFAnimationCtrl, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_wxAnimationBase[] = { {&_swigt__p_wxAnimationBase, 0, 0, 0}, {&_swigt__p_wxGIFAnimation, _p_wxGIFAnimationTo_p_wxAnimationBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAnimationPlayer[] = { {&_swigt__p_wxAnimationPlayer, 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_wxColour[] = { {&_swigt__p_wxColour, 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_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl, _p_wxGIFAnimationCtrlTo_p_wxControl, 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_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl, _p_wxGIFAnimationCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFAnimation[] = { {&_swigt__p_wxGIFAnimation, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFAnimationCtrl[] = { {&_swigt__p_wxGIFAnimationCtrl, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = {{&_swigt__p_wxEvent, 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_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 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_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 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_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 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_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_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 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_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 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_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 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_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 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_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxAnimationBase, _p_wxAnimationBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxAnimationPlayer, _p_wxAnimationPlayerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFAnimation, _p_wxGIFAnimationTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl, _p_wxGIFAnimationCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 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_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGIFAnimationCtrl, _p_wxGIFAnimationCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_wxAnimationBase, + _swigc__p_wxAnimationPlayer, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFAnimation, + _swigc__p_wxGIFAnimationCtrl, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -4666,6 +5179,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 @@ -4683,7 +5407,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; @@ -4693,13 +5417,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; @@ -4712,7 +5436,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -4725,7 +5449,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) { @@ -4738,72 +5462,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; } @@ -4812,11 +5553,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); @@ -4853,7 +5594,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, @@ -4865,7 +5606,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]); @@ -4878,14 +5619,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; + } + } } } } @@ -4895,69 +5640,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 @@ -4966,60 +5648,39 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"AnimationControlNameStr",_wrap_AnimationControlNameStr_get, _wrap_AnimationControlNameStr_set); { - PyDict_SetItemString(d,"ANIM_UNSPECIFIED", SWIG_From_int((int)(wxANIM_UNSPECIFIED))); + PyDict_SetItemString(d,"ANIM_UNSPECIFIED", SWIG_From_int(static_cast(wxANIM_UNSPECIFIED))); } { - PyDict_SetItemString(d,"ANIM_DONOTREMOVE", SWIG_From_int((int)(wxANIM_DONOTREMOVE))); + PyDict_SetItemString(d,"ANIM_DONOTREMOVE", SWIG_From_int(static_cast(wxANIM_DONOTREMOVE))); } { - PyDict_SetItemString(d,"ANIM_TOBACKGROUND", SWIG_From_int((int)(wxANIM_TOBACKGROUND))); + PyDict_SetItemString(d,"ANIM_TOBACKGROUND", SWIG_From_int(static_cast(wxANIM_TOBACKGROUND))); } { - PyDict_SetItemString(d,"ANIM_TOPREVIOUS", SWIG_From_int((int)(wxANIM_TOPREVIOUS))); + PyDict_SetItemString(d,"ANIM_TOPREVIOUS", SWIG_From_int(static_cast(wxANIM_TOPREVIOUS))); } { - PyDict_SetItemString(d,"AN_FIT_ANIMATION", SWIG_From_int((int)(wxAN_FIT_ANIMATION))); + PyDict_SetItemString(d,"AN_FIT_ANIMATION", SWIG_From_int(static_cast(wxAN_FIT_ANIMATION))); } } diff --git a/wxPython/contrib/gizmos/gtk/gizmos.py b/wxPython/contrib/gizmos/gtk/gizmos.py index f455fc70ca..cdc8a26a98 100644 --- a/wxPython/contrib/gizmos/gtk/gizmos.py +++ b/wxPython/contrib/gizmos/gtk/gizmos.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -1014,3 +1014,4 @@ def PreStaticPicture(*args, **kwargs): return val + diff --git a/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp b/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp index ae21cd8b90..e971eff4d2 100644 --- a/wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp +++ b/wxPython/contrib/gizmos/gtk/gizmos_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,52 +1431,226 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxColour swig_types[0] -#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[1] -#define SWIGTYPE_p_form_ops_t swig_types[2] -#define SWIGTYPE_p_wxDuplexMode swig_types[3] -#define SWIGTYPE_p_wxValidator swig_types[4] -#define SWIGTYPE_p_char swig_types[5] -#define SWIGTYPE_p_wxPanel swig_types[6] -#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[7] -#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[8] -#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[9] -#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[10] -#define SWIGTYPE_p_wxThinSplitterWindow swig_types[11] -#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[12] -#define SWIGTYPE_p_wxDynamicSashWindow swig_types[13] -#define SWIGTYPE_p_wxWindow swig_types[14] -#define SWIGTYPE_p_wxSplitterWindow swig_types[15] -#define SWIGTYPE_p_wxScrolledWindow swig_types[16] -#define SWIGTYPE_p_wxFont swig_types[17] -#define SWIGTYPE_p_wxControl swig_types[18] -#define SWIGTYPE_p_wxPyListCtrl swig_types[19] -#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[20] -#define SWIGTYPE_p_wxEvent swig_types[21] -#define SWIGTYPE_p_wxObject swig_types[22] -#define SWIGTYPE_p_wxBitmap swig_types[23] -#define SWIGTYPE_p_wxScrollBar swig_types[24] -#define SWIGTYPE_p_wxPaperSize swig_types[25] -#define SWIGTYPE_p_unsigned_int swig_types[26] -#define SWIGTYPE_unsigned_int swig_types[27] -#define SWIGTYPE_p_wxEvtHandler swig_types[28] -#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[29] -#define SWIGTYPE_p_wxPyTreeCtrl swig_types[30] -#define SWIGTYPE_p_wxImageList swig_types[31] -#define SWIGTYPE_p_unsigned_char swig_types[32] -#define SWIGTYPE_p_wxEditableListBox swig_types[33] -#define SWIGTYPE_p_wxIcon swig_types[34] -#define SWIGTYPE_ptrdiff_t swig_types[35] -#define SWIGTYPE_std__ptrdiff_t swig_types[36] -#define SWIGTYPE_p_wxArrayString swig_types[37] -#define SWIGTYPE_p_wxCommandEvent swig_types[38] -#define SWIGTYPE_p_wxTreeItemId swig_types[39] -#define SWIGTYPE_p_float swig_types[40] -#define SWIGTYPE_p_int swig_types[41] -#define SWIGTYPE_p_unsigned_long swig_types[42] -#define SWIGTYPE_p_wxStaticPicture swig_types[43] -#define SWIGTYPE_p_wxPyTreeItemData swig_types[44] -static swig_type_info *swig_types[46]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_float swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_unsigned_char swig_types[4] +#define SWIGTYPE_p_unsigned_int swig_types[5] +#define SWIGTYPE_p_unsigned_long swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxArrayString swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_wxBitmap swig_types[12] +#define SWIGTYPE_p_wxBitmapButton swig_types[13] +#define SWIGTYPE_p_wxBookCtrlBase swig_types[14] +#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15] +#define SWIGTYPE_p_wxBoxSizer swig_types[16] +#define SWIGTYPE_p_wxButton swig_types[17] +#define SWIGTYPE_p_wxCURHandler swig_types[18] +#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19] +#define SWIGTYPE_p_wxCheckBox swig_types[20] +#define SWIGTYPE_p_wxCheckListBox swig_types[21] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[22] +#define SWIGTYPE_p_wxChoice swig_types[23] +#define SWIGTYPE_p_wxChoicebook swig_types[24] +#define SWIGTYPE_p_wxChoicebookEvent swig_types[25] +#define SWIGTYPE_p_wxCloseEvent swig_types[26] +#define SWIGTYPE_p_wxColour swig_types[27] +#define SWIGTYPE_p_wxColourData swig_types[28] +#define SWIGTYPE_p_wxColourDialog swig_types[29] +#define SWIGTYPE_p_wxComboBox swig_types[30] +#define SWIGTYPE_p_wxCommandEvent swig_types[31] +#define SWIGTYPE_p_wxContextHelp swig_types[32] +#define SWIGTYPE_p_wxContextHelpButton swig_types[33] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[34] +#define SWIGTYPE_p_wxControl swig_types[35] +#define SWIGTYPE_p_wxControlWithItems swig_types[36] +#define SWIGTYPE_p_wxDateEvent swig_types[37] +#define SWIGTYPE_p_wxDatePickerCtrl swig_types[38] +#define SWIGTYPE_p_wxDialog swig_types[39] +#define SWIGTYPE_p_wxDirDialog swig_types[40] +#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[41] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[43] +#define SWIGTYPE_p_wxDuplexMode swig_types[44] +#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[45] +#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[46] +#define SWIGTYPE_p_wxDynamicSashWindow swig_types[47] +#define SWIGTYPE_p_wxEditableListBox swig_types[48] +#define SWIGTYPE_p_wxEraseEvent swig_types[49] +#define SWIGTYPE_p_wxEvent swig_types[50] +#define SWIGTYPE_p_wxEvtHandler swig_types[51] +#define SWIGTYPE_p_wxFSFile swig_types[52] +#define SWIGTYPE_p_wxFileDialog swig_types[53] +#define SWIGTYPE_p_wxFileSystem swig_types[54] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[55] +#define SWIGTYPE_p_wxFindReplaceData swig_types[56] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[57] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[58] +#define SWIGTYPE_p_wxFocusEvent swig_types[59] +#define SWIGTYPE_p_wxFont swig_types[60] +#define SWIGTYPE_p_wxFontData swig_types[61] +#define SWIGTYPE_p_wxFontDialog swig_types[62] +#define SWIGTYPE_p_wxFrame swig_types[63] +#define SWIGTYPE_p_wxGBSizerItem swig_types[64] +#define SWIGTYPE_p_wxGIFHandler swig_types[65] +#define SWIGTYPE_p_wxGauge swig_types[66] +#define SWIGTYPE_p_wxGenericDirCtrl swig_types[67] +#define SWIGTYPE_p_wxGenericDragImage swig_types[68] +#define SWIGTYPE_p_wxGridBagSizer swig_types[69] +#define SWIGTYPE_p_wxGridSizer swig_types[70] +#define SWIGTYPE_p_wxHelpEvent swig_types[71] +#define SWIGTYPE_p_wxICOHandler swig_types[72] +#define SWIGTYPE_p_wxIcon swig_types[73] +#define SWIGTYPE_p_wxIconizeEvent swig_types[74] +#define SWIGTYPE_p_wxIdleEvent swig_types[75] +#define SWIGTYPE_p_wxImage swig_types[76] +#define SWIGTYPE_p_wxImageHandler swig_types[77] +#define SWIGTYPE_p_wxImageList swig_types[78] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[79] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[80] +#define SWIGTYPE_p_wxJPEGHandler swig_types[81] +#define SWIGTYPE_p_wxKeyEvent swig_types[82] +#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[83] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[84] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[85] +#define SWIGTYPE_p_wxListBox swig_types[86] +#define SWIGTYPE_p_wxListEvent swig_types[87] +#define SWIGTYPE_p_wxListItem swig_types[88] +#define SWIGTYPE_p_wxListView swig_types[89] +#define SWIGTYPE_p_wxListbook swig_types[90] +#define SWIGTYPE_p_wxListbookEvent swig_types[91] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[92] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[93] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[94] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[95] +#define SWIGTYPE_p_wxMenu swig_types[96] +#define SWIGTYPE_p_wxMenuBar swig_types[97] +#define SWIGTYPE_p_wxMenuEvent swig_types[98] +#define SWIGTYPE_p_wxMenuItem swig_types[99] +#define SWIGTYPE_p_wxMessageDialog swig_types[100] +#define SWIGTYPE_p_wxMiniFrame swig_types[101] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102] +#define SWIGTYPE_p_wxMouseEvent swig_types[103] +#define SWIGTYPE_p_wxMoveEvent swig_types[104] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[105] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[107] +#define SWIGTYPE_p_wxNotebook swig_types[108] +#define SWIGTYPE_p_wxNotebookEvent swig_types[109] +#define SWIGTYPE_p_wxNotifyEvent swig_types[110] +#define SWIGTYPE_p_wxObject swig_types[111] +#define SWIGTYPE_p_wxPCXHandler swig_types[112] +#define SWIGTYPE_p_wxPNGHandler swig_types[113] +#define SWIGTYPE_p_wxPNMHandler swig_types[114] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[115] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[116] +#define SWIGTYPE_p_wxPaintEvent swig_types[117] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[118] +#define SWIGTYPE_p_wxPanel swig_types[119] +#define SWIGTYPE_p_wxPaperSize swig_types[120] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[121] +#define SWIGTYPE_p_wxPopupWindow swig_types[122] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[123] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[124] +#define SWIGTYPE_p_wxPreviewFrame swig_types[125] +#define SWIGTYPE_p_wxPrintData swig_types[126] +#define SWIGTYPE_p_wxPrintDialog swig_types[127] +#define SWIGTYPE_p_wxPrintDialogData swig_types[128] +#define SWIGTYPE_p_wxPrintPreview swig_types[129] +#define SWIGTYPE_p_wxPrinter swig_types[130] +#define SWIGTYPE_p_wxProgressDialog swig_types[131] +#define SWIGTYPE_p_wxPyApp swig_types[132] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[133] +#define SWIGTYPE_p_wxPyControl swig_types[134] +#define SWIGTYPE_p_wxPyEvent swig_types[135] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[136] +#define SWIGTYPE_p_wxPyImageHandler swig_types[137] +#define SWIGTYPE_p_wxPyListCtrl swig_types[138] +#define SWIGTYPE_p_wxPyPanel swig_types[139] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[140] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[141] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[142] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[143] +#define SWIGTYPE_p_wxPyPrintout swig_types[144] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[145] +#define SWIGTYPE_p_wxPySizer swig_types[146] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[147] +#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[148] +#define SWIGTYPE_p_wxPyTreeCtrl swig_types[149] +#define SWIGTYPE_p_wxPyTreeItemData swig_types[150] +#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[151] +#define SWIGTYPE_p_wxPyVListBox swig_types[152] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[153] +#define SWIGTYPE_p_wxPyValidator swig_types[154] +#define SWIGTYPE_p_wxPyWindow swig_types[155] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[156] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[157] +#define SWIGTYPE_p_wxRadioBox swig_types[158] +#define SWIGTYPE_p_wxRadioButton swig_types[159] +#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[160] +#define SWIGTYPE_p_wxSashEvent swig_types[161] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[162] +#define SWIGTYPE_p_wxSashWindow swig_types[163] +#define SWIGTYPE_p_wxScrollBar swig_types[164] +#define SWIGTYPE_p_wxScrollEvent swig_types[165] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[166] +#define SWIGTYPE_p_wxScrolledWindow swig_types[167] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[168] +#define SWIGTYPE_p_wxShowEvent swig_types[169] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[170] +#define SWIGTYPE_p_wxSizeEvent swig_types[171] +#define SWIGTYPE_p_wxSizer swig_types[172] +#define SWIGTYPE_p_wxSizerItem swig_types[173] +#define SWIGTYPE_p_wxSlider swig_types[174] +#define SWIGTYPE_p_wxSpinButton swig_types[175] +#define SWIGTYPE_p_wxSpinCtrl swig_types[176] +#define SWIGTYPE_p_wxSpinEvent swig_types[177] +#define SWIGTYPE_p_wxSplashScreen swig_types[178] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[179] +#define SWIGTYPE_p_wxSplitterEvent swig_types[180] +#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[181] +#define SWIGTYPE_p_wxSplitterWindow swig_types[182] +#define SWIGTYPE_p_wxStaticBitmap swig_types[183] +#define SWIGTYPE_p_wxStaticBox swig_types[184] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[185] +#define SWIGTYPE_p_wxStaticLine swig_types[186] +#define SWIGTYPE_p_wxStaticPicture swig_types[187] +#define SWIGTYPE_p_wxStaticText swig_types[188] +#define SWIGTYPE_p_wxStatusBar swig_types[189] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[190] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[191] +#define SWIGTYPE_p_wxTIFFHandler swig_types[192] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[193] +#define SWIGTYPE_p_wxTextCtrl swig_types[194] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[195] +#define SWIGTYPE_p_wxTextUrlEvent swig_types[196] +#define SWIGTYPE_p_wxThinSplitterWindow swig_types[197] +#define SWIGTYPE_p_wxTipWindow swig_types[198] +#define SWIGTYPE_p_wxToggleButton swig_types[199] +#define SWIGTYPE_p_wxToolBar swig_types[200] +#define SWIGTYPE_p_wxToolBarBase swig_types[201] +#define SWIGTYPE_p_wxToolBarToolBase swig_types[202] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[203] +#define SWIGTYPE_p_wxTreeEvent swig_types[204] +#define SWIGTYPE_p_wxTreeItemId swig_types[205] +#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[206] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[207] +#define SWIGTYPE_p_wxValidator swig_types[208] +#define SWIGTYPE_p_wxWindow swig_types[209] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[210] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[211] +#define SWIGTYPE_p_wxXPMHandler swig_types[212] +#define SWIGTYPE_ptrdiff_t swig_types[213] +#define SWIGTYPE_std__ptrdiff_t swig_types[214] +#define SWIGTYPE_unsigned_int swig_types[215] +static swig_type_info *swig_types[217]; +static swig_module_info swig_module = {swig_types, 216, 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) -------- */ @@ -1419,7 +1685,7 @@ static swig_type_info *swig_types[46]; static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr); static const wxString wxPyEmptyString(wxEmptyString); - /*@/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 /*@@*/ @@ -1472,7 +1738,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; @@ -1486,7 +1752,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1494,7 +1760,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1508,7 +1774,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1522,14 +1788,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); @@ -1600,7 +1866,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1614,7 +1880,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1634,7 +1900,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; @@ -1648,19 +1914,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)); } // C++ version of Python aware control @@ -1700,23 +1966,23 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl) - /*@/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 /*@@*/ #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1741,7 +2007,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -1753,7 +2019,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -1761,7 +2027,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -1775,7 +2041,7 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); @@ -1948,7 +2214,7 @@ SWIGINTERN int double v; if (SWIG_AsVal_double(obj, &v)) { if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { - if (val) *val = (float)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1963,7 +2229,7 @@ SWIGINTERN int } -SWIGINTERNSHORT float +SWIGINTERNINLINE float SWIG_As_float(PyObject* obj) { float v; @@ -1977,14 +2243,14 @@ SWIG_As_float(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_float(PyObject* obj) { return SWIG_AsVal_float(obj, (float*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_float PyFloat_FromDouble /*@@*/ @@ -1999,7 +2265,7 @@ static int _wrap_DynamicSashNameStr_set(PyObject *) { static PyObject *_wrap_DynamicSashNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2019,7 +2285,7 @@ static int _wrap_EditableListBoxNameStr_set(PyObject *) { static PyObject *_wrap_EditableListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2039,7 +2305,7 @@ static int _wrap_TreeListCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TreeListCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2059,7 +2325,7 @@ static int _wrap_StaticPictureNameStr_set(PyObject *) { static PyObject *_wrap_StaticPictureNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2073,7 +2339,7 @@ static PyObject *_wrap_StaticPictureNameStr_get(void) { static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; wxDynamicSashSplitEvent *result; PyObject * obj0 = 0 ; @@ -2106,7 +2372,7 @@ static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; wxDynamicSashUnifyEvent *result; PyObject * obj0 = 0 ; @@ -2139,7 +2405,7 @@ static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -2168,7 +2434,7 @@ static PyObject *_wrap_new_DynamicSashWindow(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; } } @@ -2186,7 +2452,7 @@ static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObjec } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -2221,7 +2487,7 @@ static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDynamicSashWindow *result; char *kwnames[] = { NULL @@ -2244,7 +2510,7 @@ static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -2277,7 +2543,7 @@ static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyOb 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; } } @@ -2295,7 +2561,7 @@ static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyOb } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -2331,7 +2597,7 @@ static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxScrollBar *result; @@ -2361,7 +2627,7 @@ static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *arg static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxScrollBar *result; @@ -2398,7 +2664,7 @@ static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -2431,7 +2697,7 @@ static PyObject *_wrap_new_EditableListBox(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; } } @@ -2456,7 +2722,7 @@ static PyObject *_wrap_new_EditableListBox(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; } } @@ -2499,7 +2765,7 @@ static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxArrayString *arg2 = 0 ; bool temp2 = false ; @@ -2550,7 +2816,7 @@ static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, Py static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -2576,7 +2842,7 @@ static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, Py static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxPyListCtrl *result; PyObject * obj0 = 0 ; @@ -2602,7 +2868,7 @@ static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, P static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2630,7 +2896,7 @@ static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2658,7 +2924,7 @@ static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2686,7 +2952,7 @@ static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, P static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2714,7 +2980,7 @@ static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2749,7 +3015,7 @@ static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -2773,7 +3039,7 @@ static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -2790,7 +3056,7 @@ static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -2810,7 +3076,7 @@ static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2835,7 +3101,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObj static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2860,7 +3126,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; wxScrolledWindow *result; PyObject * obj0 = 0 ; @@ -2888,7 +3154,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, Py static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2903,11 +3169,11 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2925,7 +3191,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObjec static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -2954,7 +3220,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, P static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -2989,7 +3255,7 @@ static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *ar return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3014,7 +3280,7 @@ static PyObject *_wrap_new_TreeCompanionWindow(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; } } @@ -3032,7 +3298,7 @@ static PyObject *_wrap_new_TreeCompanionWindow(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; } } @@ -3052,7 +3318,7 @@ static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -3083,7 +3349,7 @@ static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; wxRemotelyScrolledTreeCtrl *result; PyObject * obj0 = 0 ; @@ -3109,7 +3375,7 @@ static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *arg static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ; PyObject * obj0 = 0 ; @@ -3145,7 +3411,7 @@ static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3170,7 +3436,7 @@ static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3188,7 +3454,7 @@ static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -3215,7 +3481,7 @@ static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3240,7 +3506,7 @@ static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, Py if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3258,7 +3524,7 @@ static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, Py } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -3285,7 +3551,7 @@ static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3310,7 +3576,7 @@ static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *k 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; } } @@ -3328,7 +3594,7 @@ static PyObject *_wrap_new_LEDNumberCtrl(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; } } @@ -3348,7 +3614,7 @@ static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *result; char *kwnames[] = { NULL @@ -3371,7 +3637,7 @@ static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3400,7 +3666,7 @@ static PyObject *_wrap_LEDNumberCtrl_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; } } @@ -3418,7 +3684,7 @@ static PyObject *_wrap_LEDNumberCtrl_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; } } @@ -3439,7 +3705,7 @@ static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxLEDValueAlign result; PyObject * obj0 = 0 ; @@ -3465,7 +3731,7 @@ static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, Py static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3493,7 +3759,7 @@ static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, Py static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -3528,7 +3794,7 @@ static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObje static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxLEDValueAlign arg2 ; bool arg3 = (bool) true ; @@ -3543,18 +3809,18 @@ static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxLEDValueAlign)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3); + (arg1)->SetAlignment(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3567,7 +3833,7 @@ static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, Py static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; bool arg2 ; bool arg3 = (bool) true ; @@ -3582,12 +3848,12 @@ static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, 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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -3606,7 +3872,7 @@ static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, Py static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -3628,7 +3894,7 @@ static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -3662,7 +3928,7 @@ static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; int arg2 = (int) -1 ; @@ -3690,31 +3956,31 @@ static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObje } 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (wxTreeListColumnAlign)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,(wxTreeListColumnAlign )arg5); + result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3735,7 +4001,7 @@ static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3763,7 +4029,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; wxTreeListColumnAlign result; PyObject * obj0 = 0 ; @@ -3789,7 +4055,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *arg static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3821,7 +4087,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3840,7 +4106,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetImage(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: @@ -3849,7 +4115,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3868,7 +4134,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3877,7 +4143,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -3896,7 +4162,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, P 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: @@ -3905,7 +4171,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -3918,7 +4184,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, 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; } { @@ -3936,7 +4202,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; wxTreeListColumnAlign arg2 ; PyObject * obj0 = 0 ; @@ -3949,12 +4215,12 @@ static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxTreeListColumnAlign)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlignment((wxTreeListColumnAlign )arg2); + (arg1)->SetAlignment(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3967,7 +4233,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *arg static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4008,7 +4274,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4021,7 +4287,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4039,7 +4305,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4052,7 +4318,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4070,7 +4336,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -4083,7 +4349,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, 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; } { @@ -4108,7 +4374,7 @@ static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -4140,7 +4406,7 @@ static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4158,7 +4424,7 @@ static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kw } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -4203,7 +4469,7 @@ static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *result; char *kwnames[] = { NULL @@ -4226,7 +4492,7 @@ static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -4262,7 +4528,7 @@ static PyObject *_wrap_TreeListCtrl_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; } } @@ -4280,7 +4546,7 @@ static PyObject *_wrap_TreeListCtrl_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; } } @@ -4326,7 +4592,7 @@ static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -4357,7 +4623,7 @@ static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -4376,7 +4642,7 @@ static PyObject *_wrap_TreeListCtrl_GetCount(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: @@ -4385,7 +4651,7 @@ static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -4404,7 +4670,7 @@ static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -4413,7 +4679,7 @@ static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -4426,7 +4692,7 @@ static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4444,7 +4710,7 @@ static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -4463,7 +4729,7 @@ static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -4472,7 +4738,7 @@ static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -4485,7 +4751,7 @@ static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4503,7 +4769,7 @@ static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -4531,7 +4797,7 @@ static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -4559,7 +4825,7 @@ static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -4587,7 +4853,7 @@ static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *ar static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4616,7 +4882,7 @@ static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4645,7 +4911,7 @@ static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4674,7 +4940,7 @@ static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *ar static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4703,7 +4969,7 @@ static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4732,7 +4998,7 @@ static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *a static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4761,7 +5027,7 @@ static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4802,7 +5068,7 @@ static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeListColumnInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4837,7 +5103,7 @@ static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -4853,7 +5119,7 @@ static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -4884,7 +5150,7 @@ static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnInfo *arg3 = 0 ; @@ -4899,7 +5165,7 @@ static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -4925,7 +5191,7 @@ static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -4938,7 +5204,7 @@ static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -4956,7 +5222,7 @@ static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -4975,7 +5241,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, P 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: @@ -4984,7 +5250,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; size_t arg3 ; @@ -4999,11 +5265,11 @@ static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5021,7 +5287,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; int result; @@ -5035,7 +5301,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5046,7 +5312,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnWidth(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: @@ -5055,7 +5321,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -5068,7 +5334,7 @@ static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5086,7 +5352,7 @@ static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -5105,7 +5371,7 @@ static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -5114,7 +5380,7 @@ static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -5130,7 +5396,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5161,7 +5427,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxString result; @@ -5175,7 +5441,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5199,7 +5465,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnInfo *arg3 = 0 ; @@ -5214,7 +5480,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5240,7 +5506,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnInfo *result; @@ -5254,7 +5520,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5275,7 +5541,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnAlign arg3 ; @@ -5290,16 +5556,16 @@ static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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 = (wxTreeListColumnAlign)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3); + (arg1)->SetColumnAlignment(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5312,7 +5578,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *arg static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnAlign result; @@ -5326,7 +5592,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5344,7 +5610,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *arg static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; int arg3 ; @@ -5359,11 +5625,11 @@ static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5381,7 +5647,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; int result; @@ -5395,7 +5661,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5406,7 +5672,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnImage(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: @@ -5415,7 +5681,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; bool arg3 ; @@ -5430,11 +5696,11 @@ static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5452,7 +5718,7 @@ static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; bool result; @@ -5466,7 +5732,7 @@ static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5486,7 +5752,7 @@ static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 = (int) -1 ; @@ -5511,7 +5777,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemText(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; } } @@ -5536,7 +5802,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 = (int) -1 ; @@ -5563,25 +5829,25 @@ static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4); + result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5590,7 +5856,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -5622,7 +5888,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyOb } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -5649,7 +5915,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 ; @@ -5676,24 +5942,24 @@ static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyO if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (wxTreeItemIcon)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5); + wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5706,7 +5972,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxPyTreeItemData *result; @@ -5742,7 +6008,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; @@ -5781,7 +6047,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *result; @@ -5817,7 +6083,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -5855,7 +6121,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -5879,7 +6145,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *arg } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5898,7 +6164,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *arg static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -5922,7 +6188,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyOb } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5941,7 +6207,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -5983,7 +6249,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -6025,7 +6291,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxFont *arg3 = 0 ; @@ -6070,7 +6336,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6108,7 +6374,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour result; @@ -6138,7 +6404,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -6148,7 +6414,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour result; @@ -6178,7 +6444,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, 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; @@ -6188,7 +6454,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxFont result; @@ -6218,7 +6484,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyOb } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -6228,7 +6494,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6266,7 +6532,7 @@ static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6304,7 +6570,7 @@ static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6342,7 +6608,7 @@ static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6380,7 +6646,7 @@ static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6418,7 +6684,7 @@ static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -6443,7 +6709,7 @@ static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6455,7 +6721,7 @@ static PyObject *_wrap_TreeListCtrl_GetChildrenCount(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: @@ -6464,7 +6730,7 @@ static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -6484,7 +6750,7 @@ static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyOb } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6494,7 +6760,7 @@ static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -6514,7 +6780,7 @@ static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyO } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6524,7 +6790,7 @@ static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -6550,7 +6816,7 @@ static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6580,7 +6846,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, Py } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6590,7 +6856,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *result; @@ -6626,7 +6892,7 @@ static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; void *arg3 = (void *) 0 ; @@ -6650,7 +6916,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyO if (SWIG_arg_fail(2)) SWIG_fail; } { - if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj2,reinterpret_cast(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(3);SWIG_fail; } } @@ -6669,7 +6935,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6699,7 +6965,7 @@ static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyO } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6709,7 +6975,7 @@ static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6739,7 +7005,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, P } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6749,7 +7015,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6779,7 +7045,7 @@ static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, P } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6789,7 +7055,7 @@ static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -6809,7 +7075,7 @@ static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *ar } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6819,7 +7085,7 @@ static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *ar static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6849,7 +7115,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, P } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6859,7 +7125,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6889,7 +7155,7 @@ static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, P } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6899,7 +7165,7 @@ static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6929,7 +7195,7 @@ static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6939,7 +7205,7 @@ static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -6966,13 +7232,13 @@ static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6989,7 +7255,7 @@ static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7007,7 +7273,7 @@ static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -7044,13 +7310,13 @@ static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyOb } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -7067,7 +7333,7 @@ static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyOb } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7085,7 +7351,7 @@ static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId *arg3 = 0 ; @@ -7132,13 +7398,13 @@ static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObj } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -7155,7 +7421,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7173,7 +7439,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; size_t arg3 ; @@ -7206,7 +7472,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, 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; } { @@ -7216,13 +7482,13 @@ static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -7239,7 +7505,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7257,7 +7523,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -7294,13 +7560,13 @@ static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObj } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -7317,7 +7583,7 @@ static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7335,7 +7601,7 @@ static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7370,7 +7636,7 @@ static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7405,7 +7671,7 @@ static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7430,7 +7696,7 @@ static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7465,7 +7731,7 @@ static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7500,7 +7766,7 @@ static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7535,7 +7801,7 @@ static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7570,7 +7836,7 @@ static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7605,7 +7871,7 @@ static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7630,7 +7896,7 @@ static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7655,7 +7921,7 @@ static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -7681,13 +7947,13 @@ static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -7706,7 +7972,7 @@ static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; bool arg2 = (bool) false ; PyObject * obj0 = 0 ; @@ -7720,7 +7986,7 @@ static PyObject *_wrap_TreeListCtrl_SelectAll(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; } } @@ -7739,7 +8005,7 @@ static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7774,7 +8040,7 @@ static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7809,7 +8075,7 @@ static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxPoint *arg2 = 0 ; int *arg3 = 0 ; @@ -7844,7 +8110,7 @@ static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? @@ -7858,7 +8124,7 @@ static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) false ; @@ -7883,7 +8149,7 @@ static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7902,7 +8168,7 @@ static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7937,7 +8203,7 @@ static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7972,7 +8238,7 @@ static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8007,7 +8273,7 @@ static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -8040,7 +8306,7 @@ static PyObject *_wrap_TreeListCtrl_FindItem(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; } } @@ -8053,7 +8319,7 @@ static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObjec } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -8071,7 +8337,7 @@ static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -8099,7 +8365,7 @@ static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxScrolledWindow *result; PyObject * obj0 = 0 ; @@ -8134,7 +8400,7 @@ static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -8166,7 +8432,7 @@ static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *k 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; } } @@ -8194,7 +8460,7 @@ static PyObject *_wrap_new_StaticPicture(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; } } @@ -8229,7 +8495,7 @@ static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *result; char *kwnames[] = { NULL @@ -8252,7 +8518,7 @@ static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -8288,7 +8554,7 @@ static PyObject *_wrap_StaticPicture_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; } } @@ -8316,7 +8582,7 @@ static PyObject *_wrap_StaticPicture_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; } } @@ -8352,7 +8618,7 @@ static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8387,7 +8653,7 @@ static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -8407,7 +8673,7 @@ static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObj } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -8417,7 +8683,7 @@ static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxIcon *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8452,7 +8718,7 @@ static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxIcon result; PyObject * obj0 = 0 ; @@ -8472,7 +8738,7 @@ static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObjec } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } return resultobj; @@ -8482,7 +8748,7 @@ static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8495,7 +8761,7 @@ static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8513,7 +8779,7 @@ static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, Py static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8532,7 +8798,7 @@ static PyObject *_wrap_StaticPicture_GetAlignment(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: @@ -8541,7 +8807,7 @@ static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, Py static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8554,7 +8820,7 @@ static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8572,7 +8838,7 @@ static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8591,7 +8857,7 @@ static PyObject *_wrap_StaticPicture_GetScale(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: @@ -8600,7 +8866,7 @@ static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; float arg2 ; float arg3 ; @@ -8615,11 +8881,11 @@ static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (float)(SWIG_As_float(obj1)); + arg2 = static_cast(SWIG_As_float(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (float)(SWIG_As_float(obj2)); + arg3 = static_cast(SWIG_As_float(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -8637,7 +8903,7 @@ static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; float *arg2 = (float *) 0 ; float *arg3 = (float *) 0 ; @@ -10382,99 +10648,876 @@ static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); } -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_wxTreeListColumnInfo[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", 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_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_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_wxEditableListBox", _p_wxEditableListBoxTo_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_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0, 0, 0, 0},{"_p_wxThinSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0, 0, 0, 0},{"_p_wxDynamicSashWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_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_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 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_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_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_wxMenuBar", _p_wxMenuBarTo_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_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 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},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 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_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_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_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeListCtrl[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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_wxTextUrlEvent", _p_wxTextUrlEventTo_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_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxSpinEvent", _p_wxSpinEventTo_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_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_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},{"_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_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_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_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_wxFSFile", _p_wxFSFileTo_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_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_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_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_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_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_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_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_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_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_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_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 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_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__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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 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_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_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_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_wxMenuBar", _p_wxMenuBarTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 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_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0, 0, 0, 0},{"_p_wxEditableListBox", 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__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_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_float[] = {{"_p_float", 0, "float *", 0, 0, 0, 0},{"_p_float", 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_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_wxStaticPicture[] = {{"_p_wxStaticPicture", 0, "wxStaticPicture *", 0, 0, 0, 0},{"_p_wxStaticPicture", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxColour, -_swigt__p_wxTreeListColumnInfo, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxValidator, -_swigt__p_char, -_swigt__p_wxPanel, -_swigt__p_wxDynamicSashUnifyEvent, -_swigt__p_wxDynamicSashSplitEvent, -_swigt__p_wxLEDNumberCtrl, -_swigt__p_wxSplitterScrolledWindow, -_swigt__p_wxThinSplitterWindow, -_swigt__p_wxPyTreeCompanionWindow, -_swigt__p_wxDynamicSashWindow, -_swigt__p_wxWindow, -_swigt__p_wxSplitterWindow, -_swigt__p_wxScrolledWindow, -_swigt__p_wxFont, -_swigt__p_wxControl, -_swigt__p_wxPyListCtrl, -_swigt__p_wxPyTreeListCtrl, -_swigt__p_wxEvent, -_swigt__p_wxObject, -_swigt__p_wxBitmap, -_swigt__p_wxScrollBar, -_swigt__p_wxPaperSize, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxEvtHandler, -_swigt__p_wxRemotelyScrolledTreeCtrl, -_swigt__p_wxPyTreeCtrl, -_swigt__p_wxImageList, -_swigt__p_unsigned_char, -_swigt__p_wxEditableListBox, -_swigt__p_wxIcon, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxArrayString, -_swigt__p_wxCommandEvent, -_swigt__p_wxTreeItemId, -_swigt__p_float, -_swigt__p_int, -_swigt__p_unsigned_long, -_swigt__p_wxStaticPicture, -_swigt__p_wxPyTreeItemData, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_float = {"_p_float", "float *", 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_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 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_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 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_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 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_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 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_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, 0}; +static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 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_float, + &_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_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBitmapButton, + &_swigt__p_wxBookCtrlBase, + &_swigt__p_wxBookCtrlBaseEvent, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxButton, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCalculateLayoutEvent, + &_swigt__p_wxCheckBox, + &_swigt__p_wxCheckListBox, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxChoice, + &_swigt__p_wxChoicebook, + &_swigt__p_wxChoicebookEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxColourData, + &_swigt__p_wxColourDialog, + &_swigt__p_wxComboBox, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextHelp, + &_swigt__p_wxContextHelpButton, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDatePickerCtrl, + &_swigt__p_wxDialog, + &_swigt__p_wxDirDialog, + &_swigt__p_wxDirFilterListCtrl, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxDynamicSashSplitEvent, + &_swigt__p_wxDynamicSashUnifyEvent, + &_swigt__p_wxDynamicSashWindow, + &_swigt__p_wxEditableListBox, + &_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_wxGauge, + &_swigt__p_wxGenericDirCtrl, + &_swigt__p_wxGenericDragImage, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxHelpEvent, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageList, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLEDNumberCtrl, + &_swigt__p_wxLayoutAlgorithm, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxListBox, + &_swigt__p_wxListEvent, + &_swigt__p_wxListItem, + &_swigt__p_wxListView, + &_swigt__p_wxListbook, + &_swigt__p_wxListbookEvent, + &_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_wxNotebook, + &_swigt__p_wxNotebookEvent, + &_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_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_wxPyControl, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyHtmlListBox, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyListCtrl, + &_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_wxPyTreeCompanionWindow, + &_swigt__p_wxPyTreeCtrl, + &_swigt__p_wxPyTreeItemData, + &_swigt__p_wxPyTreeListCtrl, + &_swigt__p_wxPyVListBox, + &_swigt__p_wxPyVScrolledWindow, + &_swigt__p_wxPyValidator, + &_swigt__p_wxPyWindow, + &_swigt__p_wxQueryLayoutInfoEvent, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRadioBox, + &_swigt__p_wxRadioButton, + &_swigt__p_wxRemotelyScrolledTreeCtrl, + &_swigt__p_wxSashEvent, + &_swigt__p_wxSashLayoutWindow, + &_swigt__p_wxSashWindow, + &_swigt__p_wxScrollBar, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxScrolledWindow, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSingleChoiceDialog, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSlider, + &_swigt__p_wxSpinButton, + &_swigt__p_wxSpinCtrl, + &_swigt__p_wxSpinEvent, + &_swigt__p_wxSplashScreen, + &_swigt__p_wxSplashScreenWindow, + &_swigt__p_wxSplitterEvent, + &_swigt__p_wxSplitterScrolledWindow, + &_swigt__p_wxSplitterWindow, + &_swigt__p_wxStaticBitmap, + &_swigt__p_wxStaticBox, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStaticLine, + &_swigt__p_wxStaticPicture, + &_swigt__p_wxStaticText, + &_swigt__p_wxStatusBar, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTaskBarIconEvent, + &_swigt__p_wxTextCtrl, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTextUrlEvent, + &_swigt__p_wxThinSplitterWindow, + &_swigt__p_wxTipWindow, + &_swigt__p_wxToggleButton, + &_swigt__p_wxToolBar, + &_swigt__p_wxToolBarBase, + &_swigt__p_wxToolBarToolBase, + &_swigt__p_wxTopLevelWindow, + &_swigt__p_wxTreeEvent, + &_swigt__p_wxTreeItemId, + &_swigt__p_wxTreeListColumnInfo, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_float[] = { {&_swigt__p_float, 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_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 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_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 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_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 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_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 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_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 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_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 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_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 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_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 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_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 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_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 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_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_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_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_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxSpinEvent, _p_wxSpinEventTo_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_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 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_wxMenu[] = {{&_swigt__p_wxMenu, 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_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 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_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 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_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 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_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 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_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 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_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 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_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 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_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 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_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 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_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 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_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 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_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 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_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 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_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 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_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 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_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 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_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 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_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 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_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 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_wxListItem[] = {{&_swigt__p_wxListItem, 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_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 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_wxPrinter[] = {{&_swigt__p_wxPrinter, 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_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 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_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 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_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 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_wxPrintData[] = {{&_swigt__p_wxPrintData, 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_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 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_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 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_wxSizer[] = {{&_swigt__p_wxSizer, 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_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 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_wxFSFile[] = {{&_swigt__p_wxFSFile, 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_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 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_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_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_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_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_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_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_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_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_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 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_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_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_wxEditableListBox, _p_wxEditableListBoxTo_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_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 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_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_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_float, + _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_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBitmapButton, + _swigc__p_wxBookCtrlBase, + _swigc__p_wxBookCtrlBaseEvent, + _swigc__p_wxBoxSizer, + _swigc__p_wxButton, + _swigc__p_wxCURHandler, + _swigc__p_wxCalculateLayoutEvent, + _swigc__p_wxCheckBox, + _swigc__p_wxCheckListBox, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxChoice, + _swigc__p_wxChoicebook, + _swigc__p_wxChoicebookEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxColourData, + _swigc__p_wxColourDialog, + _swigc__p_wxComboBox, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextHelp, + _swigc__p_wxContextHelpButton, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDatePickerCtrl, + _swigc__p_wxDialog, + _swigc__p_wxDirDialog, + _swigc__p_wxDirFilterListCtrl, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxDynamicSashSplitEvent, + _swigc__p_wxDynamicSashUnifyEvent, + _swigc__p_wxDynamicSashWindow, + _swigc__p_wxEditableListBox, + _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_wxGauge, + _swigc__p_wxGenericDirCtrl, + _swigc__p_wxGenericDragImage, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxHelpEvent, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageList, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLEDNumberCtrl, + _swigc__p_wxLayoutAlgorithm, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxListBox, + _swigc__p_wxListEvent, + _swigc__p_wxListItem, + _swigc__p_wxListView, + _swigc__p_wxListbook, + _swigc__p_wxListbookEvent, + _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_wxNotebook, + _swigc__p_wxNotebookEvent, + _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_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_wxPyControl, + _swigc__p_wxPyEvent, + _swigc__p_wxPyHtmlListBox, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyListCtrl, + _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_wxPyTreeCompanionWindow, + _swigc__p_wxPyTreeCtrl, + _swigc__p_wxPyTreeItemData, + _swigc__p_wxPyTreeListCtrl, + _swigc__p_wxPyVListBox, + _swigc__p_wxPyVScrolledWindow, + _swigc__p_wxPyValidator, + _swigc__p_wxPyWindow, + _swigc__p_wxQueryLayoutInfoEvent, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRadioBox, + _swigc__p_wxRadioButton, + _swigc__p_wxRemotelyScrolledTreeCtrl, + _swigc__p_wxSashEvent, + _swigc__p_wxSashLayoutWindow, + _swigc__p_wxSashWindow, + _swigc__p_wxScrollBar, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxScrolledWindow, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSingleChoiceDialog, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSlider, + _swigc__p_wxSpinButton, + _swigc__p_wxSpinCtrl, + _swigc__p_wxSpinEvent, + _swigc__p_wxSplashScreen, + _swigc__p_wxSplashScreenWindow, + _swigc__p_wxSplitterEvent, + _swigc__p_wxSplitterScrolledWindow, + _swigc__p_wxSplitterWindow, + _swigc__p_wxStaticBitmap, + _swigc__p_wxStaticBox, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStaticLine, + _swigc__p_wxStaticPicture, + _swigc__p_wxStaticText, + _swigc__p_wxStatusBar, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTaskBarIconEvent, + _swigc__p_wxTextCtrl, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTextUrlEvent, + _swigc__p_wxThinSplitterWindow, + _swigc__p_wxTipWindow, + _swigc__p_wxToggleButton, + _swigc__p_wxToolBar, + _swigc__p_wxToolBarBase, + _swigc__p_wxToolBarToolBase, + _swigc__p_wxTopLevelWindow, + _swigc__p_wxTreeEvent, + _swigc__p_wxTreeItemId, + _swigc__p_wxTreeListColumnInfo, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -10486,6 +11529,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 @@ -10503,7 +11757,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; @@ -10513,13 +11767,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; @@ -10532,7 +11786,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -10545,7 +11799,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) { @@ -10558,72 +11812,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; } @@ -10632,11 +11903,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); @@ -10673,7 +11944,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, @@ -10685,7 +11956,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]); @@ -10698,14 +11969,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; + } + } } } } @@ -10715,69 +11990,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 @@ -10786,42 +11998,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); @@ -10830,78 +12021,78 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set); { - PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int((int)(wxDS_MANAGE_SCROLLBARS))); + PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int(static_cast(wxDS_MANAGE_SCROLLBARS))); } { - PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int((int)(wxDS_DRAG_CORNER))); + PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int(static_cast(wxDS_DRAG_CORNER))); } PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT)); PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY)); { - PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int((int)(wxEL_ALLOW_NEW))); + PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int(static_cast(wxEL_ALLOW_NEW))); } { - PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int((int)(wxEL_ALLOW_EDIT))); + PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int(static_cast(wxEL_ALLOW_EDIT))); } { - PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int((int)(wxEL_ALLOW_DELETE))); + PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int(static_cast(wxEL_ALLOW_DELETE))); } { - PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int((int)(wxLED_ALIGN_LEFT))); + PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int(static_cast(wxLED_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int((int)(wxLED_ALIGN_RIGHT))); + PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int(static_cast(wxLED_ALIGN_RIGHT))); } { - PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int((int)(wxLED_ALIGN_CENTER))); + PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int(static_cast(wxLED_ALIGN_CENTER))); } { - PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int((int)(wxLED_ALIGN_MASK))); + PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int(static_cast(wxLED_ALIGN_MASK))); } { - PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int((int)(wxLED_DRAW_FADED))); + PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int(static_cast(wxLED_DRAW_FADED))); } { - PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int((int)(wxTL_ALIGN_LEFT))); + PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int(static_cast(wxTL_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int((int)(wxTL_ALIGN_RIGHT))); + PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int(static_cast(wxTL_ALIGN_RIGHT))); } { - PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int((int)(wxTL_ALIGN_CENTER))); + PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int(static_cast(wxTL_ALIGN_CENTER))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMCOLUMN))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMCOLUMN))); } { - PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int((int)(wxTL_SEARCH_VISIBLE))); + PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int(static_cast(wxTL_SEARCH_VISIBLE))); } { - PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int((int)(wxTL_SEARCH_LEVEL))); + PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int(static_cast(wxTL_SEARCH_LEVEL))); } { - PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int((int)(wxTL_SEARCH_FULL))); + PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int(static_cast(wxTL_SEARCH_FULL))); } { - PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int((int)(wxTL_SEARCH_PARTIAL))); + PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int(static_cast(wxTL_SEARCH_PARTIAL))); } { - PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int((int)(wxTL_SEARCH_NOCASE))); + PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int(static_cast(wxTL_SEARCH_NOCASE))); } { - PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int((int)(wxTR_DONT_ADJUST_MAC))); + PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int(static_cast(wxTR_DONT_ADJUST_MAC))); } { - PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int((int)(wxSCALE_HORIZONTAL))); + PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int(static_cast(wxSCALE_HORIZONTAL))); } { - PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int((int)(wxSCALE_VERTICAL))); + PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int(static_cast(wxSCALE_VERTICAL))); } { - PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int((int)(wxSCALE_UNIFORM))); + PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int(static_cast(wxSCALE_UNIFORM))); } { - PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int((int)(wxSCALE_CUSTOM))); + PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int(static_cast(wxSCALE_CUSTOM))); } diff --git a/wxPython/contrib/gizmos/mac/gizmos.py b/wxPython/contrib/gizmos/mac/gizmos.py index f455fc70ca..cdc8a26a98 100644 --- a/wxPython/contrib/gizmos/mac/gizmos.py +++ b/wxPython/contrib/gizmos/mac/gizmos.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -1014,3 +1014,4 @@ def PreStaticPicture(*args, **kwargs): return val + diff --git a/wxPython/contrib/gizmos/mac/gizmos_wrap.cpp b/wxPython/contrib/gizmos/mac/gizmos_wrap.cpp index ea87fc4c8d..8345b94c45 100644 --- a/wxPython/contrib/gizmos/mac/gizmos_wrap.cpp +++ b/wxPython/contrib/gizmos/mac/gizmos_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,52 +1431,226 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxColour swig_types[0] -#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[1] -#define SWIGTYPE_p_form_ops_t swig_types[2] -#define SWIGTYPE_p_wxDuplexMode swig_types[3] -#define SWIGTYPE_p_wxValidator swig_types[4] -#define SWIGTYPE_p_char swig_types[5] -#define SWIGTYPE_p_wxPanel swig_types[6] -#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[7] -#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[8] -#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[9] -#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[10] -#define SWIGTYPE_p_wxThinSplitterWindow swig_types[11] -#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[12] -#define SWIGTYPE_p_wxDynamicSashWindow swig_types[13] -#define SWIGTYPE_p_wxWindow swig_types[14] -#define SWIGTYPE_p_wxSplitterWindow swig_types[15] -#define SWIGTYPE_p_wxScrolledWindow swig_types[16] -#define SWIGTYPE_p_wxFont swig_types[17] -#define SWIGTYPE_p_wxControl swig_types[18] -#define SWIGTYPE_p_wxPyListCtrl swig_types[19] -#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[20] -#define SWIGTYPE_p_wxEvent swig_types[21] -#define SWIGTYPE_p_wxObject swig_types[22] -#define SWIGTYPE_p_wxBitmap swig_types[23] -#define SWIGTYPE_p_wxScrollBar swig_types[24] -#define SWIGTYPE_p_wxPaperSize swig_types[25] -#define SWIGTYPE_p_unsigned_int swig_types[26] -#define SWIGTYPE_unsigned_int swig_types[27] -#define SWIGTYPE_p_wxEvtHandler swig_types[28] -#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[29] -#define SWIGTYPE_p_wxPyTreeCtrl swig_types[30] -#define SWIGTYPE_p_wxImageList swig_types[31] -#define SWIGTYPE_p_unsigned_char swig_types[32] -#define SWIGTYPE_p_wxEditableListBox swig_types[33] -#define SWIGTYPE_p_wxIcon swig_types[34] -#define SWIGTYPE_ptrdiff_t swig_types[35] -#define SWIGTYPE_std__ptrdiff_t swig_types[36] -#define SWIGTYPE_p_wxArrayString swig_types[37] -#define SWIGTYPE_p_wxCommandEvent swig_types[38] -#define SWIGTYPE_p_wxTreeItemId swig_types[39] -#define SWIGTYPE_p_float swig_types[40] -#define SWIGTYPE_p_int swig_types[41] -#define SWIGTYPE_p_unsigned_long swig_types[42] -#define SWIGTYPE_p_wxStaticPicture swig_types[43] -#define SWIGTYPE_p_wxPyTreeItemData swig_types[44] -static swig_type_info *swig_types[46]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_float swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_unsigned_char swig_types[4] +#define SWIGTYPE_p_unsigned_int swig_types[5] +#define SWIGTYPE_p_unsigned_long swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxArrayString swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_wxBitmap swig_types[12] +#define SWIGTYPE_p_wxBitmapButton swig_types[13] +#define SWIGTYPE_p_wxBookCtrlBase swig_types[14] +#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15] +#define SWIGTYPE_p_wxBoxSizer swig_types[16] +#define SWIGTYPE_p_wxButton swig_types[17] +#define SWIGTYPE_p_wxCURHandler swig_types[18] +#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19] +#define SWIGTYPE_p_wxCheckBox swig_types[20] +#define SWIGTYPE_p_wxCheckListBox swig_types[21] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[22] +#define SWIGTYPE_p_wxChoice swig_types[23] +#define SWIGTYPE_p_wxChoicebook swig_types[24] +#define SWIGTYPE_p_wxChoicebookEvent swig_types[25] +#define SWIGTYPE_p_wxCloseEvent swig_types[26] +#define SWIGTYPE_p_wxColour swig_types[27] +#define SWIGTYPE_p_wxColourData swig_types[28] +#define SWIGTYPE_p_wxColourDialog swig_types[29] +#define SWIGTYPE_p_wxComboBox swig_types[30] +#define SWIGTYPE_p_wxCommandEvent swig_types[31] +#define SWIGTYPE_p_wxContextHelp swig_types[32] +#define SWIGTYPE_p_wxContextHelpButton swig_types[33] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[34] +#define SWIGTYPE_p_wxControl swig_types[35] +#define SWIGTYPE_p_wxControlWithItems swig_types[36] +#define SWIGTYPE_p_wxDateEvent swig_types[37] +#define SWIGTYPE_p_wxDatePickerCtrl swig_types[38] +#define SWIGTYPE_p_wxDialog swig_types[39] +#define SWIGTYPE_p_wxDirDialog swig_types[40] +#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[41] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[43] +#define SWIGTYPE_p_wxDuplexMode swig_types[44] +#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[45] +#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[46] +#define SWIGTYPE_p_wxDynamicSashWindow swig_types[47] +#define SWIGTYPE_p_wxEditableListBox swig_types[48] +#define SWIGTYPE_p_wxEraseEvent swig_types[49] +#define SWIGTYPE_p_wxEvent swig_types[50] +#define SWIGTYPE_p_wxEvtHandler swig_types[51] +#define SWIGTYPE_p_wxFSFile swig_types[52] +#define SWIGTYPE_p_wxFileDialog swig_types[53] +#define SWIGTYPE_p_wxFileSystem swig_types[54] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[55] +#define SWIGTYPE_p_wxFindReplaceData swig_types[56] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[57] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[58] +#define SWIGTYPE_p_wxFocusEvent swig_types[59] +#define SWIGTYPE_p_wxFont swig_types[60] +#define SWIGTYPE_p_wxFontData swig_types[61] +#define SWIGTYPE_p_wxFontDialog swig_types[62] +#define SWIGTYPE_p_wxFrame swig_types[63] +#define SWIGTYPE_p_wxGBSizerItem swig_types[64] +#define SWIGTYPE_p_wxGIFHandler swig_types[65] +#define SWIGTYPE_p_wxGauge swig_types[66] +#define SWIGTYPE_p_wxGenericDirCtrl swig_types[67] +#define SWIGTYPE_p_wxGenericDragImage swig_types[68] +#define SWIGTYPE_p_wxGridBagSizer swig_types[69] +#define SWIGTYPE_p_wxGridSizer swig_types[70] +#define SWIGTYPE_p_wxHelpEvent swig_types[71] +#define SWIGTYPE_p_wxICOHandler swig_types[72] +#define SWIGTYPE_p_wxIcon swig_types[73] +#define SWIGTYPE_p_wxIconizeEvent swig_types[74] +#define SWIGTYPE_p_wxIdleEvent swig_types[75] +#define SWIGTYPE_p_wxImage swig_types[76] +#define SWIGTYPE_p_wxImageHandler swig_types[77] +#define SWIGTYPE_p_wxImageList swig_types[78] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[79] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[80] +#define SWIGTYPE_p_wxJPEGHandler swig_types[81] +#define SWIGTYPE_p_wxKeyEvent swig_types[82] +#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[83] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[84] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[85] +#define SWIGTYPE_p_wxListBox swig_types[86] +#define SWIGTYPE_p_wxListEvent swig_types[87] +#define SWIGTYPE_p_wxListItem swig_types[88] +#define SWIGTYPE_p_wxListView swig_types[89] +#define SWIGTYPE_p_wxListbook swig_types[90] +#define SWIGTYPE_p_wxListbookEvent swig_types[91] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[92] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[93] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[94] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[95] +#define SWIGTYPE_p_wxMenu swig_types[96] +#define SWIGTYPE_p_wxMenuBar swig_types[97] +#define SWIGTYPE_p_wxMenuEvent swig_types[98] +#define SWIGTYPE_p_wxMenuItem swig_types[99] +#define SWIGTYPE_p_wxMessageDialog swig_types[100] +#define SWIGTYPE_p_wxMiniFrame swig_types[101] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102] +#define SWIGTYPE_p_wxMouseEvent swig_types[103] +#define SWIGTYPE_p_wxMoveEvent swig_types[104] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[105] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[107] +#define SWIGTYPE_p_wxNotebook swig_types[108] +#define SWIGTYPE_p_wxNotebookEvent swig_types[109] +#define SWIGTYPE_p_wxNotifyEvent swig_types[110] +#define SWIGTYPE_p_wxObject swig_types[111] +#define SWIGTYPE_p_wxPCXHandler swig_types[112] +#define SWIGTYPE_p_wxPNGHandler swig_types[113] +#define SWIGTYPE_p_wxPNMHandler swig_types[114] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[115] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[116] +#define SWIGTYPE_p_wxPaintEvent swig_types[117] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[118] +#define SWIGTYPE_p_wxPanel swig_types[119] +#define SWIGTYPE_p_wxPaperSize swig_types[120] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[121] +#define SWIGTYPE_p_wxPopupWindow swig_types[122] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[123] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[124] +#define SWIGTYPE_p_wxPreviewFrame swig_types[125] +#define SWIGTYPE_p_wxPrintData swig_types[126] +#define SWIGTYPE_p_wxPrintDialog swig_types[127] +#define SWIGTYPE_p_wxPrintDialogData swig_types[128] +#define SWIGTYPE_p_wxPrintPreview swig_types[129] +#define SWIGTYPE_p_wxPrinter swig_types[130] +#define SWIGTYPE_p_wxProgressDialog swig_types[131] +#define SWIGTYPE_p_wxPyApp swig_types[132] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[133] +#define SWIGTYPE_p_wxPyControl swig_types[134] +#define SWIGTYPE_p_wxPyEvent swig_types[135] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[136] +#define SWIGTYPE_p_wxPyImageHandler swig_types[137] +#define SWIGTYPE_p_wxPyListCtrl swig_types[138] +#define SWIGTYPE_p_wxPyPanel swig_types[139] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[140] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[141] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[142] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[143] +#define SWIGTYPE_p_wxPyPrintout swig_types[144] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[145] +#define SWIGTYPE_p_wxPySizer swig_types[146] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[147] +#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[148] +#define SWIGTYPE_p_wxPyTreeCtrl swig_types[149] +#define SWIGTYPE_p_wxPyTreeItemData swig_types[150] +#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[151] +#define SWIGTYPE_p_wxPyVListBox swig_types[152] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[153] +#define SWIGTYPE_p_wxPyValidator swig_types[154] +#define SWIGTYPE_p_wxPyWindow swig_types[155] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[156] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[157] +#define SWIGTYPE_p_wxRadioBox swig_types[158] +#define SWIGTYPE_p_wxRadioButton swig_types[159] +#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[160] +#define SWIGTYPE_p_wxSashEvent swig_types[161] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[162] +#define SWIGTYPE_p_wxSashWindow swig_types[163] +#define SWIGTYPE_p_wxScrollBar swig_types[164] +#define SWIGTYPE_p_wxScrollEvent swig_types[165] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[166] +#define SWIGTYPE_p_wxScrolledWindow swig_types[167] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[168] +#define SWIGTYPE_p_wxShowEvent swig_types[169] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[170] +#define SWIGTYPE_p_wxSizeEvent swig_types[171] +#define SWIGTYPE_p_wxSizer swig_types[172] +#define SWIGTYPE_p_wxSizerItem swig_types[173] +#define SWIGTYPE_p_wxSlider swig_types[174] +#define SWIGTYPE_p_wxSpinButton swig_types[175] +#define SWIGTYPE_p_wxSpinCtrl swig_types[176] +#define SWIGTYPE_p_wxSpinEvent swig_types[177] +#define SWIGTYPE_p_wxSplashScreen swig_types[178] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[179] +#define SWIGTYPE_p_wxSplitterEvent swig_types[180] +#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[181] +#define SWIGTYPE_p_wxSplitterWindow swig_types[182] +#define SWIGTYPE_p_wxStaticBitmap swig_types[183] +#define SWIGTYPE_p_wxStaticBox swig_types[184] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[185] +#define SWIGTYPE_p_wxStaticLine swig_types[186] +#define SWIGTYPE_p_wxStaticPicture swig_types[187] +#define SWIGTYPE_p_wxStaticText swig_types[188] +#define SWIGTYPE_p_wxStatusBar swig_types[189] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[190] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[191] +#define SWIGTYPE_p_wxTIFFHandler swig_types[192] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[193] +#define SWIGTYPE_p_wxTextCtrl swig_types[194] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[195] +#define SWIGTYPE_p_wxTextUrlEvent swig_types[196] +#define SWIGTYPE_p_wxThinSplitterWindow swig_types[197] +#define SWIGTYPE_p_wxTipWindow swig_types[198] +#define SWIGTYPE_p_wxToggleButton swig_types[199] +#define SWIGTYPE_p_wxToolBar swig_types[200] +#define SWIGTYPE_p_wxToolBarBase swig_types[201] +#define SWIGTYPE_p_wxToolBarToolBase swig_types[202] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[203] +#define SWIGTYPE_p_wxTreeEvent swig_types[204] +#define SWIGTYPE_p_wxTreeItemId swig_types[205] +#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[206] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[207] +#define SWIGTYPE_p_wxValidator swig_types[208] +#define SWIGTYPE_p_wxWindow swig_types[209] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[210] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[211] +#define SWIGTYPE_p_wxXPMHandler swig_types[212] +#define SWIGTYPE_ptrdiff_t swig_types[213] +#define SWIGTYPE_std__ptrdiff_t swig_types[214] +#define SWIGTYPE_unsigned_int swig_types[215] +static swig_type_info *swig_types[217]; +static swig_module_info swig_module = {swig_types, 216, 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) -------- */ @@ -1419,7 +1685,7 @@ static swig_type_info *swig_types[46]; static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr); static const wxString wxPyEmptyString(wxEmptyString); - /*@/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 /*@@*/ @@ -1472,7 +1738,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; @@ -1486,7 +1752,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1494,7 +1760,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1508,7 +1774,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1522,14 +1788,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); @@ -1600,7 +1866,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1614,7 +1880,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1634,7 +1900,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; @@ -1648,19 +1914,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)); } // C++ version of Python aware control @@ -1700,23 +1966,23 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl) - /*@/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 /*@@*/ #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1741,7 +2007,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -1753,7 +2019,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -1761,7 +2027,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -1775,7 +2041,7 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); @@ -1948,7 +2214,7 @@ SWIGINTERN int double v; if (SWIG_AsVal_double(obj, &v)) { if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { - if (val) *val = (float)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1963,7 +2229,7 @@ SWIGINTERN int } -SWIGINTERNSHORT float +SWIGINTERNINLINE float SWIG_As_float(PyObject* obj) { float v; @@ -1977,14 +2243,14 @@ SWIG_As_float(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_float(PyObject* obj) { return SWIG_AsVal_float(obj, (float*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_float PyFloat_FromDouble /*@@*/ @@ -1999,7 +2265,7 @@ static int _wrap_DynamicSashNameStr_set(PyObject *) { static PyObject *_wrap_DynamicSashNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2019,7 +2285,7 @@ static int _wrap_EditableListBoxNameStr_set(PyObject *) { static PyObject *_wrap_EditableListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2039,7 +2305,7 @@ static int _wrap_TreeListCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TreeListCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2059,7 +2325,7 @@ static int _wrap_StaticPictureNameStr_set(PyObject *) { static PyObject *_wrap_StaticPictureNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2073,7 +2339,7 @@ static PyObject *_wrap_StaticPictureNameStr_get(void) { static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; wxDynamicSashSplitEvent *result; PyObject * obj0 = 0 ; @@ -2106,7 +2372,7 @@ static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; wxDynamicSashUnifyEvent *result; PyObject * obj0 = 0 ; @@ -2139,7 +2405,7 @@ static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -2168,7 +2434,7 @@ static PyObject *_wrap_new_DynamicSashWindow(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; } } @@ -2186,7 +2452,7 @@ static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObjec } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -2221,7 +2487,7 @@ static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDynamicSashWindow *result; char *kwnames[] = { NULL @@ -2244,7 +2510,7 @@ static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -2277,7 +2543,7 @@ static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyOb 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; } } @@ -2295,7 +2561,7 @@ static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyOb } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -2331,7 +2597,7 @@ static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxScrollBar *result; @@ -2361,7 +2627,7 @@ static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *arg static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxScrollBar *result; @@ -2398,7 +2664,7 @@ static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -2431,7 +2697,7 @@ static PyObject *_wrap_new_EditableListBox(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; } } @@ -2456,7 +2722,7 @@ static PyObject *_wrap_new_EditableListBox(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; } } @@ -2499,7 +2765,7 @@ static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxArrayString *arg2 = 0 ; bool temp2 = false ; @@ -2550,7 +2816,7 @@ static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, Py static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -2576,7 +2842,7 @@ static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, Py static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxPyListCtrl *result; PyObject * obj0 = 0 ; @@ -2602,7 +2868,7 @@ static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, P static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2630,7 +2896,7 @@ static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2658,7 +2924,7 @@ static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2686,7 +2952,7 @@ static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, P static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2714,7 +2980,7 @@ static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; wxBitmapButton *result; PyObject * obj0 = 0 ; @@ -2749,7 +3015,7 @@ static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -2773,7 +3039,7 @@ static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -2790,7 +3056,7 @@ static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -2810,7 +3076,7 @@ static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2835,7 +3101,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObj static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2860,7 +3126,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; wxScrolledWindow *result; PyObject * obj0 = 0 ; @@ -2888,7 +3154,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, Py static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2903,11 +3169,11 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2925,7 +3191,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObjec static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -2954,7 +3220,7 @@ static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, P static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -2989,7 +3255,7 @@ static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *ar return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3014,7 +3280,7 @@ static PyObject *_wrap_new_TreeCompanionWindow(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; } } @@ -3032,7 +3298,7 @@ static PyObject *_wrap_new_TreeCompanionWindow(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; } } @@ -3052,7 +3318,7 @@ static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -3083,7 +3349,7 @@ static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; wxRemotelyScrolledTreeCtrl *result; PyObject * obj0 = 0 ; @@ -3109,7 +3375,7 @@ static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *arg static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ; PyObject * obj0 = 0 ; @@ -3145,7 +3411,7 @@ static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3170,7 +3436,7 @@ static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3188,7 +3454,7 @@ static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -3215,7 +3481,7 @@ static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3240,7 +3506,7 @@ static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, Py if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3258,7 +3524,7 @@ static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, Py } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -3285,7 +3551,7 @@ static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3310,7 +3576,7 @@ static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *k 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; } } @@ -3328,7 +3594,7 @@ static PyObject *_wrap_new_LEDNumberCtrl(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; } } @@ -3348,7 +3614,7 @@ static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *result; char *kwnames[] = { NULL @@ -3371,7 +3637,7 @@ static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3400,7 +3666,7 @@ static PyObject *_wrap_LEDNumberCtrl_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; } } @@ -3418,7 +3684,7 @@ static PyObject *_wrap_LEDNumberCtrl_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; } } @@ -3439,7 +3705,7 @@ static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxLEDValueAlign result; PyObject * obj0 = 0 ; @@ -3465,7 +3731,7 @@ static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, Py static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3493,7 +3759,7 @@ static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, Py static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -3528,7 +3794,7 @@ static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObje static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxLEDValueAlign arg2 ; bool arg3 = (bool) true ; @@ -3543,18 +3809,18 @@ static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxLEDValueAlign)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3); + (arg1)->SetAlignment(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3567,7 +3833,7 @@ static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, Py static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; bool arg2 ; bool arg3 = (bool) true ; @@ -3582,12 +3848,12 @@ static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, 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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -3606,7 +3872,7 @@ static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, Py static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -3628,7 +3894,7 @@ static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -3662,7 +3928,7 @@ static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; int arg2 = (int) -1 ; @@ -3690,31 +3956,31 @@ static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObje } 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (wxTreeListColumnAlign)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,(wxTreeListColumnAlign )arg5); + result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3735,7 +4001,7 @@ static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3763,7 +4029,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; wxTreeListColumnAlign result; PyObject * obj0 = 0 ; @@ -3789,7 +4055,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *arg static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3821,7 +4087,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3840,7 +4106,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetImage(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: @@ -3849,7 +4115,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3868,7 +4134,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3877,7 +4143,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -3896,7 +4162,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, P 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: @@ -3905,7 +4171,7 @@ static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -3918,7 +4184,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, 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; } { @@ -3936,7 +4202,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; wxTreeListColumnAlign arg2 ; PyObject * obj0 = 0 ; @@ -3949,12 +4215,12 @@ static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxTreeListColumnAlign)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlignment((wxTreeListColumnAlign )arg2); + (arg1)->SetAlignment(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3967,7 +4233,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *arg static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4008,7 +4274,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4021,7 +4287,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4039,7 +4305,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4052,7 +4318,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4070,7 +4336,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -4083,7 +4349,7 @@ static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, 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; } { @@ -4108,7 +4374,7 @@ static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -4140,7 +4406,7 @@ static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4158,7 +4424,7 @@ static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kw } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -4203,7 +4469,7 @@ static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *result; char *kwnames[] = { NULL @@ -4226,7 +4492,7 @@ static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -4262,7 +4528,7 @@ static PyObject *_wrap_TreeListCtrl_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; } } @@ -4280,7 +4546,7 @@ static PyObject *_wrap_TreeListCtrl_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; } } @@ -4326,7 +4592,7 @@ static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -4357,7 +4623,7 @@ static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -4376,7 +4642,7 @@ static PyObject *_wrap_TreeListCtrl_GetCount(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: @@ -4385,7 +4651,7 @@ static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -4404,7 +4670,7 @@ static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -4413,7 +4679,7 @@ static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -4426,7 +4692,7 @@ static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4444,7 +4710,7 @@ static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -4463,7 +4729,7 @@ static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -4472,7 +4738,7 @@ static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -4485,7 +4751,7 @@ static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4503,7 +4769,7 @@ static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -4531,7 +4797,7 @@ static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -4559,7 +4825,7 @@ static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -4587,7 +4853,7 @@ static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *ar static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4616,7 +4882,7 @@ static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4645,7 +4911,7 @@ static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4674,7 +4940,7 @@ static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *ar static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4703,7 +4969,7 @@ static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4732,7 +4998,7 @@ static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *a static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -4761,7 +5027,7 @@ static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4802,7 +5068,7 @@ static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeListColumnInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4837,7 +5103,7 @@ static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -4853,7 +5119,7 @@ static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -4884,7 +5150,7 @@ static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnInfo *arg3 = 0 ; @@ -4899,7 +5165,7 @@ static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -4925,7 +5191,7 @@ static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -4938,7 +5204,7 @@ static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -4956,7 +5222,7 @@ static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -4975,7 +5241,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, P 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: @@ -4984,7 +5250,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; size_t arg3 ; @@ -4999,11 +5265,11 @@ static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5021,7 +5287,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; int result; @@ -5035,7 +5301,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5046,7 +5312,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnWidth(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: @@ -5055,7 +5321,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -5068,7 +5334,7 @@ static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5086,7 +5352,7 @@ static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -5105,7 +5371,7 @@ static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -5114,7 +5380,7 @@ static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -5130,7 +5396,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5161,7 +5427,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxString result; @@ -5175,7 +5441,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5199,7 +5465,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnInfo *arg3 = 0 ; @@ -5214,7 +5480,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5240,7 +5506,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnInfo *result; @@ -5254,7 +5520,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5275,7 +5541,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnAlign arg3 ; @@ -5290,16 +5556,16 @@ static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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 = (wxTreeListColumnAlign)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3); + (arg1)->SetColumnAlignment(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5312,7 +5578,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *arg static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; wxTreeListColumnAlign result; @@ -5326,7 +5592,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5344,7 +5610,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *arg static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; int arg3 ; @@ -5359,11 +5625,11 @@ static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5381,7 +5647,7 @@ static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; int result; @@ -5395,7 +5661,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5406,7 +5672,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnImage(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: @@ -5415,7 +5681,7 @@ static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; bool arg3 ; @@ -5430,11 +5696,11 @@ static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5452,7 +5718,7 @@ static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; size_t arg2 ; bool result; @@ -5466,7 +5732,7 @@ static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, 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; } { @@ -5486,7 +5752,7 @@ static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 = (int) -1 ; @@ -5511,7 +5777,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemText(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; } } @@ -5536,7 +5802,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 = (int) -1 ; @@ -5563,25 +5829,25 @@ static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4); + result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5590,7 +5856,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -5622,7 +5888,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyOb } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -5649,7 +5915,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 ; @@ -5676,24 +5942,24 @@ static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyO if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (wxTreeItemIcon)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5); + wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5706,7 +5972,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxPyTreeItemData *result; @@ -5742,7 +6008,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; @@ -5781,7 +6047,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *result; @@ -5817,7 +6083,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -5855,7 +6121,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -5879,7 +6145,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *arg } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5898,7 +6164,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *arg static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -5922,7 +6188,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyOb } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5941,7 +6207,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -5983,7 +6249,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -6025,7 +6291,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxFont *arg3 = 0 ; @@ -6070,7 +6336,7 @@ static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6108,7 +6374,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour result; @@ -6138,7 +6404,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -6148,7 +6414,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour result; @@ -6178,7 +6444,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, 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; @@ -6188,7 +6454,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxFont result; @@ -6218,7 +6484,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyOb } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -6228,7 +6494,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6266,7 +6532,7 @@ static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6304,7 +6570,7 @@ static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6342,7 +6608,7 @@ static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6380,7 +6646,7 @@ static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -6418,7 +6684,7 @@ static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -6443,7 +6709,7 @@ static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6455,7 +6721,7 @@ static PyObject *_wrap_TreeListCtrl_GetChildrenCount(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: @@ -6464,7 +6730,7 @@ static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -6484,7 +6750,7 @@ static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyOb } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6494,7 +6760,7 @@ static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -6514,7 +6780,7 @@ static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyO } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6524,7 +6790,7 @@ static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -6550,7 +6816,7 @@ static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6580,7 +6846,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, Py } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6590,7 +6856,7 @@ static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *result; @@ -6626,7 +6892,7 @@ static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; void *arg3 = (void *) 0 ; @@ -6650,7 +6916,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyO if (SWIG_arg_fail(2)) SWIG_fail; } { - if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj2,reinterpret_cast(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(3);SWIG_fail; } } @@ -6669,7 +6935,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6699,7 +6965,7 @@ static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyO } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6709,7 +6975,7 @@ static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6739,7 +7005,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, P } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6749,7 +7015,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6779,7 +7045,7 @@ static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, P } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6789,7 +7055,7 @@ static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -6809,7 +7075,7 @@ static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *ar } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6819,7 +7085,7 @@ static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *ar static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6849,7 +7115,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, P } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6859,7 +7125,7 @@ static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6889,7 +7155,7 @@ static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, P } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6899,7 +7165,7 @@ static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -6929,7 +7195,7 @@ static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -6939,7 +7205,7 @@ static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -6966,13 +7232,13 @@ static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6989,7 +7255,7 @@ static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7007,7 +7273,7 @@ static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -7044,13 +7310,13 @@ static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyOb } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -7067,7 +7333,7 @@ static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyOb } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7085,7 +7351,7 @@ static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId *arg3 = 0 ; @@ -7132,13 +7398,13 @@ static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObj } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -7155,7 +7421,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7173,7 +7439,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; size_t arg3 ; @@ -7206,7 +7472,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, 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; } { @@ -7216,13 +7482,13 @@ static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -7239,7 +7505,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7257,7 +7523,7 @@ static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -7294,13 +7560,13 @@ static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObj } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -7317,7 +7583,7 @@ static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -7335,7 +7601,7 @@ static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7370,7 +7636,7 @@ static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7405,7 +7671,7 @@ static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7430,7 +7696,7 @@ static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, P static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7465,7 +7731,7 @@ static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7500,7 +7766,7 @@ static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7535,7 +7801,7 @@ static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7570,7 +7836,7 @@ static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7605,7 +7871,7 @@ static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7630,7 +7896,7 @@ static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7655,7 +7921,7 @@ static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -7681,13 +7947,13 @@ static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -7706,7 +7972,7 @@ static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; bool arg2 = (bool) false ; PyObject * obj0 = 0 ; @@ -7720,7 +7986,7 @@ static PyObject *_wrap_TreeListCtrl_SelectAll(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; } } @@ -7739,7 +8005,7 @@ static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7774,7 +8040,7 @@ static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7809,7 +8075,7 @@ static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxPoint *arg2 = 0 ; int *arg3 = 0 ; @@ -7844,7 +8110,7 @@ static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? @@ -7858,7 +8124,7 @@ static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) false ; @@ -7883,7 +8149,7 @@ static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7902,7 +8168,7 @@ static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7937,7 +8203,7 @@ static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7972,7 +8238,7 @@ static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8007,7 +8273,7 @@ static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -8040,7 +8306,7 @@ static PyObject *_wrap_TreeListCtrl_FindItem(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; } } @@ -8053,7 +8319,7 @@ static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObjec } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -8071,7 +8337,7 @@ static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -8099,7 +8365,7 @@ static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; wxScrolledWindow *result; PyObject * obj0 = 0 ; @@ -8134,7 +8400,7 @@ static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -8166,7 +8432,7 @@ static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *k 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; } } @@ -8194,7 +8460,7 @@ static PyObject *_wrap_new_StaticPicture(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; } } @@ -8229,7 +8495,7 @@ static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *result; char *kwnames[] = { NULL @@ -8252,7 +8518,7 @@ static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -8288,7 +8554,7 @@ static PyObject *_wrap_StaticPicture_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; } } @@ -8316,7 +8582,7 @@ static PyObject *_wrap_StaticPicture_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; } } @@ -8352,7 +8618,7 @@ static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8387,7 +8653,7 @@ static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -8407,7 +8673,7 @@ static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObj } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -8417,7 +8683,7 @@ static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxIcon *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8452,7 +8718,7 @@ static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; wxIcon result; PyObject * obj0 = 0 ; @@ -8472,7 +8738,7 @@ static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObjec } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } return resultobj; @@ -8482,7 +8748,7 @@ static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8495,7 +8761,7 @@ static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8513,7 +8779,7 @@ static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, Py static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8532,7 +8798,7 @@ static PyObject *_wrap_StaticPicture_GetAlignment(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: @@ -8541,7 +8807,7 @@ static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, Py static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8554,7 +8820,7 @@ static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8572,7 +8838,7 @@ static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8591,7 +8857,7 @@ static PyObject *_wrap_StaticPicture_GetScale(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: @@ -8600,7 +8866,7 @@ static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; float arg2 ; float arg3 ; @@ -8615,11 +8881,11 @@ static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (float)(SWIG_As_float(obj1)); + arg2 = static_cast(SWIG_As_float(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (float)(SWIG_As_float(obj2)); + arg3 = static_cast(SWIG_As_float(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -8637,7 +8903,7 @@ static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; float *arg2 = (float *) 0 ; float *arg3 = (float *) 0 ; @@ -10382,99 +10648,876 @@ static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); } -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_wxTreeListColumnInfo[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", 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_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_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_wxEditableListBox", _p_wxEditableListBoxTo_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_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0, 0, 0, 0},{"_p_wxThinSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0, 0, 0, 0},{"_p_wxDynamicSashWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_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_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 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_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_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_wxMenuBar", _p_wxMenuBarTo_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_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 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},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 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_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_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_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeListCtrl[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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_wxTextUrlEvent", _p_wxTextUrlEventTo_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_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxSpinEvent", _p_wxSpinEventTo_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_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_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},{"_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_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_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_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_wxFSFile", _p_wxFSFileTo_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_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_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_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_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_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_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_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_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_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_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_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 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_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__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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 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_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_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_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_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_wxMenuBar", _p_wxMenuBarTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 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_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0, 0, 0, 0},{"_p_wxEditableListBox", 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__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_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_float[] = {{"_p_float", 0, "float *", 0, 0, 0, 0},{"_p_float", 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_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_wxStaticPicture[] = {{"_p_wxStaticPicture", 0, "wxStaticPicture *", 0, 0, 0, 0},{"_p_wxStaticPicture", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxColour, -_swigt__p_wxTreeListColumnInfo, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxValidator, -_swigt__p_char, -_swigt__p_wxPanel, -_swigt__p_wxDynamicSashUnifyEvent, -_swigt__p_wxDynamicSashSplitEvent, -_swigt__p_wxLEDNumberCtrl, -_swigt__p_wxSplitterScrolledWindow, -_swigt__p_wxThinSplitterWindow, -_swigt__p_wxPyTreeCompanionWindow, -_swigt__p_wxDynamicSashWindow, -_swigt__p_wxWindow, -_swigt__p_wxSplitterWindow, -_swigt__p_wxScrolledWindow, -_swigt__p_wxFont, -_swigt__p_wxControl, -_swigt__p_wxPyListCtrl, -_swigt__p_wxPyTreeListCtrl, -_swigt__p_wxEvent, -_swigt__p_wxObject, -_swigt__p_wxBitmap, -_swigt__p_wxScrollBar, -_swigt__p_wxPaperSize, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxEvtHandler, -_swigt__p_wxRemotelyScrolledTreeCtrl, -_swigt__p_wxPyTreeCtrl, -_swigt__p_wxImageList, -_swigt__p_unsigned_char, -_swigt__p_wxEditableListBox, -_swigt__p_wxIcon, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxArrayString, -_swigt__p_wxCommandEvent, -_swigt__p_wxTreeItemId, -_swigt__p_float, -_swigt__p_int, -_swigt__p_unsigned_long, -_swigt__p_wxStaticPicture, -_swigt__p_wxPyTreeItemData, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_float = {"_p_float", "float *", 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_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 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_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 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_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 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_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 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_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, 0}; +static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 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_float, + &_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_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBitmapButton, + &_swigt__p_wxBookCtrlBase, + &_swigt__p_wxBookCtrlBaseEvent, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxButton, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCalculateLayoutEvent, + &_swigt__p_wxCheckBox, + &_swigt__p_wxCheckListBox, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxChoice, + &_swigt__p_wxChoicebook, + &_swigt__p_wxChoicebookEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxColourData, + &_swigt__p_wxColourDialog, + &_swigt__p_wxComboBox, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextHelp, + &_swigt__p_wxContextHelpButton, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDatePickerCtrl, + &_swigt__p_wxDialog, + &_swigt__p_wxDirDialog, + &_swigt__p_wxDirFilterListCtrl, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxDynamicSashSplitEvent, + &_swigt__p_wxDynamicSashUnifyEvent, + &_swigt__p_wxDynamicSashWindow, + &_swigt__p_wxEditableListBox, + &_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_wxGauge, + &_swigt__p_wxGenericDirCtrl, + &_swigt__p_wxGenericDragImage, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxHelpEvent, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageList, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLEDNumberCtrl, + &_swigt__p_wxLayoutAlgorithm, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxListBox, + &_swigt__p_wxListEvent, + &_swigt__p_wxListItem, + &_swigt__p_wxListView, + &_swigt__p_wxListbook, + &_swigt__p_wxListbookEvent, + &_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_wxNotebook, + &_swigt__p_wxNotebookEvent, + &_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_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_wxPyControl, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyHtmlListBox, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyListCtrl, + &_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_wxPyTreeCompanionWindow, + &_swigt__p_wxPyTreeCtrl, + &_swigt__p_wxPyTreeItemData, + &_swigt__p_wxPyTreeListCtrl, + &_swigt__p_wxPyVListBox, + &_swigt__p_wxPyVScrolledWindow, + &_swigt__p_wxPyValidator, + &_swigt__p_wxPyWindow, + &_swigt__p_wxQueryLayoutInfoEvent, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRadioBox, + &_swigt__p_wxRadioButton, + &_swigt__p_wxRemotelyScrolledTreeCtrl, + &_swigt__p_wxSashEvent, + &_swigt__p_wxSashLayoutWindow, + &_swigt__p_wxSashWindow, + &_swigt__p_wxScrollBar, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxScrolledWindow, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSingleChoiceDialog, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSlider, + &_swigt__p_wxSpinButton, + &_swigt__p_wxSpinCtrl, + &_swigt__p_wxSpinEvent, + &_swigt__p_wxSplashScreen, + &_swigt__p_wxSplashScreenWindow, + &_swigt__p_wxSplitterEvent, + &_swigt__p_wxSplitterScrolledWindow, + &_swigt__p_wxSplitterWindow, + &_swigt__p_wxStaticBitmap, + &_swigt__p_wxStaticBox, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStaticLine, + &_swigt__p_wxStaticPicture, + &_swigt__p_wxStaticText, + &_swigt__p_wxStatusBar, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTaskBarIconEvent, + &_swigt__p_wxTextCtrl, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTextUrlEvent, + &_swigt__p_wxThinSplitterWindow, + &_swigt__p_wxTipWindow, + &_swigt__p_wxToggleButton, + &_swigt__p_wxToolBar, + &_swigt__p_wxToolBarBase, + &_swigt__p_wxToolBarToolBase, + &_swigt__p_wxTopLevelWindow, + &_swigt__p_wxTreeEvent, + &_swigt__p_wxTreeItemId, + &_swigt__p_wxTreeListColumnInfo, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_float[] = { {&_swigt__p_float, 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_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 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_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 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_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 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_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 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_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 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_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 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_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 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_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 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_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 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_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 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_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_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_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_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxSpinEvent, _p_wxSpinEventTo_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_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 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_wxMenu[] = {{&_swigt__p_wxMenu, 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_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 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_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 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_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 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_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 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_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 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_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 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_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 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_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 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_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 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_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 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_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 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_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 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_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 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_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 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_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 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_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 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_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 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_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 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_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 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_wxListItem[] = {{&_swigt__p_wxListItem, 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_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 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_wxPrinter[] = {{&_swigt__p_wxPrinter, 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_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 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_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 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_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 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_wxPrintData[] = {{&_swigt__p_wxPrintData, 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_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 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_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 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_wxSizer[] = {{&_swigt__p_wxSizer, 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_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 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_wxFSFile[] = {{&_swigt__p_wxFSFile, 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_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 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_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_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_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_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_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_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_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_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_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 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_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_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_wxEditableListBox, _p_wxEditableListBoxTo_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_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 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_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_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_float, + _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_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBitmapButton, + _swigc__p_wxBookCtrlBase, + _swigc__p_wxBookCtrlBaseEvent, + _swigc__p_wxBoxSizer, + _swigc__p_wxButton, + _swigc__p_wxCURHandler, + _swigc__p_wxCalculateLayoutEvent, + _swigc__p_wxCheckBox, + _swigc__p_wxCheckListBox, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxChoice, + _swigc__p_wxChoicebook, + _swigc__p_wxChoicebookEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxColourData, + _swigc__p_wxColourDialog, + _swigc__p_wxComboBox, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextHelp, + _swigc__p_wxContextHelpButton, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDatePickerCtrl, + _swigc__p_wxDialog, + _swigc__p_wxDirDialog, + _swigc__p_wxDirFilterListCtrl, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxDynamicSashSplitEvent, + _swigc__p_wxDynamicSashUnifyEvent, + _swigc__p_wxDynamicSashWindow, + _swigc__p_wxEditableListBox, + _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_wxGauge, + _swigc__p_wxGenericDirCtrl, + _swigc__p_wxGenericDragImage, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxHelpEvent, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageList, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLEDNumberCtrl, + _swigc__p_wxLayoutAlgorithm, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxListBox, + _swigc__p_wxListEvent, + _swigc__p_wxListItem, + _swigc__p_wxListView, + _swigc__p_wxListbook, + _swigc__p_wxListbookEvent, + _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_wxNotebook, + _swigc__p_wxNotebookEvent, + _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_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_wxPyControl, + _swigc__p_wxPyEvent, + _swigc__p_wxPyHtmlListBox, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyListCtrl, + _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_wxPyTreeCompanionWindow, + _swigc__p_wxPyTreeCtrl, + _swigc__p_wxPyTreeItemData, + _swigc__p_wxPyTreeListCtrl, + _swigc__p_wxPyVListBox, + _swigc__p_wxPyVScrolledWindow, + _swigc__p_wxPyValidator, + _swigc__p_wxPyWindow, + _swigc__p_wxQueryLayoutInfoEvent, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRadioBox, + _swigc__p_wxRadioButton, + _swigc__p_wxRemotelyScrolledTreeCtrl, + _swigc__p_wxSashEvent, + _swigc__p_wxSashLayoutWindow, + _swigc__p_wxSashWindow, + _swigc__p_wxScrollBar, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxScrolledWindow, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSingleChoiceDialog, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSlider, + _swigc__p_wxSpinButton, + _swigc__p_wxSpinCtrl, + _swigc__p_wxSpinEvent, + _swigc__p_wxSplashScreen, + _swigc__p_wxSplashScreenWindow, + _swigc__p_wxSplitterEvent, + _swigc__p_wxSplitterScrolledWindow, + _swigc__p_wxSplitterWindow, + _swigc__p_wxStaticBitmap, + _swigc__p_wxStaticBox, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStaticLine, + _swigc__p_wxStaticPicture, + _swigc__p_wxStaticText, + _swigc__p_wxStatusBar, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTaskBarIconEvent, + _swigc__p_wxTextCtrl, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTextUrlEvent, + _swigc__p_wxThinSplitterWindow, + _swigc__p_wxTipWindow, + _swigc__p_wxToggleButton, + _swigc__p_wxToolBar, + _swigc__p_wxToolBarBase, + _swigc__p_wxToolBarToolBase, + _swigc__p_wxTopLevelWindow, + _swigc__p_wxTreeEvent, + _swigc__p_wxTreeItemId, + _swigc__p_wxTreeListColumnInfo, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -10486,6 +11529,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 @@ -10503,7 +11757,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; @@ -10513,13 +11767,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; @@ -10532,7 +11786,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -10545,7 +11799,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) { @@ -10558,72 +11812,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; } @@ -10632,11 +11903,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); @@ -10673,7 +11944,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, @@ -10685,7 +11956,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]); @@ -10698,14 +11969,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; + } + } } } } @@ -10715,69 +11990,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 @@ -10786,42 +11998,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); @@ -10830,78 +12021,78 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set); { - PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int((int)(wxDS_MANAGE_SCROLLBARS))); + PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int(static_cast(wxDS_MANAGE_SCROLLBARS))); } { - PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int((int)(wxDS_DRAG_CORNER))); + PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int(static_cast(wxDS_DRAG_CORNER))); } PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT)); PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY)); { - PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int((int)(wxEL_ALLOW_NEW))); + PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int(static_cast(wxEL_ALLOW_NEW))); } { - PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int((int)(wxEL_ALLOW_EDIT))); + PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int(static_cast(wxEL_ALLOW_EDIT))); } { - PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int((int)(wxEL_ALLOW_DELETE))); + PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int(static_cast(wxEL_ALLOW_DELETE))); } { - PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int((int)(wxLED_ALIGN_LEFT))); + PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int(static_cast(wxLED_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int((int)(wxLED_ALIGN_RIGHT))); + PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int(static_cast(wxLED_ALIGN_RIGHT))); } { - PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int((int)(wxLED_ALIGN_CENTER))); + PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int(static_cast(wxLED_ALIGN_CENTER))); } { - PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int((int)(wxLED_ALIGN_MASK))); + PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int(static_cast(wxLED_ALIGN_MASK))); } { - PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int((int)(wxLED_DRAW_FADED))); + PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int(static_cast(wxLED_DRAW_FADED))); } { - PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int((int)(wxTL_ALIGN_LEFT))); + PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int(static_cast(wxTL_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int((int)(wxTL_ALIGN_RIGHT))); + PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int(static_cast(wxTL_ALIGN_RIGHT))); } { - PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int((int)(wxTL_ALIGN_CENTER))); + PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int(static_cast(wxTL_ALIGN_CENTER))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMCOLUMN))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMCOLUMN))); } { - PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int((int)(wxTL_SEARCH_VISIBLE))); + PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int(static_cast(wxTL_SEARCH_VISIBLE))); } { - PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int((int)(wxTL_SEARCH_LEVEL))); + PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int(static_cast(wxTL_SEARCH_LEVEL))); } { - PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int((int)(wxTL_SEARCH_FULL))); + PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int(static_cast(wxTL_SEARCH_FULL))); } { - PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int((int)(wxTL_SEARCH_PARTIAL))); + PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int(static_cast(wxTL_SEARCH_PARTIAL))); } { - PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int((int)(wxTL_SEARCH_NOCASE))); + PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int(static_cast(wxTL_SEARCH_NOCASE))); } { - PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int((int)(wxTR_DONT_ADJUST_MAC))); + PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int(static_cast(wxTR_DONT_ADJUST_MAC))); } { - PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int((int)(wxSCALE_HORIZONTAL))); + PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int(static_cast(wxSCALE_HORIZONTAL))); } { - PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int((int)(wxSCALE_VERTICAL))); + PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int(static_cast(wxSCALE_VERTICAL))); } { - PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int((int)(wxSCALE_UNIFORM))); + PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int(static_cast(wxSCALE_UNIFORM))); } { - PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int((int)(wxSCALE_CUSTOM))); + PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int(static_cast(wxSCALE_CUSTOM))); } diff --git a/wxPython/contrib/glcanvas/gtk/glcanvas.py b/wxPython/contrib/glcanvas/gtk/glcanvas.py index 8e510354de..66a60626be 100644 --- a/wxPython/contrib/glcanvas/gtk/glcanvas.py +++ b/wxPython/contrib/glcanvas/gtk/glcanvas.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -181,3 +181,4 @@ def GLCanvasWithContext(*args, **kwargs): return val + diff --git a/wxPython/contrib/glcanvas/gtk/glcanvas_wrap.cpp b/wxPython/contrib/glcanvas/gtk/glcanvas_wrap.cpp index 522b9299c0..b56371397b 100644 --- a/wxPython/contrib/glcanvas/gtk/glcanvas_wrap.cpp +++ b/wxPython/contrib/glcanvas/gtk/glcanvas_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,24 +1431,101 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxGLCanvas swig_types[0] -#define SWIGTYPE_p_wxObject swig_types[1] -#define SWIGTYPE_p_unsigned_char swig_types[2] -#define SWIGTYPE_p_wxGLContext swig_types[3] -#define SWIGTYPE_p_wxWindow swig_types[4] -#define SWIGTYPE_p_unsigned_long swig_types[5] -#define SWIGTYPE_p_form_ops_t swig_types[6] -#define SWIGTYPE_p_unsigned_int swig_types[7] -#define SWIGTYPE_unsigned_int swig_types[8] -#define SWIGTYPE_p_wxDuplexMode swig_types[9] -#define SWIGTYPE_p_char swig_types[10] -#define SWIGTYPE_p_wxEvtHandler swig_types[11] -#define SWIGTYPE_p_wxPalette swig_types[12] -#define SWIGTYPE_std__ptrdiff_t swig_types[13] -#define SWIGTYPE_ptrdiff_t swig_types[14] -#define SWIGTYPE_p_wxPaperSize swig_types[15] -#define SWIGTYPE_p_int swig_types[16] -static swig_type_info *swig_types[18]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBoxSizer swig_types[10] +#define SWIGTYPE_p_wxCURHandler swig_types[11] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[12] +#define SWIGTYPE_p_wxCloseEvent swig_types[13] +#define SWIGTYPE_p_wxCommandEvent swig_types[14] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[15] +#define SWIGTYPE_p_wxControl swig_types[16] +#define SWIGTYPE_p_wxControlWithItems swig_types[17] +#define SWIGTYPE_p_wxDateEvent swig_types[18] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[19] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[20] +#define SWIGTYPE_p_wxDuplexMode swig_types[21] +#define SWIGTYPE_p_wxEraseEvent swig_types[22] +#define SWIGTYPE_p_wxEvent swig_types[23] +#define SWIGTYPE_p_wxEvtHandler swig_types[24] +#define SWIGTYPE_p_wxFSFile swig_types[25] +#define SWIGTYPE_p_wxFileSystem swig_types[26] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[27] +#define SWIGTYPE_p_wxFocusEvent swig_types[28] +#define SWIGTYPE_p_wxGBSizerItem swig_types[29] +#define SWIGTYPE_p_wxGIFHandler swig_types[30] +#define SWIGTYPE_p_wxGLCanvas swig_types[31] +#define SWIGTYPE_p_wxGLContext swig_types[32] +#define SWIGTYPE_p_wxGridBagSizer swig_types[33] +#define SWIGTYPE_p_wxGridSizer swig_types[34] +#define SWIGTYPE_p_wxICOHandler swig_types[35] +#define SWIGTYPE_p_wxIconizeEvent swig_types[36] +#define SWIGTYPE_p_wxIdleEvent swig_types[37] +#define SWIGTYPE_p_wxImage swig_types[38] +#define SWIGTYPE_p_wxImageHandler swig_types[39] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[40] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[41] +#define SWIGTYPE_p_wxJPEGHandler swig_types[42] +#define SWIGTYPE_p_wxKeyEvent swig_types[43] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[44] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[45] +#define SWIGTYPE_p_wxMenu swig_types[46] +#define SWIGTYPE_p_wxMenuBar swig_types[47] +#define SWIGTYPE_p_wxMenuEvent swig_types[48] +#define SWIGTYPE_p_wxMenuItem swig_types[49] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[50] +#define SWIGTYPE_p_wxMouseEvent swig_types[51] +#define SWIGTYPE_p_wxMoveEvent swig_types[52] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[53] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[54] +#define SWIGTYPE_p_wxNotifyEvent swig_types[55] +#define SWIGTYPE_p_wxObject swig_types[56] +#define SWIGTYPE_p_wxPCXHandler swig_types[57] +#define SWIGTYPE_p_wxPNGHandler swig_types[58] +#define SWIGTYPE_p_wxPNMHandler swig_types[59] +#define SWIGTYPE_p_wxPaintEvent swig_types[60] +#define SWIGTYPE_p_wxPalette swig_types[61] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[62] +#define SWIGTYPE_p_wxPaperSize swig_types[63] +#define SWIGTYPE_p_wxPyApp swig_types[64] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[65] +#define SWIGTYPE_p_wxPyEvent swig_types[66] +#define SWIGTYPE_p_wxPyImageHandler swig_types[67] +#define SWIGTYPE_p_wxPySizer swig_types[68] +#define SWIGTYPE_p_wxPyValidator swig_types[69] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[70] +#define SWIGTYPE_p_wxScrollEvent swig_types[71] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[72] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[73] +#define SWIGTYPE_p_wxShowEvent swig_types[74] +#define SWIGTYPE_p_wxSizeEvent swig_types[75] +#define SWIGTYPE_p_wxSizer swig_types[76] +#define SWIGTYPE_p_wxSizerItem swig_types[77] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[78] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[79] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[80] +#define SWIGTYPE_p_wxTIFFHandler swig_types[81] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[82] +#define SWIGTYPE_p_wxValidator swig_types[83] +#define SWIGTYPE_p_wxWindow swig_types[84] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[85] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[86] +#define SWIGTYPE_p_wxXPMHandler swig_types[87] +#define SWIGTYPE_ptrdiff_t swig_types[88] +#define SWIGTYPE_std__ptrdiff_t swig_types[89] +#define SWIGTYPE_unsigned_int swig_types[90] +static swig_type_info *swig_types[92]; +static swig_module_info swig_module = {swig_types, 91, 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) -------- */ @@ -1425,7 +1594,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; @@ -1439,7 +1608,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1472,7 +1641,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1486,19 +1655,19 @@ 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 /*@@*/ -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1512,7 +1681,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1526,14 +1695,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); @@ -1549,7 +1718,7 @@ static int _wrap_GLCanvasNameStr_set(PyObject *) { static PyObject *_wrap_GLCanvasNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1563,7 +1732,7 @@ static PyObject *_wrap_GLCanvasNameStr_get(void) { static PyObject *_wrap_new_GLContext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; wxGLCanvas *arg2 = (wxGLCanvas *) 0 ; wxPalette const &arg3_defvalue = wxNullPalette ; @@ -1580,7 +1749,7 @@ static PyObject *_wrap_new_GLContext(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GLContext",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGLCanvas, SWIG_POINTER_EXCEPTION | 0); @@ -1615,7 +1784,7 @@ static PyObject *_wrap_new_GLContext(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_GLContext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1640,7 +1809,7 @@ static PyObject *_wrap_delete_GLContext(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GLContext_SetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1665,7 +1834,7 @@ static PyObject *_wrap_GLContext_SetCurrent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -1706,7 +1875,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLContext_SwapBuffers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1731,7 +1900,7 @@ static PyObject *_wrap_GLContext_SwapBuffers(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GLContext_SetupPixelFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1756,7 +1925,7 @@ static PyObject *_wrap_GLContext_SetupPixelFormat(PyObject *, PyObject *args, Py static PyObject *_wrap_GLContext_SetupPalette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; wxPalette *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -1791,7 +1960,7 @@ static PyObject *_wrap_GLContext_SetupPalette(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GLContext_CreateDefaultPalette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; wxPalette result; PyObject * obj0 = 0 ; @@ -1811,7 +1980,7 @@ static PyObject *_wrap_GLContext_CreateDefaultPalette(PyObject *, PyObject *args } { wxPalette * resultptr; - resultptr = new wxPalette((wxPalette &)(result)); + resultptr = new wxPalette(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPalette, 1); } return resultobj; @@ -1821,7 +1990,7 @@ static PyObject *_wrap_GLContext_CreateDefaultPalette(PyObject *, PyObject *args static PyObject *_wrap_GLContext_GetPalette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; wxPalette *result; PyObject * obj0 = 0 ; @@ -1847,7 +2016,7 @@ static PyObject *_wrap_GLContext_GetPalette(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLContext_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -1882,7 +2051,7 @@ static PyObject * GLContext_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -1917,7 +2086,7 @@ static PyObject *_wrap_new_GLCanvas(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; } } @@ -1935,7 +2104,7 @@ static PyObject *_wrap_new_GLCanvas(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; } } @@ -2000,7 +2169,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxGLContext *arg2 = (wxGLContext *) NULL ; int arg3 = (int) -1 ; @@ -2041,7 +2210,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(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; } } @@ -2059,7 +2228,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(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; } } @@ -2124,7 +2293,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GLCanvas_SetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2149,7 +2318,7 @@ static PyObject *_wrap_GLCanvas_SetCurrent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2190,7 +2359,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GLCanvas_SwapBuffers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2215,7 +2384,7 @@ static PyObject *_wrap_GLCanvas_SwapBuffers(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLCanvas_GetContext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; wxGLContext *result; PyObject * obj0 = 0 ; @@ -2545,43 +2714,376 @@ static void *_p_wxGLCanvasTo_p_wxEvtHandler(void *x) { static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } -static swig_type_info _swigt__p_wxGLCanvas[] = {{"_p_wxGLCanvas", 0, "wxGLCanvas *", 0, 0, 0, 0},{"_p_wxGLCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxActivateEvent", _p_wxActivateEventTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxGLContext[] = {{"_p_wxGLContext", 0, "wxGLContext *", 0, 0, 0, 0},{"_p_wxGLContext", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxWindow, 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_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_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__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_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_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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 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__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__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_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 *swig_types_initial[] = { -_swigt__p_wxGLCanvas, -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxGLContext, -_swigt__p_wxWindow, -_swigt__p_unsigned_long, -_swigt__p_form_ops_t, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxDuplexMode, -_swigt__p_char, -_swigt__p_wxEvtHandler, -_swigt__p_wxPalette, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxPaperSize, -_swigt__p_int, -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_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGLCanvas = {"_p_wxGLCanvas", "wxGLCanvas *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGLContext = {"_p_wxGLContext", "wxGLContext *", 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_wxScrollEvent = {"_p_wxScrollEvent", 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_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 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_wxInitDialogEvent = {"_p_wxInitDialogEvent", 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_wxSetCursorEvent = {"_p_wxSetCursorEvent", 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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 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_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPalette = {"_p_wxPalette", "wxPalette *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 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_wxBMPHandler, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGLCanvas, + &_swigt__p_wxGLContext, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_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_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPalette, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 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_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGLCanvas, _p_wxGLCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGLCanvas[] = { {&_swigt__p_wxGLCanvas, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGLContext[] = { {&_swigt__p_wxGLContext, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = {{&_swigt__p_wxEvent, 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_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 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_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 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_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_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 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_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 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_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 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_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 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_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGLContext, _p_wxGLContextTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGLCanvas, _p_wxGLCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPalette[] = { {&_swigt__p_wxPalette, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGLCanvas, _p_wxGLCanvasTo_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_wxBMPHandler, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGLCanvas, + _swigc__p_wxGLContext, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _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_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPalette, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -2593,6 +3095,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 @@ -2610,7 +3323,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; @@ -2620,13 +3333,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; @@ -2639,7 +3352,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -2652,7 +3365,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) { @@ -2665,72 +3378,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; } @@ -2739,11 +3469,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); @@ -2780,7 +3510,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, @@ -2792,7 +3522,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]); @@ -2805,14 +3535,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; + } + } } } } @@ -2822,69 +3556,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 @@ -2893,93 +3564,72 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"GLCanvasNameStr",_wrap_GLCanvasNameStr_get, _wrap_GLCanvasNameStr_set); { - PyDict_SetItemString(d,"WX_GL_RGBA", SWIG_From_int((int)(WX_GL_RGBA))); + PyDict_SetItemString(d,"WX_GL_RGBA", SWIG_From_int(static_cast(WX_GL_RGBA))); } { - PyDict_SetItemString(d,"WX_GL_BUFFER_SIZE", SWIG_From_int((int)(WX_GL_BUFFER_SIZE))); + PyDict_SetItemString(d,"WX_GL_BUFFER_SIZE", SWIG_From_int(static_cast(WX_GL_BUFFER_SIZE))); } { - PyDict_SetItemString(d,"WX_GL_LEVEL", SWIG_From_int((int)(WX_GL_LEVEL))); + PyDict_SetItemString(d,"WX_GL_LEVEL", SWIG_From_int(static_cast(WX_GL_LEVEL))); } { - PyDict_SetItemString(d,"WX_GL_DOUBLEBUFFER", SWIG_From_int((int)(WX_GL_DOUBLEBUFFER))); + PyDict_SetItemString(d,"WX_GL_DOUBLEBUFFER", SWIG_From_int(static_cast(WX_GL_DOUBLEBUFFER))); } { - PyDict_SetItemString(d,"WX_GL_STEREO", SWIG_From_int((int)(WX_GL_STEREO))); + PyDict_SetItemString(d,"WX_GL_STEREO", SWIG_From_int(static_cast(WX_GL_STEREO))); } { - PyDict_SetItemString(d,"WX_GL_AUX_BUFFERS", SWIG_From_int((int)(WX_GL_AUX_BUFFERS))); + PyDict_SetItemString(d,"WX_GL_AUX_BUFFERS", SWIG_From_int(static_cast(WX_GL_AUX_BUFFERS))); } { - PyDict_SetItemString(d,"WX_GL_MIN_RED", SWIG_From_int((int)(WX_GL_MIN_RED))); + PyDict_SetItemString(d,"WX_GL_MIN_RED", SWIG_From_int(static_cast(WX_GL_MIN_RED))); } { - PyDict_SetItemString(d,"WX_GL_MIN_GREEN", SWIG_From_int((int)(WX_GL_MIN_GREEN))); + PyDict_SetItemString(d,"WX_GL_MIN_GREEN", SWIG_From_int(static_cast(WX_GL_MIN_GREEN))); } { - PyDict_SetItemString(d,"WX_GL_MIN_BLUE", SWIG_From_int((int)(WX_GL_MIN_BLUE))); + PyDict_SetItemString(d,"WX_GL_MIN_BLUE", SWIG_From_int(static_cast(WX_GL_MIN_BLUE))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ALPHA", SWIG_From_int((int)(WX_GL_MIN_ALPHA))); + PyDict_SetItemString(d,"WX_GL_MIN_ALPHA", SWIG_From_int(static_cast(WX_GL_MIN_ALPHA))); } { - PyDict_SetItemString(d,"WX_GL_DEPTH_SIZE", SWIG_From_int((int)(WX_GL_DEPTH_SIZE))); + PyDict_SetItemString(d,"WX_GL_DEPTH_SIZE", SWIG_From_int(static_cast(WX_GL_DEPTH_SIZE))); } { - PyDict_SetItemString(d,"WX_GL_STENCIL_SIZE", SWIG_From_int((int)(WX_GL_STENCIL_SIZE))); + PyDict_SetItemString(d,"WX_GL_STENCIL_SIZE", SWIG_From_int(static_cast(WX_GL_STENCIL_SIZE))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_RED", SWIG_From_int((int)(WX_GL_MIN_ACCUM_RED))); + PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_RED", SWIG_From_int(static_cast(WX_GL_MIN_ACCUM_RED))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_GREEN", SWIG_From_int((int)(WX_GL_MIN_ACCUM_GREEN))); + PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_GREEN", SWIG_From_int(static_cast(WX_GL_MIN_ACCUM_GREEN))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_BLUE", SWIG_From_int((int)(WX_GL_MIN_ACCUM_BLUE))); + PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_BLUE", SWIG_From_int(static_cast(WX_GL_MIN_ACCUM_BLUE))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_ALPHA", SWIG_From_int((int)(WX_GL_MIN_ACCUM_ALPHA))); + PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_ALPHA", SWIG_From_int(static_cast(WX_GL_MIN_ACCUM_ALPHA))); } diff --git a/wxPython/contrib/glcanvas/mac/glcanvas.py b/wxPython/contrib/glcanvas/mac/glcanvas.py index 936a64b45c..50aa1a6e41 100644 --- a/wxPython/contrib/glcanvas/mac/glcanvas.py +++ b/wxPython/contrib/glcanvas/mac/glcanvas.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -165,3 +165,4 @@ def GLCanvasWithContext(*args, **kwargs): return val + diff --git a/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp b/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp index eac3d198d0..836893096a 100644 --- a/wxPython/contrib/glcanvas/mac/glcanvas_wrap.cpp +++ b/wxPython/contrib/glcanvas/mac/glcanvas_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,24 +1431,101 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxGLCanvas swig_types[0] -#define SWIGTYPE_p_wxObject swig_types[1] -#define SWIGTYPE_p_unsigned_char swig_types[2] -#define SWIGTYPE_p_wxGLContext swig_types[3] -#define SWIGTYPE_p_wxWindow swig_types[4] -#define SWIGTYPE_p_unsigned_long swig_types[5] -#define SWIGTYPE_p_form_ops_t swig_types[6] -#define SWIGTYPE_p_unsigned_int swig_types[7] -#define SWIGTYPE_unsigned_int swig_types[8] -#define SWIGTYPE_p_wxDuplexMode swig_types[9] -#define SWIGTYPE_p_char swig_types[10] -#define SWIGTYPE_p_wxEvtHandler swig_types[11] -#define SWIGTYPE_p_wxPalette swig_types[12] -#define SWIGTYPE_std__ptrdiff_t swig_types[13] -#define SWIGTYPE_ptrdiff_t swig_types[14] -#define SWIGTYPE_p_wxPaperSize swig_types[15] -#define SWIGTYPE_p_int swig_types[16] -static swig_type_info *swig_types[18]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBoxSizer swig_types[10] +#define SWIGTYPE_p_wxCURHandler swig_types[11] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[12] +#define SWIGTYPE_p_wxCloseEvent swig_types[13] +#define SWIGTYPE_p_wxCommandEvent swig_types[14] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[15] +#define SWIGTYPE_p_wxControl swig_types[16] +#define SWIGTYPE_p_wxControlWithItems swig_types[17] +#define SWIGTYPE_p_wxDateEvent swig_types[18] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[19] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[20] +#define SWIGTYPE_p_wxDuplexMode swig_types[21] +#define SWIGTYPE_p_wxEraseEvent swig_types[22] +#define SWIGTYPE_p_wxEvent swig_types[23] +#define SWIGTYPE_p_wxEvtHandler swig_types[24] +#define SWIGTYPE_p_wxFSFile swig_types[25] +#define SWIGTYPE_p_wxFileSystem swig_types[26] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[27] +#define SWIGTYPE_p_wxFocusEvent swig_types[28] +#define SWIGTYPE_p_wxGBSizerItem swig_types[29] +#define SWIGTYPE_p_wxGIFHandler swig_types[30] +#define SWIGTYPE_p_wxGLCanvas swig_types[31] +#define SWIGTYPE_p_wxGLContext swig_types[32] +#define SWIGTYPE_p_wxGridBagSizer swig_types[33] +#define SWIGTYPE_p_wxGridSizer swig_types[34] +#define SWIGTYPE_p_wxICOHandler swig_types[35] +#define SWIGTYPE_p_wxIconizeEvent swig_types[36] +#define SWIGTYPE_p_wxIdleEvent swig_types[37] +#define SWIGTYPE_p_wxImage swig_types[38] +#define SWIGTYPE_p_wxImageHandler swig_types[39] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[40] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[41] +#define SWIGTYPE_p_wxJPEGHandler swig_types[42] +#define SWIGTYPE_p_wxKeyEvent swig_types[43] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[44] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[45] +#define SWIGTYPE_p_wxMenu swig_types[46] +#define SWIGTYPE_p_wxMenuBar swig_types[47] +#define SWIGTYPE_p_wxMenuEvent swig_types[48] +#define SWIGTYPE_p_wxMenuItem swig_types[49] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[50] +#define SWIGTYPE_p_wxMouseEvent swig_types[51] +#define SWIGTYPE_p_wxMoveEvent swig_types[52] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[53] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[54] +#define SWIGTYPE_p_wxNotifyEvent swig_types[55] +#define SWIGTYPE_p_wxObject swig_types[56] +#define SWIGTYPE_p_wxPCXHandler swig_types[57] +#define SWIGTYPE_p_wxPNGHandler swig_types[58] +#define SWIGTYPE_p_wxPNMHandler swig_types[59] +#define SWIGTYPE_p_wxPaintEvent swig_types[60] +#define SWIGTYPE_p_wxPalette swig_types[61] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[62] +#define SWIGTYPE_p_wxPaperSize swig_types[63] +#define SWIGTYPE_p_wxPyApp swig_types[64] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[65] +#define SWIGTYPE_p_wxPyEvent swig_types[66] +#define SWIGTYPE_p_wxPyImageHandler swig_types[67] +#define SWIGTYPE_p_wxPySizer swig_types[68] +#define SWIGTYPE_p_wxPyValidator swig_types[69] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[70] +#define SWIGTYPE_p_wxScrollEvent swig_types[71] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[72] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[73] +#define SWIGTYPE_p_wxShowEvent swig_types[74] +#define SWIGTYPE_p_wxSizeEvent swig_types[75] +#define SWIGTYPE_p_wxSizer swig_types[76] +#define SWIGTYPE_p_wxSizerItem swig_types[77] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[78] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[79] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[80] +#define SWIGTYPE_p_wxTIFFHandler swig_types[81] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[82] +#define SWIGTYPE_p_wxValidator swig_types[83] +#define SWIGTYPE_p_wxWindow swig_types[84] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[85] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[86] +#define SWIGTYPE_p_wxXPMHandler swig_types[87] +#define SWIGTYPE_ptrdiff_t swig_types[88] +#define SWIGTYPE_std__ptrdiff_t swig_types[89] +#define SWIGTYPE_unsigned_int swig_types[90] +static swig_type_info *swig_types[92]; +static swig_module_info swig_module = {swig_types, 91, 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) -------- */ @@ -1425,7 +1594,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; @@ -1439,7 +1608,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1472,7 +1641,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1486,7 +1655,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1497,12 +1666,12 @@ static wxGLContext *new_wxGLContext(bool isRGB,wxGLCanvas *win,wxPalette const & return new wxGLContext(fmt, win, palette, other); } - /*@/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 /*@@*/ -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1516,7 +1685,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1530,14 +1699,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); @@ -1553,7 +1722,7 @@ static int _wrap_GLCanvasNameStr_set(PyObject *) { static PyObject *_wrap_GLCanvasNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1567,7 +1736,7 @@ static PyObject *_wrap_GLCanvasNameStr_get(void) { static PyObject *_wrap_new_GLContext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; wxGLCanvas *arg2 = (wxGLCanvas *) 0 ; wxPalette const &arg3_defvalue = wxNullPalette ; @@ -1584,7 +1753,7 @@ static PyObject *_wrap_new_GLContext(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GLContext",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGLCanvas, SWIG_POINTER_EXCEPTION | 0); @@ -1619,7 +1788,7 @@ static PyObject *_wrap_new_GLContext(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_GLContext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1644,7 +1813,7 @@ static PyObject *_wrap_delete_GLContext(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GLContext_SetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1669,7 +1838,7 @@ static PyObject *_wrap_GLContext_SetCurrent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -1710,7 +1879,7 @@ static PyObject *_wrap_GLContext_SetColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLContext_SwapBuffers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1735,7 +1904,7 @@ static PyObject *_wrap_GLContext_SwapBuffers(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GLContext_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLContext *arg1 = (wxGLContext *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -1770,7 +1939,7 @@ static PyObject * GLContext_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -1805,7 +1974,7 @@ static PyObject *_wrap_new_GLCanvas(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; } } @@ -1823,7 +1992,7 @@ static PyObject *_wrap_new_GLCanvas(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; } } @@ -1888,7 +2057,7 @@ static PyObject *_wrap_new_GLCanvas(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxGLContext *arg2 = (wxGLContext *) NULL ; int arg3 = (int) -1 ; @@ -1929,7 +2098,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(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; } } @@ -1947,7 +2116,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(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; } } @@ -2012,7 +2181,7 @@ static PyObject *_wrap_new_GLCanvasWithContext(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GLCanvas_SetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2037,7 +2206,7 @@ static PyObject *_wrap_GLCanvas_SetCurrent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2078,7 +2247,7 @@ static PyObject *_wrap_GLCanvas_SetColour(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GLCanvas_SwapBuffers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2103,7 +2272,7 @@ static PyObject *_wrap_GLCanvas_SwapBuffers(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GLCanvas_GetContext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; wxGLContext *result; PyObject * obj0 = 0 ; @@ -2429,43 +2598,376 @@ static void *_p_wxGLCanvasTo_p_wxEvtHandler(void *x) { static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { return (void *)((wxEvtHandler *) ((wxMenu *) x)); } -static swig_type_info _swigt__p_wxGLCanvas[] = {{"_p_wxGLCanvas", 0, "wxGLCanvas *", 0, 0, 0, 0},{"_p_wxGLCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxActivateEvent", _p_wxActivateEventTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxGLContext[] = {{"_p_wxGLContext", 0, "wxGLContext *", 0, 0, 0, 0},{"_p_wxGLContext", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxWindow, 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_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_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__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_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_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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 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__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__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_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 *swig_types_initial[] = { -_swigt__p_wxGLCanvas, -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxGLContext, -_swigt__p_wxWindow, -_swigt__p_unsigned_long, -_swigt__p_form_ops_t, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxDuplexMode, -_swigt__p_char, -_swigt__p_wxEvtHandler, -_swigt__p_wxPalette, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxPaperSize, -_swigt__p_int, -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_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGLCanvas = {"_p_wxGLCanvas", "wxGLCanvas *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGLContext = {"_p_wxGLContext", "wxGLContext *", 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_wxScrollEvent = {"_p_wxScrollEvent", 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_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 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_wxInitDialogEvent = {"_p_wxInitDialogEvent", 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_wxSetCursorEvent = {"_p_wxSetCursorEvent", 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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 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_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPalette = {"_p_wxPalette", "wxPalette *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 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_wxBMPHandler, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGLCanvas, + &_swigt__p_wxGLContext, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_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_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPalette, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 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_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGLCanvas, _p_wxGLCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGLCanvas[] = { {&_swigt__p_wxGLCanvas, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGLContext[] = { {&_swigt__p_wxGLContext, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = {{&_swigt__p_wxEvent, 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_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 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_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 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_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_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 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_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 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_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 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_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 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_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGLContext, _p_wxGLContextTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGLCanvas, _p_wxGLCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPalette[] = { {&_swigt__p_wxPalette, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGLCanvas, _p_wxGLCanvasTo_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_wxBMPHandler, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGLCanvas, + _swigc__p_wxGLContext, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _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_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPalette, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -2477,6 +2979,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 @@ -2494,7 +3207,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; @@ -2504,13 +3217,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; @@ -2523,7 +3236,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -2536,7 +3249,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) { @@ -2549,72 +3262,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; } @@ -2623,11 +3353,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); @@ -2664,7 +3394,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, @@ -2676,7 +3406,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]); @@ -2689,14 +3419,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; + } + } } } } @@ -2706,69 +3440,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 @@ -2777,93 +3448,72 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"GLCanvasNameStr",_wrap_GLCanvasNameStr_get, _wrap_GLCanvasNameStr_set); { - PyDict_SetItemString(d,"WX_GL_RGBA", SWIG_From_int((int)(WX_GL_RGBA))); + PyDict_SetItemString(d,"WX_GL_RGBA", SWIG_From_int(static_cast(WX_GL_RGBA))); } { - PyDict_SetItemString(d,"WX_GL_BUFFER_SIZE", SWIG_From_int((int)(WX_GL_BUFFER_SIZE))); + PyDict_SetItemString(d,"WX_GL_BUFFER_SIZE", SWIG_From_int(static_cast(WX_GL_BUFFER_SIZE))); } { - PyDict_SetItemString(d,"WX_GL_LEVEL", SWIG_From_int((int)(WX_GL_LEVEL))); + PyDict_SetItemString(d,"WX_GL_LEVEL", SWIG_From_int(static_cast(WX_GL_LEVEL))); } { - PyDict_SetItemString(d,"WX_GL_DOUBLEBUFFER", SWIG_From_int((int)(WX_GL_DOUBLEBUFFER))); + PyDict_SetItemString(d,"WX_GL_DOUBLEBUFFER", SWIG_From_int(static_cast(WX_GL_DOUBLEBUFFER))); } { - PyDict_SetItemString(d,"WX_GL_STEREO", SWIG_From_int((int)(WX_GL_STEREO))); + PyDict_SetItemString(d,"WX_GL_STEREO", SWIG_From_int(static_cast(WX_GL_STEREO))); } { - PyDict_SetItemString(d,"WX_GL_AUX_BUFFERS", SWIG_From_int((int)(WX_GL_AUX_BUFFERS))); + PyDict_SetItemString(d,"WX_GL_AUX_BUFFERS", SWIG_From_int(static_cast(WX_GL_AUX_BUFFERS))); } { - PyDict_SetItemString(d,"WX_GL_MIN_RED", SWIG_From_int((int)(WX_GL_MIN_RED))); + PyDict_SetItemString(d,"WX_GL_MIN_RED", SWIG_From_int(static_cast(WX_GL_MIN_RED))); } { - PyDict_SetItemString(d,"WX_GL_MIN_GREEN", SWIG_From_int((int)(WX_GL_MIN_GREEN))); + PyDict_SetItemString(d,"WX_GL_MIN_GREEN", SWIG_From_int(static_cast(WX_GL_MIN_GREEN))); } { - PyDict_SetItemString(d,"WX_GL_MIN_BLUE", SWIG_From_int((int)(WX_GL_MIN_BLUE))); + PyDict_SetItemString(d,"WX_GL_MIN_BLUE", SWIG_From_int(static_cast(WX_GL_MIN_BLUE))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ALPHA", SWIG_From_int((int)(WX_GL_MIN_ALPHA))); + PyDict_SetItemString(d,"WX_GL_MIN_ALPHA", SWIG_From_int(static_cast(WX_GL_MIN_ALPHA))); } { - PyDict_SetItemString(d,"WX_GL_DEPTH_SIZE", SWIG_From_int((int)(WX_GL_DEPTH_SIZE))); + PyDict_SetItemString(d,"WX_GL_DEPTH_SIZE", SWIG_From_int(static_cast(WX_GL_DEPTH_SIZE))); } { - PyDict_SetItemString(d,"WX_GL_STENCIL_SIZE", SWIG_From_int((int)(WX_GL_STENCIL_SIZE))); + PyDict_SetItemString(d,"WX_GL_STENCIL_SIZE", SWIG_From_int(static_cast(WX_GL_STENCIL_SIZE))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_RED", SWIG_From_int((int)(WX_GL_MIN_ACCUM_RED))); + PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_RED", SWIG_From_int(static_cast(WX_GL_MIN_ACCUM_RED))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_GREEN", SWIG_From_int((int)(WX_GL_MIN_ACCUM_GREEN))); + PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_GREEN", SWIG_From_int(static_cast(WX_GL_MIN_ACCUM_GREEN))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_BLUE", SWIG_From_int((int)(WX_GL_MIN_ACCUM_BLUE))); + PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_BLUE", SWIG_From_int(static_cast(WX_GL_MIN_ACCUM_BLUE))); } { - PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_ALPHA", SWIG_From_int((int)(WX_GL_MIN_ACCUM_ALPHA))); + PyDict_SetItemString(d,"WX_GL_MIN_ACCUM_ALPHA", SWIG_From_int(static_cast(WX_GL_MIN_ACCUM_ALPHA))); } diff --git a/wxPython/contrib/stc/gtk/stc.py b/wxPython/contrib/stc/gtk/stc.py index 1f0c46e07f..6611db0026 100644 --- a/wxPython/contrib/stc/gtk/stc.py +++ b/wxPython/contrib/stc/gtk/stc.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -5060,3 +5060,4 @@ EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 ) EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) + diff --git a/wxPython/contrib/stc/gtk/stc_wrap.cpp b/wxPython/contrib/stc/gtk/stc_wrap.cpp index b761b24ac8..4250616efc 100644 --- a/wxPython/contrib/stc/gtk/stc_wrap.cpp +++ b/wxPython/contrib/stc/gtk/stc_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,35 +1431,119 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxRect swig_types[0] -#define SWIGTYPE_p_wxObject swig_types[1] -#define SWIGTYPE_p_unsigned_char swig_types[2] -#define SWIGTYPE_p_wxColour swig_types[3] -#define SWIGTYPE_p_wxScrollBar swig_types[4] -#define SWIGTYPE_p_wxStyledTextEvent swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_wxCommandEvent swig_types[7] -#define SWIGTYPE_p_unsigned_long swig_types[8] -#define SWIGTYPE_p_wxBitmap swig_types[9] -#define SWIGTYPE_p_unsigned_int swig_types[10] -#define SWIGTYPE_unsigned_int swig_types[11] -#define SWIGTYPE_p_form_ops_t swig_types[12] -#define SWIGTYPE_p_wxDuplexMode swig_types[13] -#define SWIGTYPE_p_void swig_types[14] -#define SWIGTYPE_p_char swig_types[15] -#define SWIGTYPE_p_wxPoint swig_types[16] -#define SWIGTYPE_p_wxDC swig_types[17] -#define SWIGTYPE_p_wxEvtHandler swig_types[18] -#define SWIGTYPE_std__ptrdiff_t swig_types[19] -#define SWIGTYPE_ptrdiff_t swig_types[20] -#define SWIGTYPE_p_wxStyledTextCtrl swig_types[21] -#define SWIGTYPE_p_wxFont swig_types[22] -#define SWIGTYPE_p_wxControl swig_types[23] -#define SWIGTYPE_p_wxEvent swig_types[24] -#define SWIGTYPE_p_wxPaperSize swig_types[25] -#define SWIGTYPE_p_int swig_types[26] -#define SWIGTYPE_p_wxMemoryBuffer swig_types[27] -static swig_type_info *swig_types[29]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_form_ops_t swig_types[1] +#define SWIGTYPE_p_int swig_types[2] +#define SWIGTYPE_p_unsigned_char swig_types[3] +#define SWIGTYPE_p_unsigned_int swig_types[4] +#define SWIGTYPE_p_unsigned_long swig_types[5] +#define SWIGTYPE_p_void swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxBMPHandler swig_types[10] +#define SWIGTYPE_p_wxBitmap swig_types[11] +#define SWIGTYPE_p_wxBoxSizer swig_types[12] +#define SWIGTYPE_p_wxBusyInfo swig_types[13] +#define SWIGTYPE_p_wxCURHandler swig_types[14] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[15] +#define SWIGTYPE_p_wxClipboard swig_types[16] +#define SWIGTYPE_p_wxCloseEvent swig_types[17] +#define SWIGTYPE_p_wxColour swig_types[18] +#define SWIGTYPE_p_wxCommandEvent swig_types[19] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[20] +#define SWIGTYPE_p_wxControl swig_types[21] +#define SWIGTYPE_p_wxControlWithItems swig_types[22] +#define SWIGTYPE_p_wxDC swig_types[23] +#define SWIGTYPE_p_wxDateEvent swig_types[24] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[26] +#define SWIGTYPE_p_wxDuplexMode swig_types[27] +#define SWIGTYPE_p_wxEraseEvent swig_types[28] +#define SWIGTYPE_p_wxEvent swig_types[29] +#define SWIGTYPE_p_wxEvtHandler swig_types[30] +#define SWIGTYPE_p_wxFSFile swig_types[31] +#define SWIGTYPE_p_wxFileHistory swig_types[32] +#define SWIGTYPE_p_wxFileSystem swig_types[33] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[34] +#define SWIGTYPE_p_wxFocusEvent swig_types[35] +#define SWIGTYPE_p_wxFont swig_types[36] +#define SWIGTYPE_p_wxGBSizerItem swig_types[37] +#define SWIGTYPE_p_wxGIFHandler swig_types[38] +#define SWIGTYPE_p_wxGridBagSizer swig_types[39] +#define SWIGTYPE_p_wxGridSizer swig_types[40] +#define SWIGTYPE_p_wxICOHandler swig_types[41] +#define SWIGTYPE_p_wxIconizeEvent swig_types[42] +#define SWIGTYPE_p_wxIdleEvent swig_types[43] +#define SWIGTYPE_p_wxImage swig_types[44] +#define SWIGTYPE_p_wxImageHandler swig_types[45] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[47] +#define SWIGTYPE_p_wxJPEGHandler swig_types[48] +#define SWIGTYPE_p_wxJoystickEvent swig_types[49] +#define SWIGTYPE_p_wxKeyEvent swig_types[50] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[51] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[52] +#define SWIGTYPE_p_wxMemoryBuffer swig_types[53] +#define SWIGTYPE_p_wxMenu swig_types[54] +#define SWIGTYPE_p_wxMenuBar swig_types[55] +#define SWIGTYPE_p_wxMenuEvent swig_types[56] +#define SWIGTYPE_p_wxMenuItem swig_types[57] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58] +#define SWIGTYPE_p_wxMouseEvent swig_types[59] +#define SWIGTYPE_p_wxMoveEvent swig_types[60] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[62] +#define SWIGTYPE_p_wxNotifyEvent swig_types[63] +#define SWIGTYPE_p_wxObject swig_types[64] +#define SWIGTYPE_p_wxPCXHandler swig_types[65] +#define SWIGTYPE_p_wxPNGHandler swig_types[66] +#define SWIGTYPE_p_wxPNMHandler swig_types[67] +#define SWIGTYPE_p_wxPaintEvent swig_types[68] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69] +#define SWIGTYPE_p_wxPaperSize swig_types[70] +#define SWIGTYPE_p_wxPoint swig_types[71] +#define SWIGTYPE_p_wxProcessEvent swig_types[72] +#define SWIGTYPE_p_wxPyApp swig_types[73] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[74] +#define SWIGTYPE_p_wxPyEvent swig_types[75] +#define SWIGTYPE_p_wxPyImageHandler swig_types[76] +#define SWIGTYPE_p_wxPyProcess swig_types[77] +#define SWIGTYPE_p_wxPySizer swig_types[78] +#define SWIGTYPE_p_wxPyTimer swig_types[79] +#define SWIGTYPE_p_wxPyValidator swig_types[80] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81] +#define SWIGTYPE_p_wxRect swig_types[82] +#define SWIGTYPE_p_wxScrollBar swig_types[83] +#define SWIGTYPE_p_wxScrollEvent swig_types[84] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[85] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[86] +#define SWIGTYPE_p_wxShowEvent swig_types[87] +#define SWIGTYPE_p_wxSizeEvent swig_types[88] +#define SWIGTYPE_p_wxSizer swig_types[89] +#define SWIGTYPE_p_wxSizerItem swig_types[90] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[91] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[92] +#define SWIGTYPE_p_wxStyledTextCtrl swig_types[93] +#define SWIGTYPE_p_wxStyledTextEvent swig_types[94] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[95] +#define SWIGTYPE_p_wxSystemOptions swig_types[96] +#define SWIGTYPE_p_wxTIFFHandler swig_types[97] +#define SWIGTYPE_p_wxTimerEvent swig_types[98] +#define SWIGTYPE_p_wxToolTip swig_types[99] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[100] +#define SWIGTYPE_p_wxValidator swig_types[101] +#define SWIGTYPE_p_wxWindow swig_types[102] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[103] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[104] +#define SWIGTYPE_p_wxXPMHandler swig_types[105] +#define SWIGTYPE_ptrdiff_t swig_types[106] +#define SWIGTYPE_std__ptrdiff_t swig_types[107] +#define SWIGTYPE_unsigned_int swig_types[108] +static swig_type_info *swig_types[110]; +static swig_module_info swig_module = {swig_types, 109, 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) -------- */ @@ -1386,7 +1562,7 @@ static swig_type_info *swig_types[29]; static const wxString wxPySTCNameStr(wxSTCNameStr); - /*@/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 /*@@*/ @@ -1439,7 +1615,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; @@ -1453,7 +1629,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1461,7 +1637,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1475,7 +1651,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1489,14 +1665,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); @@ -1528,7 +1704,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1542,7 +1718,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1607,7 +1783,7 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsCharPtr(PyObject *obj, char **val) { if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { @@ -1621,7 +1797,7 @@ SWIG_AsCharPtr(PyObject *obj, char **val) } - /*@/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 /*@@*/ @@ -1635,7 +1811,7 @@ static int _wrap_STCNameStr_set(PyObject *) { static PyObject *_wrap_STCNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1649,7 +1825,7 @@ static PyObject *_wrap_STCNameStr_get(void) { static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -1678,7 +1854,7 @@ static PyObject *_wrap_new_StyledTextCtrl(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; } } @@ -1696,7 +1872,7 @@ static PyObject *_wrap_new_StyledTextCtrl(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; } } @@ -1731,7 +1907,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *result; char *kwnames[] = { NULL @@ -1754,7 +1930,7 @@ static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) wxID_ANY ; @@ -1787,7 +1963,7 @@ static PyObject *_wrap_StyledTextCtrl_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; } } @@ -1805,7 +1981,7 @@ static PyObject *_wrap_StyledTextCtrl_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; } } @@ -1841,7 +2017,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -1882,7 +2058,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxMemoryBuffer *arg2 = 0 ; bool temp2 = false ; @@ -1928,7 +2104,7 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -1944,7 +2120,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -1975,7 +2151,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2000,7 +2176,7 @@ static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2025,7 +2201,7 @@ static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2044,7 +2220,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLength(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: @@ -2053,7 +2229,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -2067,7 +2243,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2078,7 +2254,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(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: @@ -2087,7 +2263,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2106,7 +2282,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2115,7 +2291,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2134,7 +2310,7 @@ static PyObject *_wrap_StyledTextCtrl_GetAnchor(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: @@ -2143,7 +2319,7 @@ static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -2157,7 +2333,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2168,7 +2344,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(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: @@ -2177,7 +2353,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2202,7 +2378,7 @@ static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2215,7 +2391,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -2233,7 +2409,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2258,7 +2434,7 @@ static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2283,7 +2459,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2299,11 +2475,11 @@ static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2323,7 +2499,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2351,7 +2527,7 @@ static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -2365,7 +2541,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2376,7 +2552,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2385,7 +2561,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2398,7 +2574,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2416,7 +2592,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2444,7 +2620,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2463,7 +2639,7 @@ static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2472,7 +2648,7 @@ static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2485,7 +2661,7 @@ static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2503,7 +2679,7 @@ static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxPoint arg2 ; int result; @@ -2534,7 +2710,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2543,7 +2719,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2559,11 +2735,11 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2574,7 +2750,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2583,7 +2759,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObjec static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2596,7 +2772,7 @@ static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2614,7 +2790,7 @@ static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2627,7 +2803,7 @@ static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2645,7 +2821,7 @@ static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2658,7 +2834,7 @@ static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2676,7 +2852,7 @@ static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int *arg2 = (int *) 0 ; wxString result; @@ -2714,7 +2890,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2733,7 +2909,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndStyled(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: @@ -2742,7 +2918,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2755,7 +2931,7 @@ static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2773,7 +2949,7 @@ static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2792,7 +2968,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEOLMode(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: @@ -2801,7 +2977,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2814,7 +2990,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2832,7 +3008,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2847,11 +3023,11 @@ static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2869,7 +3045,7 @@ static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2884,11 +3060,11 @@ static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2906,7 +3082,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2934,7 +3110,7 @@ static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2947,7 +3123,7 @@ static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -2965,7 +3141,7 @@ static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2978,7 +3154,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2996,7 +3172,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3015,7 +3191,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTabWidth(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: @@ -3024,7 +3200,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3037,7 +3213,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3055,7 +3231,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3078,11 +3254,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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) { @@ -3112,7 +3288,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -3128,7 +3304,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3150,7 +3326,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -3166,7 +3342,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3188,7 +3364,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3204,11 +3380,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3219,7 +3395,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(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: @@ -3228,7 +3404,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3243,11 +3419,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3265,7 +3441,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3278,7 +3454,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3296,7 +3472,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -3310,7 +3486,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3321,7 +3497,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(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: @@ -3330,7 +3506,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3346,11 +3522,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3361,7 +3537,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(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: @@ -3370,7 +3546,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3386,11 +3562,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3401,7 +3577,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3410,7 +3586,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxBitmap *arg3 = 0 ; @@ -3425,7 +3601,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3451,7 +3627,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3466,11 +3642,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3488,7 +3664,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -3502,7 +3678,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3513,7 +3689,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3522,7 +3698,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3537,11 +3713,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3559,7 +3735,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -3573,7 +3749,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3584,7 +3760,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3593,7 +3769,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3608,11 +3784,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3630,7 +3806,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -3644,7 +3820,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3655,7 +3831,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3664,7 +3840,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -3679,11 +3855,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3701,7 +3877,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool result; @@ -3715,7 +3891,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3735,7 +3911,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3760,7 +3936,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -3776,7 +3952,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3798,7 +3974,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -3814,7 +3990,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3836,7 +4012,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -3851,11 +4027,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3873,7 +4049,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -3888,11 +4064,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3910,7 +4086,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3925,11 +4101,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3947,7 +4123,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -3963,7 +4139,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3994,7 +4170,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -4009,11 +4185,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4031,7 +4207,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4056,7 +4232,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -4071,11 +4247,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4093,7 +4269,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4108,11 +4284,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4130,7 +4306,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -4145,11 +4321,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4167,7 +4343,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -4183,7 +4359,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -4205,7 +4381,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -4221,7 +4397,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -4243,7 +4419,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -4275,7 +4451,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4292,15 +4468,15 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4318,7 +4494,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4333,11 +4509,11 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4355,7 +4531,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4380,7 +4556,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; @@ -4395,7 +4571,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { @@ -4416,7 +4592,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -4431,11 +4607,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4453,7 +4629,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4472,7 +4648,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4481,7 +4657,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4494,7 +4670,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4512,7 +4688,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4553,7 +4729,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4578,7 +4754,7 @@ static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4603,7 +4779,7 @@ static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4618,11 +4794,11 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4640,7 +4816,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -4654,7 +4830,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4665,7 +4841,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4674,7 +4850,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -4690,7 +4866,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4712,7 +4888,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObjec static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour result; @@ -4726,7 +4902,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4738,7 +4914,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -4748,7 +4924,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObjec static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -4764,7 +4940,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -4786,7 +4962,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -4802,7 +4978,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -4824,7 +5000,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4837,7 +5013,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4855,7 +5031,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4874,7 +5050,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleBits(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: @@ -4883,7 +5059,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4898,11 +5074,11 @@ static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4920,7 +5096,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -4934,7 +5110,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4945,7 +5121,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(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: @@ -4954,7 +5130,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4973,7 +5149,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4982,7 +5158,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5010,7 +5186,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5023,7 +5199,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5041,7 +5217,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -5061,7 +5237,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *arg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -5071,7 +5247,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -5103,7 +5279,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -5118,11 +5294,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5140,7 +5316,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -5156,7 +5332,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5187,7 +5363,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5212,7 +5388,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5240,7 +5416,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5259,7 +5435,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5268,7 +5444,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5293,7 +5469,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5334,7 +5510,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5347,7 +5523,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5365,7 +5541,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5384,7 +5560,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5393,7 +5569,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5434,7 +5610,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5447,7 +5623,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5465,7 +5641,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObj static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5493,7 +5669,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObj static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5534,7 +5710,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5547,7 +5723,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5565,7 +5741,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5593,7 +5769,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5606,7 +5782,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5624,7 +5800,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5652,7 +5828,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -5668,7 +5844,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5699,7 +5875,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5712,7 +5888,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5730,7 +5906,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5758,7 +5934,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5771,7 +5947,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5789,7 +5965,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5817,7 +5993,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxBitmap *arg3 = 0 ; @@ -5832,7 +6008,7 @@ static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5858,7 +6034,7 @@ static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5883,7 +6059,7 @@ static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5902,7 +6078,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5911,7 +6087,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObj static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5924,7 +6100,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5942,7 +6118,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObj static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5955,7 +6131,7 @@ static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5973,7 +6149,7 @@ static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5992,7 +6168,7 @@ static PyObject *_wrap_StyledTextCtrl_GetIndent(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: @@ -6001,7 +6177,7 @@ static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -6014,7 +6190,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -6032,7 +6208,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6060,7 +6236,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -6075,11 +6251,11 @@ static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6097,7 +6273,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -6111,7 +6287,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6122,7 +6298,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6131,7 +6307,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -6145,7 +6321,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6156,7 +6332,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6165,7 +6341,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -6179,7 +6355,7 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6190,7 +6366,7 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(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: @@ -6199,7 +6375,7 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -6212,7 +6388,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -6230,7 +6406,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6258,7 +6434,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -6271,7 +6447,7 @@ static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -6289,7 +6465,7 @@ static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6317,7 +6493,7 @@ static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6330,7 +6506,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6348,7 +6524,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6367,7 +6543,7 @@ static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6376,7 +6552,7 @@ static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -6390,7 +6566,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6401,7 +6577,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6410,7 +6586,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6429,7 +6605,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCodePage(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: @@ -6438,7 +6614,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -6458,7 +6634,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -6468,7 +6644,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6496,7 +6672,7 @@ static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6509,7 +6685,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6527,7 +6703,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6540,7 +6716,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6558,7 +6734,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6577,7 +6753,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6586,7 +6762,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6599,7 +6775,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6617,7 +6793,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6636,7 +6812,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6645,7 +6821,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6658,7 +6834,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6676,7 +6852,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6695,7 +6871,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6704,7 +6880,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6717,7 +6893,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6735,7 +6911,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6754,7 +6930,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6763,7 +6939,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -6784,11 +6960,11 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6798,7 +6974,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -6810,7 +6986,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp4) @@ -6827,7 +7003,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; int arg3 ; @@ -6853,15 +7029,15 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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 = (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; } SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); @@ -6896,7 +7072,7 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(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: @@ -6905,7 +7081,7 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6924,7 +7100,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6933,7 +7109,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString result; @@ -6947,7 +7123,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6971,7 +7147,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6990,7 +7166,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineCount(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: @@ -6999,7 +7175,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7012,7 +7188,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7030,7 +7206,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7049,7 +7225,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7058,7 +7234,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7071,7 +7247,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7089,7 +7265,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7108,7 +7284,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7117,7 +7293,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7145,7 +7321,7 @@ static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -7160,11 +7336,11 @@ static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7182,7 +7358,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7214,7 +7390,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -7230,11 +7406,11 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7258,7 +7434,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -7271,7 +7447,7 @@ static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -7289,7 +7465,7 @@ static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -7303,7 +7479,7 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7314,7 +7490,7 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7323,7 +7499,7 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -7337,7 +7513,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7348,7 +7524,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7357,7 +7533,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -7372,11 +7548,11 @@ static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7394,7 +7570,7 @@ static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7419,7 +7595,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7460,7 +7636,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -7473,7 +7649,7 @@ static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -7491,7 +7667,7 @@ static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7519,7 +7695,7 @@ static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7547,7 +7723,7 @@ static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7572,7 +7748,7 @@ static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7597,7 +7773,7 @@ static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7622,7 +7798,7 @@ static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7647,7 +7823,7 @@ static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7672,7 +7848,7 @@ static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7697,7 +7873,7 @@ static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7738,7 +7914,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7770,7 +7946,7 @@ static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7789,7 +7965,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7798,7 +7974,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -7811,7 +7987,7 @@ static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -7829,7 +8005,7 @@ static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7857,7 +8033,7 @@ static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7870,7 +8046,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7888,7 +8064,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7907,7 +8083,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7916,7 +8092,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7929,7 +8105,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7947,7 +8123,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7966,7 +8142,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7975,7 +8151,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7988,7 +8164,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8006,7 +8182,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8025,7 +8201,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(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: @@ -8034,7 +8210,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; @@ -8061,7 +8237,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -8078,7 +8254,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; @@ -8105,7 +8281,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -8122,7 +8298,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; @@ -8149,7 +8325,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -8166,7 +8342,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8179,7 +8355,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8197,7 +8373,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8216,7 +8392,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8225,7 +8401,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -8241,7 +8417,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8272,7 +8448,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8297,7 +8473,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8325,7 +8501,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8344,7 +8520,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8353,7 +8529,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8368,11 +8544,11 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8390,7 +8566,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8422,7 +8598,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8454,7 +8630,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8486,7 +8662,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -8500,7 +8676,7 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8511,7 +8687,7 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8520,7 +8696,7 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -8534,7 +8710,7 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8545,7 +8721,7 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8554,7 +8730,7 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8569,11 +8745,11 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8591,7 +8767,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -8605,7 +8781,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8616,7 +8792,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(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: @@ -8625,7 +8801,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8641,11 +8817,11 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8656,7 +8832,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(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: @@ -8665,7 +8841,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -8679,7 +8855,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8690,7 +8866,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8699,7 +8875,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8714,11 +8890,11 @@ static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8736,7 +8912,7 @@ static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8751,11 +8927,11 @@ static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8773,7 +8949,7 @@ static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool result; @@ -8787,7 +8963,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8807,7 +8983,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -8822,11 +8998,11 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -8844,7 +9020,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool result; @@ -8858,7 +9034,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8878,7 +9054,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8891,7 +9067,7 @@ static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8909,7 +9085,7 @@ static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8922,7 +9098,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8940,7 +9116,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8953,7 +9129,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8971,7 +9147,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8984,7 +9160,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9002,7 +9178,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9015,7 +9191,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9033,7 +9209,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9061,7 +9237,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9074,7 +9250,7 @@ static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9092,7 +9268,7 @@ static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9120,7 +9296,7 @@ static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9133,7 +9309,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9151,7 +9327,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9170,7 +9346,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9179,7 +9355,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -9195,11 +9371,11 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9210,7 +9386,7 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9219,7 +9395,7 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -9235,11 +9411,11 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9250,7 +9426,7 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9259,7 +9435,7 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9272,7 +9448,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9290,7 +9466,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9309,7 +9485,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(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: @@ -9318,7 +9494,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9331,7 +9507,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9349,7 +9525,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9368,7 +9544,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9377,7 +9553,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9390,7 +9566,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9408,7 +9584,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9427,7 +9603,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9436,7 +9612,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9449,7 +9625,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9467,7 +9643,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9486,7 +9662,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9495,7 +9671,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9508,7 +9684,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9526,7 +9702,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9545,7 +9721,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9554,7 +9730,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9567,7 +9743,7 @@ static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9585,7 +9761,7 @@ static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9604,7 +9780,7 @@ static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9613,7 +9789,7 @@ static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -9630,7 +9806,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9646,7 +9822,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) @@ -9663,7 +9839,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9676,7 +9852,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9694,7 +9870,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9713,7 +9889,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9722,7 +9898,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -9736,7 +9912,7 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9747,7 +9923,7 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(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: @@ -9756,7 +9932,7 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9769,7 +9945,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9787,7 +9963,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9815,7 +9991,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9856,7 +10032,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9884,7 +10060,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9897,7 +10073,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9915,7 +10091,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9940,7 +10116,7 @@ static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9965,7 +10141,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9978,7 +10154,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9996,7 +10172,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -10012,7 +10188,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -10034,7 +10210,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -10050,7 +10226,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -10072,7 +10248,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10097,7 +10273,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10122,7 +10298,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10147,7 +10323,7 @@ static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10172,7 +10348,7 @@ static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10197,7 +10373,7 @@ static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10222,7 +10398,7 @@ static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10247,7 +10423,7 @@ static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10272,7 +10448,7 @@ static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10297,7 +10473,7 @@ static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10322,7 +10498,7 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10347,7 +10523,7 @@ static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10372,7 +10548,7 @@ static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10397,7 +10573,7 @@ static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10422,7 +10598,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10447,7 +10623,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10472,7 +10648,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10497,7 +10673,7 @@ static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10522,7 +10698,7 @@ static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10547,7 +10723,7 @@ static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10572,7 +10748,7 @@ static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10597,7 +10773,7 @@ static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10622,7 +10798,7 @@ static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10647,7 +10823,7 @@ static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10672,7 +10848,7 @@ static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10697,7 +10873,7 @@ static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10722,7 +10898,7 @@ static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10747,7 +10923,7 @@ static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10772,7 +10948,7 @@ static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10797,7 +10973,7 @@ static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10822,7 +10998,7 @@ static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10847,7 +11023,7 @@ static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10872,7 +11048,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10897,7 +11073,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10922,7 +11098,7 @@ static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10947,7 +11123,7 @@ static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10972,7 +11148,7 @@ static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10997,7 +11173,7 @@ static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11022,7 +11198,7 @@ static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11047,7 +11223,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11072,7 +11248,7 @@ static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11097,7 +11273,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11122,7 +11298,7 @@ static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11147,7 +11323,7 @@ static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11172,7 +11348,7 @@ static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11197,7 +11373,7 @@ static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11222,7 +11398,7 @@ static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11247,7 +11423,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11272,7 +11448,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11297,7 +11473,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11322,7 +11498,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11347,7 +11523,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11372,7 +11548,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11397,7 +11573,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11422,7 +11598,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11447,7 +11623,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11472,7 +11648,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11497,7 +11673,7 @@ static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11522,7 +11698,7 @@ static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -11536,7 +11712,7 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11547,7 +11723,7 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(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: @@ -11556,7 +11732,7 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -11571,11 +11747,11 @@ static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11593,7 +11769,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11606,7 +11782,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11624,7 +11800,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -11638,7 +11814,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11649,7 +11825,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(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: @@ -11658,7 +11834,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11686,7 +11862,7 @@ static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -11699,7 +11875,7 @@ static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -11717,7 +11893,7 @@ static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *result; PyObject * obj0 = 0 ; @@ -11743,7 +11919,7 @@ static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *arg2 = (void *) 0 ; PyObject * obj0 = 0 ; @@ -11756,7 +11932,7 @@ static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj1,reinterpret_cast(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(2);SWIG_fail; } } @@ -11775,7 +11951,7 @@ static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11788,7 +11964,7 @@ static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11806,7 +11982,7 @@ static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11825,7 +12001,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11834,7 +12010,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11847,7 +12023,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11865,7 +12041,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11884,7 +12060,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(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: @@ -11893,7 +12069,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11906,7 +12082,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11924,7 +12100,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -11944,7 +12120,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -11954,7 +12130,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -11986,7 +12162,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12011,7 +12187,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -12028,7 +12204,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12044,7 +12220,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) @@ -12061,7 +12237,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -12078,7 +12254,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12094,7 +12270,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) @@ -12111,7 +12287,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12130,7 +12306,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12139,7 +12315,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -12152,7 +12328,7 @@ static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -12170,7 +12346,7 @@ static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12198,7 +12374,7 @@ static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12211,7 +12387,7 @@ static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12229,7 +12405,7 @@ static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12248,7 +12424,7 @@ static PyObject *_wrap_StyledTextCtrl_GetZoom(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: @@ -12257,7 +12433,7 @@ static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *result; PyObject * obj0 = 0 ; @@ -12283,7 +12459,7 @@ static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *arg2 = (void *) 0 ; PyObject * obj0 = 0 ; @@ -12296,7 +12472,7 @@ static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj1,reinterpret_cast(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(2);SWIG_fail; } } @@ -12315,7 +12491,7 @@ static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *arg2 = (void *) 0 ; PyObject * obj0 = 0 ; @@ -12328,7 +12504,7 @@ static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj1,reinterpret_cast(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(2);SWIG_fail; } } @@ -12347,7 +12523,7 @@ static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12366,7 +12542,7 @@ static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12375,7 +12551,7 @@ static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -12388,7 +12564,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -12406,7 +12582,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12434,7 +12610,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12447,7 +12623,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12465,7 +12641,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12484,7 +12660,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStatus(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: @@ -12493,7 +12669,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -12506,7 +12682,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -12524,7 +12700,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12552,7 +12728,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12565,7 +12741,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12583,7 +12759,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12602,7 +12778,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(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: @@ -12611,7 +12787,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12624,7 +12800,7 @@ static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12642,7 +12818,7 @@ static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12661,7 +12837,7 @@ static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12670,7 +12846,7 @@ static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12695,7 +12871,7 @@ static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12720,7 +12896,7 @@ static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12745,7 +12921,7 @@ static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12770,7 +12946,7 @@ static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -12785,11 +12961,11 @@ static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12807,7 +12983,7 @@ static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12832,7 +13008,7 @@ static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12857,7 +13033,7 @@ static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12870,7 +13046,7 @@ static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12888,7 +13064,7 @@ static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12907,7 +13083,7 @@ static PyObject *_wrap_StyledTextCtrl_GetXOffset(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: @@ -12916,7 +13092,7 @@ static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12941,7 +13117,7 @@ static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -12956,11 +13132,11 @@ static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12978,7 +13154,7 @@ static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -12993,11 +13169,11 @@ static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13015,7 +13191,7 @@ static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13028,7 +13204,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13046,7 +13222,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13065,7 +13241,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13074,7 +13250,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -13090,7 +13266,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -13112,7 +13288,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -13128,7 +13304,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -13150,7 +13326,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -13163,7 +13339,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -13181,7 +13357,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -13194,7 +13370,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -13212,7 +13388,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13237,7 +13413,7 @@ static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13262,7 +13438,7 @@ static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13287,7 +13463,7 @@ static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13312,7 +13488,7 @@ static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -13326,7 +13502,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13337,7 +13513,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13346,7 +13522,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -13360,7 +13536,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13371,7 +13547,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13380,7 +13556,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -13395,11 +13571,11 @@ static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13417,7 +13593,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -13433,7 +13609,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13464,7 +13640,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13477,7 +13653,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 +13671,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13514,7 +13690,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13523,7 +13699,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -13537,7 +13713,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13548,7 +13724,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13557,7 +13733,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -13571,7 +13747,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13582,7 +13758,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13591,7 +13767,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13616,7 +13792,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13641,7 +13817,7 @@ static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13666,7 +13842,7 @@ static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13691,7 +13867,7 @@ static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13716,7 +13892,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13741,7 +13917,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13766,7 +13942,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13791,7 +13967,7 @@ static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13816,7 +13992,7 @@ static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13841,7 +14017,7 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13866,7 +14042,7 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13891,7 +14067,7 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13916,7 +14092,7 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13941,7 +14117,7 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13966,7 +14142,7 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13991,7 +14167,7 @@ static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14016,7 +14192,7 @@ static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14057,7 +14233,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14082,7 +14258,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14101,7 +14277,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14110,7 +14286,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14123,7 +14299,7 @@ static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14141,7 +14317,7 @@ static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14157,11 +14333,11 @@ static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14172,7 +14348,7 @@ static PyObject *_wrap_StyledTextCtrl_FindColumn(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: @@ -14181,7 +14357,7 @@ static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14206,7 +14382,7 @@ static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14231,7 +14407,7 @@ static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14244,7 +14420,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14262,7 +14438,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14281,7 +14457,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLexer(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: @@ -14290,7 +14466,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14305,11 +14481,11 @@ static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14327,7 +14503,7 @@ static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -14384,7 +14560,7 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -14400,7 +14576,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14431,7 +14607,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14472,7 +14648,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14491,7 +14667,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14500,7 +14676,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -14516,7 +14692,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14547,7 +14723,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxFont *arg3 = 0 ; @@ -14562,7 +14738,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14588,7 +14764,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14614,11 +14790,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14627,26 +14803,26 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg temp4 = true; } { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } if (obj7) { { - arg8 = (wxFontEncoding)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxFontEncoding )arg8); + (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14667,7 +14843,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14682,11 +14858,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14704,7 +14880,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxFontEncoding arg3 ; @@ -14719,16 +14895,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxFontEncoding)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->StyleSetFontEncoding(arg2,(wxFontEncoding )arg3); + (arg1)->StyleSetFontEncoding(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14741,7 +14917,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14754,7 +14930,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14772,7 +14948,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14787,11 +14963,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14809,7 +14985,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -14846,7 +15022,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxPoint result; @@ -14860,7 +15036,7 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14872,7 +15048,7 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *ar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -14882,7 +15058,7 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14895,7 +15071,7 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14913,7 +15089,7 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14926,7 +15102,7 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14944,7 +15120,7 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; long arg3 = (long) 0 ; @@ -14962,18 +15138,18 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -14985,7 +15161,7 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -14994,7 +15170,7 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxScrollBar *arg2 = (wxScrollBar *) 0 ; PyObject * obj0 = 0 ; @@ -15023,7 +15199,7 @@ static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxScrollBar *arg2 = (wxScrollBar *) 0 ; PyObject * obj0 = 0 ; @@ -15052,7 +15228,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15080,7 +15256,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15093,7 +15269,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -15111,7 +15287,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -15155,7 +15331,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -15199,7 +15375,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -15217,20 +15393,20 @@ static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -15243,7 +15419,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -15262,11 +15438,11 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -15299,7 +15475,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15312,7 +15488,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -15330,7 +15506,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15358,7 +15534,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; char *arg2 = (char *) 0 ; PyObject * obj0 = 0 ; @@ -15388,7 +15564,7 @@ static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; @@ -15403,7 +15579,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { @@ -15424,7 +15600,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int *arg2 = (int *) 0 ; wxCharBuffer result; @@ -15458,7 +15634,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxCharBuffer result; @@ -15472,7 +15648,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15492,7 +15668,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxCharBuffer result; PyObject * obj0 = 0 ; @@ -15520,7 +15696,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -15536,11 +15712,11 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15560,7 +15736,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; char *arg2 = (char *) 0 ; PyObject * obj0 = 0 ; @@ -15590,7 +15766,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxCharBuffer result; PyObject * obj0 = 0 ; @@ -15618,7 +15794,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; char *arg2 = (char *) 0 ; PyObject * obj0 = 0 ; @@ -15655,7 +15831,7 @@ static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) 0 ; int arg2 = (int) 0 ; wxStyledTextEvent *result; @@ -15668,13 +15844,13 @@ static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",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; } } @@ -15693,7 +15869,7 @@ static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15718,7 +15894,7 @@ static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15731,7 +15907,7 @@ static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15749,7 +15925,7 @@ static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15762,7 +15938,7 @@ static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15780,7 +15956,7 @@ static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15793,7 +15969,7 @@ static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15811,7 +15987,7 @@ static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15824,7 +16000,7 @@ static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15842,7 +16018,7 @@ static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -15883,7 +16059,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15896,7 +16072,7 @@ static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15914,7 +16090,7 @@ static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15927,7 +16103,7 @@ static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15945,7 +16121,7 @@ static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15958,7 +16134,7 @@ static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15976,7 +16152,7 @@ static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15989,7 +16165,7 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16007,7 +16183,7 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16020,7 +16196,7 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16038,7 +16214,7 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16051,7 +16227,7 @@ static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16069,7 +16245,7 @@ static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16082,7 +16258,7 @@ static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16100,7 +16276,7 @@ static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16113,7 +16289,7 @@ static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16131,7 +16307,7 @@ static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16144,7 +16320,7 @@ static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16162,7 +16338,7 @@ static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16175,7 +16351,7 @@ static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16193,7 +16369,7 @@ static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16206,7 +16382,7 @@ static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16224,7 +16400,7 @@ static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16237,7 +16413,7 @@ static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16255,7 +16431,7 @@ static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16296,7 +16472,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -16309,7 +16485,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, 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; } { @@ -16327,7 +16503,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxDragResult arg2 ; PyObject * obj0 = 0 ; @@ -16340,12 +16516,12 @@ static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDragResult((wxDragResult )arg2); + (arg1)->SetDragResult(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -16358,7 +16534,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16377,7 +16553,7 @@ static PyObject *_wrap_StyledTextEvent_GetPosition(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: @@ -16386,7 +16562,7 @@ static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16405,7 +16581,7 @@ static PyObject *_wrap_StyledTextEvent_GetKey(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: @@ -16414,7 +16590,7 @@ static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16433,7 +16609,7 @@ static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16442,7 +16618,7 @@ static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16461,7 +16637,7 @@ static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16470,7 +16646,7 @@ static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -16502,7 +16678,7 @@ static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16521,7 +16697,7 @@ static PyObject *_wrap_StyledTextEvent_GetLength(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: @@ -16530,7 +16706,7 @@ static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16549,7 +16725,7 @@ static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16558,7 +16734,7 @@ static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16577,7 +16753,7 @@ static PyObject *_wrap_StyledTextEvent_GetLine(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: @@ -16586,7 +16762,7 @@ static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16605,7 +16781,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16614,7 +16790,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16633,7 +16809,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16642,7 +16818,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16661,7 +16837,7 @@ static PyObject *_wrap_StyledTextEvent_GetMargin(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: @@ -16670,7 +16846,7 @@ static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16689,7 +16865,7 @@ static PyObject *_wrap_StyledTextEvent_GetMessage(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: @@ -16698,7 +16874,7 @@ static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16717,7 +16893,7 @@ static PyObject *_wrap_StyledTextEvent_GetWParam(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: @@ -16726,7 +16902,7 @@ static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16745,7 +16921,7 @@ static PyObject *_wrap_StyledTextEvent_GetLParam(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: @@ -16754,7 +16930,7 @@ static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16773,7 +16949,7 @@ static PyObject *_wrap_StyledTextEvent_GetListType(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: @@ -16782,7 +16958,7 @@ static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16801,7 +16977,7 @@ static PyObject *_wrap_StyledTextEvent_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: @@ -16810,7 +16986,7 @@ static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16829,7 +17005,7 @@ static PyObject *_wrap_StyledTextEvent_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: @@ -16838,7 +17014,7 @@ static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -16870,7 +17046,7 @@ static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16898,7 +17074,7 @@ static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxDragResult result; PyObject * obj0 = 0 ; @@ -16924,7 +17100,7 @@ static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16952,7 +17128,7 @@ static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16980,7 +17156,7 @@ static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17008,7 +17184,7 @@ static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -18000,65 +18176,448 @@ static void *_p_wxKeyEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -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_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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__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_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_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_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 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_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_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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 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_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxRect, -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxColour, -_swigt__p_wxScrollBar, -_swigt__p_wxStyledTextEvent, -_swigt__p_wxWindow, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_wxBitmap, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_void, -_swigt__p_char, -_swigt__p_wxPoint, -_swigt__p_wxDC, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxStyledTextCtrl, -_swigt__p_wxFont, -_swigt__p_wxControl, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_int, -_swigt__p_wxMemoryBuffer, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0}; +static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_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_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 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_wxTimerEvent = {"_p_wxTimerEvent", 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_wxJoystickEvent = {"_p_wxJoystickEvent", 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_wxProcessEvent = {"_p_wxProcessEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 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_wxFileHistory = {"_p_wxFileHistory", 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_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_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_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 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_void, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBusyInfo, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClipboard, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileHistory, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxJoystickEvent, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryBuffer, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxProcessEvent, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyProcess, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTimer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxScrollBar, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxStyledTextCtrl, + &_swigt__p_wxStyledTextEvent, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxSystemOptions, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTimerEvent, + &_swigt__p_wxToolTip, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_void[] = { {&_swigt__p_void, 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_wxColour[] = { {&_swigt__p_wxColour, 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_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 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_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxControl, 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_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_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 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_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 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_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 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_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 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_wxClipboard[] = {{&_swigt__p_wxClipboard, 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_wxToolTip[] = {{&_swigt__p_wxToolTip, 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_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 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_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_void, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxBusyInfo, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClipboard, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileHistory, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxJoystickEvent, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryBuffer, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxProcessEvent, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyProcess, + _swigc__p_wxPySizer, + _swigc__p_wxPyTimer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxScrollBar, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxStyledTextCtrl, + _swigc__p_wxStyledTextEvent, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxSystemOptions, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTimerEvent, + _swigc__p_wxToolTip, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -18070,6 +18629,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 @@ -18087,7 +18857,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; @@ -18097,13 +18867,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; @@ -18116,7 +18886,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -18129,7 +18899,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) { @@ -18142,72 +18912,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; } @@ -18216,11 +19003,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); @@ -18257,7 +19044,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, @@ -18269,7 +19056,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]); @@ -18282,14 +19069,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; + } + } } } } @@ -18299,69 +19090,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 @@ -18370,3237 +19098,3216 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); { - PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1))); + PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int(static_cast(-1))); } { - PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000))); + PyDict_SetItemString(d,"STC_START", SWIG_From_int(static_cast(2000))); } { - PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000))); + PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int(static_cast(3000))); } { - PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000))); + PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int(static_cast(4000))); } { - PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001))); + PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int(static_cast(65001))); } { - PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21))); + PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int(static_cast(21))); } { - PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22))); + PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int(static_cast(22))); } { - PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23))); + PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int(static_cast(23))); } { - PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24))); + PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int(static_cast(24))); } { - PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000))); + PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int(static_cast(10000))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int(static_cast(26))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int(static_cast(27))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int(static_cast(28))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int(static_cast(29))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int(static_cast(30))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000))); + PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int(static_cast(0xFE000000))); } { - PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32))); + PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int(static_cast(32))); } { - PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33))); + PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int(static_cast(33))); } { - PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34))); + PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int(static_cast(34))); } { - PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35))); + PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int(static_cast(35))); } { - PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36))); + PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int(static_cast(36))); } { - PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37))); + PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int(static_cast(37))); } { - PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39))); + PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int(static_cast(39))); } { - PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127))); + PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int(static_cast(127))); } { - PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186))); + PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int(static_cast(186))); } { - PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136))); + PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int(static_cast(136))); } { - PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238))); + PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int(static_cast(238))); } { - PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134))); + PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int(static_cast(134))); } { - PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161))); + PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int(static_cast(161))); } { - PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129))); + PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int(static_cast(129))); } { - PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77))); + PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int(static_cast(77))); } { - PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255))); + PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int(static_cast(255))); } { - PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204))); + PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int(static_cast(204))); } { - PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128))); + PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int(static_cast(128))); } { - PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162))); + PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int(static_cast(162))); } { - PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130))); + PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int(static_cast(130))); } { - PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177))); + PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int(static_cast(177))); } { - PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178))); + PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int(static_cast(178))); } { - PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163))); + PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int(static_cast(163))); } { - PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222))); + PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int(static_cast(222))); } { - PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20))); + PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int(static_cast(0x20))); } { - PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40))); + PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int(static_cast(0x40))); } { - PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80))); + PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int(static_cast(0x80))); } { - PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0))); + PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int(static_cast(0xE0))); } { - PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000))); + PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int(static_cast(0x00100000))); } { - PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000))); + PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int(static_cast(0x00200000))); } { - PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000))); + PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int(static_cast(0x00400000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400))); + PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int(static_cast(0x400))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000))); + PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int(static_cast(0x1000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000))); + PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int(static_cast(0x2000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000))); + PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int(static_cast(0x4000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000))); + PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int(static_cast(0x8000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000))); + PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int(static_cast(0x10000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000))); + PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int(static_cast(0x20000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF))); + PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int(static_cast(0x0FFF))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int(static_cast(0x0004))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int(static_cast(0x0008))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int(static_cast(0x0010))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int(static_cast(0x0040))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000))); + PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int(static_cast(10000000))); } { - PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int(static_cast(0x0000))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int(static_cast(0x0000))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1))); + PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int(static_cast(-1))); } { - PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01))); + PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int(static_cast(0x01))); } { - PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04))); + PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int(static_cast(0x04))); } { - PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01))); + PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int(static_cast(0x01))); } { - PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04))); + PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int(static_cast(0x04))); } { - PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10))); + PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int(static_cast(0x10))); } { - PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08))); + PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int(static_cast(0x08))); } { - PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1))); + PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int(static_cast(0x1))); } { - PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2))); + PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int(static_cast(0x2))); } { - PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4))); + PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int(static_cast(0x4))); } { - PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8))); + PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int(static_cast(0x8))); } { - PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10))); + PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int(static_cast(0x10))); } { - PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20))); + PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int(static_cast(0x20))); } { - PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40))); + PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int(static_cast(0x40))); } { - PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100))); + PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int(static_cast(0x100))); } { - PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200))); + PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int(static_cast(0x200))); } { - PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400))); + PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int(static_cast(0x400))); } { - PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800))); + PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int(static_cast(0x800))); } { - PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77))); + PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int(static_cast(0xF77))); } { - PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300))); + PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int(static_cast(300))); } { - PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301))); + PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int(static_cast(301))); } { - PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302))); + PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int(static_cast(302))); } { - PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303))); + PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int(static_cast(303))); } { - PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304))); + PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int(static_cast(304))); } { - PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305))); + PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int(static_cast(305))); } { - PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306))); + PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int(static_cast(306))); } { - PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307))); + PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int(static_cast(307))); } { - PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308))); + PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int(static_cast(308))); } { - PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309))); + PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int(static_cast(309))); } { - PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310))); + PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int(static_cast(310))); } { - PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311))); + PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int(static_cast(311))); } { - PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312))); + PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int(static_cast(312))); } { - PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21))); + PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int(static_cast(21))); } { - PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22))); + PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int(static_cast(22))); } { - PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23))); + PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int(static_cast(23))); } { - PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24))); + PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int(static_cast(24))); } { - PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26))); + PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int(static_cast(26))); } { - PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27))); + PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int(static_cast(27))); } { - PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28))); + PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int(static_cast(28))); } { - PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29))); + PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int(static_cast(29))); } { - PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30))); + PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int(static_cast(30))); } { - PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32))); + PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int(static_cast(32))); } { - PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33))); + PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int(static_cast(33))); } { - PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34))); + PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int(static_cast(34))); } { - PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35))); + PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int(static_cast(35))); } { - PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36))); + PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int(static_cast(36))); } { - PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37))); + PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int(static_cast(37))); } { - PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38))); + PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int(static_cast(38))); } { - PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39))); + PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int(static_cast(39))); } { - PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40))); + PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int(static_cast(40))); } { - PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41))); + PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int(static_cast(41))); } { - PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42))); + PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int(static_cast(42))); } { - PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43))); + PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int(static_cast(43))); } { - PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44))); + PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int(static_cast(44))); } { - PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45))); + PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int(static_cast(45))); } { - PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46))); + PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int(static_cast(46))); } { - PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47))); + PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int(static_cast(47))); } { - PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48))); + PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int(static_cast(48))); } { - PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49))); + PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int(static_cast(49))); } { - PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50))); + PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int(static_cast(50))); } { - PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51))); + PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int(static_cast(51))); } { - PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52))); + PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int(static_cast(52))); } { - PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53))); + PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int(static_cast(53))); } { - PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54))); + PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int(static_cast(54))); } { - PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55))); + PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int(static_cast(55))); } { - PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56))); + PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int(static_cast(56))); } { - PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57))); + PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int(static_cast(57))); } { - PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58))); + PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int(static_cast(58))); } { - PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59))); + PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int(static_cast(59))); } { - PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60))); + PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int(static_cast(60))); } { - PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61))); + PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int(static_cast(61))); } { - PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62))); + PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int(static_cast(62))); } { - PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63))); + PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int(static_cast(63))); } { - PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64))); + PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int(static_cast(64))); } { - PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000))); + PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int(static_cast(1000))); } { - PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21))); + PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int(static_cast(21))); } { - PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22))); + PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int(static_cast(22))); } { - PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23))); + PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int(static_cast(23))); } { - PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24))); + PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int(static_cast(24))); } { - PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26))); + PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int(static_cast(26))); } { - PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27))); + PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int(static_cast(27))); } { - PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28))); + PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int(static_cast(28))); } { - PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29))); + PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int(static_cast(29))); } { - PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30))); + PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int(static_cast(30))); } { - PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40))); + PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int(static_cast(40))); } { - PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41))); + PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int(static_cast(41))); } { - PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42))); + PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int(static_cast(42))); } { - PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43))); + PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int(static_cast(43))); } { - PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44))); + PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int(static_cast(44))); } { - PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45))); + PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int(static_cast(45))); } { - PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46))); + PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int(static_cast(46))); } { - PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47))); + PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int(static_cast(47))); } { - PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48))); + PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int(static_cast(48))); } { - PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49))); + PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int(static_cast(49))); } { - PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50))); + PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int(static_cast(50))); } { - PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51))); + PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int(static_cast(51))); } { - PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52))); + PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int(static_cast(52))); } { - PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55))); + PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int(static_cast(55))); } { - PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56))); + PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int(static_cast(56))); } { - PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57))); + PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int(static_cast(57))); } { - PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58))); + PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int(static_cast(58))); } { - PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59))); + PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int(static_cast(59))); } { - PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60))); + PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int(static_cast(60))); } { - PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61))); + PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int(static_cast(61))); } { - PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62))); + PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int(static_cast(62))); } { - PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63))); + PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int(static_cast(63))); } { - PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64))); + PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int(static_cast(64))); } { - PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65))); + PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int(static_cast(65))); } { - PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66))); + PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int(static_cast(66))); } { - PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67))); + PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int(static_cast(67))); } { - PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70))); + PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int(static_cast(70))); } { - PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71))); + PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int(static_cast(71))); } { - PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72))); + PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int(static_cast(72))); } { - PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73))); + PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int(static_cast(73))); } { - PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74))); + PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int(static_cast(74))); } { - PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75))); + PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int(static_cast(75))); } { - PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76))); + PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int(static_cast(76))); } { - PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77))); + PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int(static_cast(77))); } { - PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80))); + PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int(static_cast(80))); } { - PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81))); + PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int(static_cast(81))); } { - PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82))); + PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int(static_cast(82))); } { - PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83))); + PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int(static_cast(83))); } { - PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84))); + PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int(static_cast(84))); } { - PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85))); + PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int(static_cast(85))); } { - PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86))); + PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int(static_cast(86))); } { - PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87))); + PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int(static_cast(87))); } { - PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90))); + PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int(static_cast(90))); } { - PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91))); + PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int(static_cast(91))); } { - PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92))); + PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int(static_cast(92))); } { - PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93))); + PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int(static_cast(93))); } { - PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94))); + PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int(static_cast(94))); } { - PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95))); + PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int(static_cast(95))); } { - PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96))); + PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int(static_cast(96))); } { - PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97))); + PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int(static_cast(97))); } { - PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98))); + PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int(static_cast(98))); } { - PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99))); + PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int(static_cast(99))); } { - PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100))); + PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int(static_cast(100))); } { - PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101))); + PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int(static_cast(101))); } { - PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102))); + PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int(static_cast(102))); } { - PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104))); + PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int(static_cast(104))); } { - PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105))); + PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int(static_cast(105))); } { - PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106))); + PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int(static_cast(106))); } { - PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107))); + PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int(static_cast(107))); } { - PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108))); + PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int(static_cast(108))); } { - PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109))); + PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int(static_cast(109))); } { - PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110))); + PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int(static_cast(110))); } { - PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111))); + PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int(static_cast(111))); } { - PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112))); + PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int(static_cast(112))); } { - PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113))); + PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int(static_cast(113))); } { - PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114))); + PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int(static_cast(114))); } { - PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115))); + PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int(static_cast(115))); } { - PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116))); + PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int(static_cast(116))); } { - PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117))); + PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int(static_cast(117))); } { - PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118))); + PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int(static_cast(118))); } { - PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119))); + PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int(static_cast(119))); } { - PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120))); + PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int(static_cast(120))); } { - PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121))); + PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int(static_cast(121))); } { - PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122))); + PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int(static_cast(122))); } { - PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123))); + PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int(static_cast(123))); } { - PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124))); + PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int(static_cast(124))); } { - PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125))); + PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int(static_cast(125))); } { - PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126))); + PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int(static_cast(126))); } { - PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127))); + PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int(static_cast(127))); } { - PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21))); + PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int(static_cast(21))); } { - PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22))); + PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int(static_cast(22))); } { - PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23))); + PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int(static_cast(23))); } { - PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24))); + PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int(static_cast(24))); } { - PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26))); + PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int(static_cast(26))); } { - PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27))); + PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int(static_cast(27))); } { - PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28))); + PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int(static_cast(28))); } { - PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29))); + PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int(static_cast(29))); } { - PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30))); + PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int(static_cast(30))); } { - PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011))); + PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int(static_cast(2011))); } { - PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013))); + PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int(static_cast(2013))); } { - PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176))); + PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int(static_cast(2176))); } { - PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177))); + PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int(static_cast(2177))); } { - PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178))); + PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int(static_cast(2178))); } { - PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179))); + PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int(static_cast(2179))); } { - PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180))); + PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int(static_cast(2180))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300))); + PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int(static_cast(2300))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301))); + PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int(static_cast(2301))); } { - PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302))); + PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int(static_cast(2302))); } { - PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303))); + PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int(static_cast(2303))); } { - PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304))); + PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int(static_cast(2304))); } { - PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305))); + PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int(static_cast(2305))); } { - PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306))); + PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int(static_cast(2306))); } { - PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307))); + PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int(static_cast(2307))); } { - PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308))); + PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int(static_cast(2308))); } { - PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309))); + PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int(static_cast(2309))); } { - PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310))); + PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int(static_cast(2310))); } { - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311))); + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int(static_cast(2311))); } { - PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312))); + PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int(static_cast(2312))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313))); + PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int(static_cast(2313))); } { - PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314))); + PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int(static_cast(2314))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315))); + PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int(static_cast(2315))); } { - PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316))); + PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int(static_cast(2316))); } { - PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317))); + PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int(static_cast(2317))); } { - PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318))); + PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int(static_cast(2318))); } { - PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319))); + PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int(static_cast(2319))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320))); + PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int(static_cast(2320))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321))); + PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int(static_cast(2321))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322))); + PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int(static_cast(2322))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323))); + PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int(static_cast(2323))); } { - PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324))); + PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int(static_cast(2324))); } { - PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325))); + PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int(static_cast(2325))); } { - PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326))); + PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int(static_cast(2326))); } { - PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327))); + PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int(static_cast(2327))); } { - PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328))); + PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int(static_cast(2328))); } { - PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329))); + PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int(static_cast(2329))); } { - PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330))); + PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int(static_cast(2330))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331))); + PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int(static_cast(2331))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332))); + PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int(static_cast(2332))); } { - PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333))); + PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int(static_cast(2333))); } { - PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334))); + PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int(static_cast(2334))); } { - PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335))); + PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int(static_cast(2335))); } { - PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336))); + PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int(static_cast(2336))); } { - PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337))); + PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int(static_cast(2337))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338))); + PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int(static_cast(2338))); } { - PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339))); + PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int(static_cast(2339))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404))); + PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int(static_cast(2404))); } { - PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340))); + PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int(static_cast(2340))); } { - PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341))); + PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int(static_cast(2341))); } { - PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342))); + PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int(static_cast(2342))); } { - PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343))); + PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int(static_cast(2343))); } { - PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344))); + PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int(static_cast(2344))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345))); + PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int(static_cast(2345))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346))); + PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int(static_cast(2346))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347))); + PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int(static_cast(2347))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348))); + PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int(static_cast(2348))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349))); + PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int(static_cast(2349))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450))); + PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int(static_cast(2450))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451))); + PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int(static_cast(2451))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452))); + PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int(static_cast(2452))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453))); + PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int(static_cast(2453))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454))); + PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int(static_cast(2454))); } { - PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455))); + PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int(static_cast(2455))); } { - PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390))); + PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int(static_cast(2390))); } { - PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391))); + PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int(static_cast(2391))); } { - PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392))); + PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int(static_cast(2392))); } { - PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393))); + PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int(static_cast(2393))); } { - PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395))); + PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int(static_cast(2395))); } { - PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396))); + PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int(static_cast(2396))); } { - PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413))); + PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int(static_cast(2413))); } { - PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414))); + PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int(static_cast(2414))); } { - PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415))); + PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int(static_cast(2415))); } { - PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416))); + PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int(static_cast(2416))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426))); + PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int(static_cast(2426))); } { - PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427))); + PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int(static_cast(2427))); } { - PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428))); + PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int(static_cast(2428))); } { - PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429))); + PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int(static_cast(2429))); } { - PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430))); + PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int(static_cast(2430))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431))); + PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int(static_cast(2431))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432))); + PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int(static_cast(2432))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433))); + PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int(static_cast(2433))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434))); + PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int(static_cast(2434))); } { - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435))); + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int(static_cast(2435))); } { - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436))); + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int(static_cast(2436))); } { - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437))); + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int(static_cast(2437))); } { - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438))); + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int(static_cast(2438))); } { - PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439))); + PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int(static_cast(2439))); } { - PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440))); + PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int(static_cast(2440))); } { - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441))); + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int(static_cast(2441))); } { - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442))); + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int(static_cast(2442))); } { - PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE))); + PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int(static_cast(wxEVT_STC_CHANGE))); } { - PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED))); + PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int(static_cast(wxEVT_STC_STYLENEEDED))); } { - PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED))); + PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int(static_cast(wxEVT_STC_CHARADDED))); } { - PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED))); + PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int(static_cast(wxEVT_STC_SAVEPOINTREACHED))); } { - PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT))); + PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int(static_cast(wxEVT_STC_SAVEPOINTLEFT))); } { - PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT))); + PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int(static_cast(wxEVT_STC_ROMODIFYATTEMPT))); } { - PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY))); + PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int(static_cast(wxEVT_STC_KEY))); } { - PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK))); + PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int(static_cast(wxEVT_STC_DOUBLECLICK))); } { - PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI))); + PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int(static_cast(wxEVT_STC_UPDATEUI))); } { - PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED))); + PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int(static_cast(wxEVT_STC_MODIFIED))); } { - PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD))); + PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int(static_cast(wxEVT_STC_MACRORECORD))); } { - PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK))); + PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int(static_cast(wxEVT_STC_MARGINCLICK))); } { - PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN))); + PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int(static_cast(wxEVT_STC_NEEDSHOWN))); } { - PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED))); + PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int(static_cast(wxEVT_STC_PAINTED))); } { - PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION))); + PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int(static_cast(wxEVT_STC_USERLISTSELECTION))); } { - PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED))); + PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int(static_cast(wxEVT_STC_URIDROPPED))); } { - PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART))); + PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int(static_cast(wxEVT_STC_DWELLSTART))); } { - PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND))); + PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int(static_cast(wxEVT_STC_DWELLEND))); } { - PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG))); + PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int(static_cast(wxEVT_STC_START_DRAG))); } { - PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER))); + PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int(static_cast(wxEVT_STC_DRAG_OVER))); } { - PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP))); + PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int(static_cast(wxEVT_STC_DO_DROP))); } { - PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM))); + PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int(static_cast(wxEVT_STC_ZOOM))); } { - PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK))); + PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int(static_cast(wxEVT_STC_HOTSPOT_CLICK))); } { - PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK))); + PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int(static_cast(wxEVT_STC_HOTSPOT_DCLICK))); } { - PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK))); + PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int(static_cast(wxEVT_STC_CALLTIP_CLICK))); } diff --git a/wxPython/contrib/stc/mac/stc.py b/wxPython/contrib/stc/mac/stc.py index 1f0c46e07f..6611db0026 100644 --- a/wxPython/contrib/stc/mac/stc.py +++ b/wxPython/contrib/stc/mac/stc.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -5060,3 +5060,4 @@ EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 ) EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 ) + diff --git a/wxPython/contrib/stc/mac/stc_wrap.cpp b/wxPython/contrib/stc/mac/stc_wrap.cpp index b761b24ac8..4250616efc 100644 --- a/wxPython/contrib/stc/mac/stc_wrap.cpp +++ b/wxPython/contrib/stc/mac/stc_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,35 +1431,119 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxRect swig_types[0] -#define SWIGTYPE_p_wxObject swig_types[1] -#define SWIGTYPE_p_unsigned_char swig_types[2] -#define SWIGTYPE_p_wxColour swig_types[3] -#define SWIGTYPE_p_wxScrollBar swig_types[4] -#define SWIGTYPE_p_wxStyledTextEvent swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_wxCommandEvent swig_types[7] -#define SWIGTYPE_p_unsigned_long swig_types[8] -#define SWIGTYPE_p_wxBitmap swig_types[9] -#define SWIGTYPE_p_unsigned_int swig_types[10] -#define SWIGTYPE_unsigned_int swig_types[11] -#define SWIGTYPE_p_form_ops_t swig_types[12] -#define SWIGTYPE_p_wxDuplexMode swig_types[13] -#define SWIGTYPE_p_void swig_types[14] -#define SWIGTYPE_p_char swig_types[15] -#define SWIGTYPE_p_wxPoint swig_types[16] -#define SWIGTYPE_p_wxDC swig_types[17] -#define SWIGTYPE_p_wxEvtHandler swig_types[18] -#define SWIGTYPE_std__ptrdiff_t swig_types[19] -#define SWIGTYPE_ptrdiff_t swig_types[20] -#define SWIGTYPE_p_wxStyledTextCtrl swig_types[21] -#define SWIGTYPE_p_wxFont swig_types[22] -#define SWIGTYPE_p_wxControl swig_types[23] -#define SWIGTYPE_p_wxEvent swig_types[24] -#define SWIGTYPE_p_wxPaperSize swig_types[25] -#define SWIGTYPE_p_int swig_types[26] -#define SWIGTYPE_p_wxMemoryBuffer swig_types[27] -static swig_type_info *swig_types[29]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_form_ops_t swig_types[1] +#define SWIGTYPE_p_int swig_types[2] +#define SWIGTYPE_p_unsigned_char swig_types[3] +#define SWIGTYPE_p_unsigned_int swig_types[4] +#define SWIGTYPE_p_unsigned_long swig_types[5] +#define SWIGTYPE_p_void swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxBMPHandler swig_types[10] +#define SWIGTYPE_p_wxBitmap swig_types[11] +#define SWIGTYPE_p_wxBoxSizer swig_types[12] +#define SWIGTYPE_p_wxBusyInfo swig_types[13] +#define SWIGTYPE_p_wxCURHandler swig_types[14] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[15] +#define SWIGTYPE_p_wxClipboard swig_types[16] +#define SWIGTYPE_p_wxCloseEvent swig_types[17] +#define SWIGTYPE_p_wxColour swig_types[18] +#define SWIGTYPE_p_wxCommandEvent swig_types[19] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[20] +#define SWIGTYPE_p_wxControl swig_types[21] +#define SWIGTYPE_p_wxControlWithItems swig_types[22] +#define SWIGTYPE_p_wxDC swig_types[23] +#define SWIGTYPE_p_wxDateEvent swig_types[24] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[26] +#define SWIGTYPE_p_wxDuplexMode swig_types[27] +#define SWIGTYPE_p_wxEraseEvent swig_types[28] +#define SWIGTYPE_p_wxEvent swig_types[29] +#define SWIGTYPE_p_wxEvtHandler swig_types[30] +#define SWIGTYPE_p_wxFSFile swig_types[31] +#define SWIGTYPE_p_wxFileHistory swig_types[32] +#define SWIGTYPE_p_wxFileSystem swig_types[33] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[34] +#define SWIGTYPE_p_wxFocusEvent swig_types[35] +#define SWIGTYPE_p_wxFont swig_types[36] +#define SWIGTYPE_p_wxGBSizerItem swig_types[37] +#define SWIGTYPE_p_wxGIFHandler swig_types[38] +#define SWIGTYPE_p_wxGridBagSizer swig_types[39] +#define SWIGTYPE_p_wxGridSizer swig_types[40] +#define SWIGTYPE_p_wxICOHandler swig_types[41] +#define SWIGTYPE_p_wxIconizeEvent swig_types[42] +#define SWIGTYPE_p_wxIdleEvent swig_types[43] +#define SWIGTYPE_p_wxImage swig_types[44] +#define SWIGTYPE_p_wxImageHandler swig_types[45] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[46] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[47] +#define SWIGTYPE_p_wxJPEGHandler swig_types[48] +#define SWIGTYPE_p_wxJoystickEvent swig_types[49] +#define SWIGTYPE_p_wxKeyEvent swig_types[50] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[51] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[52] +#define SWIGTYPE_p_wxMemoryBuffer swig_types[53] +#define SWIGTYPE_p_wxMenu swig_types[54] +#define SWIGTYPE_p_wxMenuBar swig_types[55] +#define SWIGTYPE_p_wxMenuEvent swig_types[56] +#define SWIGTYPE_p_wxMenuItem swig_types[57] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58] +#define SWIGTYPE_p_wxMouseEvent swig_types[59] +#define SWIGTYPE_p_wxMoveEvent swig_types[60] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[62] +#define SWIGTYPE_p_wxNotifyEvent swig_types[63] +#define SWIGTYPE_p_wxObject swig_types[64] +#define SWIGTYPE_p_wxPCXHandler swig_types[65] +#define SWIGTYPE_p_wxPNGHandler swig_types[66] +#define SWIGTYPE_p_wxPNMHandler swig_types[67] +#define SWIGTYPE_p_wxPaintEvent swig_types[68] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69] +#define SWIGTYPE_p_wxPaperSize swig_types[70] +#define SWIGTYPE_p_wxPoint swig_types[71] +#define SWIGTYPE_p_wxProcessEvent swig_types[72] +#define SWIGTYPE_p_wxPyApp swig_types[73] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[74] +#define SWIGTYPE_p_wxPyEvent swig_types[75] +#define SWIGTYPE_p_wxPyImageHandler swig_types[76] +#define SWIGTYPE_p_wxPyProcess swig_types[77] +#define SWIGTYPE_p_wxPySizer swig_types[78] +#define SWIGTYPE_p_wxPyTimer swig_types[79] +#define SWIGTYPE_p_wxPyValidator swig_types[80] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[81] +#define SWIGTYPE_p_wxRect swig_types[82] +#define SWIGTYPE_p_wxScrollBar swig_types[83] +#define SWIGTYPE_p_wxScrollEvent swig_types[84] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[85] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[86] +#define SWIGTYPE_p_wxShowEvent swig_types[87] +#define SWIGTYPE_p_wxSizeEvent swig_types[88] +#define SWIGTYPE_p_wxSizer swig_types[89] +#define SWIGTYPE_p_wxSizerItem swig_types[90] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[91] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[92] +#define SWIGTYPE_p_wxStyledTextCtrl swig_types[93] +#define SWIGTYPE_p_wxStyledTextEvent swig_types[94] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[95] +#define SWIGTYPE_p_wxSystemOptions swig_types[96] +#define SWIGTYPE_p_wxTIFFHandler swig_types[97] +#define SWIGTYPE_p_wxTimerEvent swig_types[98] +#define SWIGTYPE_p_wxToolTip swig_types[99] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[100] +#define SWIGTYPE_p_wxValidator swig_types[101] +#define SWIGTYPE_p_wxWindow swig_types[102] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[103] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[104] +#define SWIGTYPE_p_wxXPMHandler swig_types[105] +#define SWIGTYPE_ptrdiff_t swig_types[106] +#define SWIGTYPE_std__ptrdiff_t swig_types[107] +#define SWIGTYPE_unsigned_int swig_types[108] +static swig_type_info *swig_types[110]; +static swig_module_info swig_module = {swig_types, 109, 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) -------- */ @@ -1386,7 +1562,7 @@ static swig_type_info *swig_types[29]; static const wxString wxPySTCNameStr(wxSTCNameStr); - /*@/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 /*@@*/ @@ -1439,7 +1615,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; @@ -1453,7 +1629,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1461,7 +1637,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1475,7 +1651,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1489,14 +1665,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); @@ -1528,7 +1704,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1542,7 +1718,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1607,7 +1783,7 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsCharPtr(PyObject *obj, char **val) { if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { @@ -1621,7 +1797,7 @@ SWIG_AsCharPtr(PyObject *obj, char **val) } - /*@/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 /*@@*/ @@ -1635,7 +1811,7 @@ static int _wrap_STCNameStr_set(PyObject *) { static PyObject *_wrap_STCNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1649,7 +1825,7 @@ static PyObject *_wrap_STCNameStr_get(void) { static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -1678,7 +1854,7 @@ static PyObject *_wrap_new_StyledTextCtrl(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; } } @@ -1696,7 +1872,7 @@ static PyObject *_wrap_new_StyledTextCtrl(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; } } @@ -1731,7 +1907,7 @@ static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *result; char *kwnames[] = { NULL @@ -1754,7 +1930,7 @@ static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) wxID_ANY ; @@ -1787,7 +1963,7 @@ static PyObject *_wrap_StyledTextCtrl_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; } } @@ -1805,7 +1981,7 @@ static PyObject *_wrap_StyledTextCtrl_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; } } @@ -1841,7 +2017,7 @@ static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -1882,7 +2058,7 @@ static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxMemoryBuffer *arg2 = 0 ; bool temp2 = false ; @@ -1928,7 +2104,7 @@ static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -1944,7 +2120,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -1975,7 +2151,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2000,7 +2176,7 @@ static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2025,7 +2201,7 @@ static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2044,7 +2220,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLength(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: @@ -2053,7 +2229,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -2067,7 +2243,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2078,7 +2254,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(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: @@ -2087,7 +2263,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2106,7 +2282,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2115,7 +2291,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2134,7 +2310,7 @@ static PyObject *_wrap_StyledTextCtrl_GetAnchor(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: @@ -2143,7 +2319,7 @@ static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -2157,7 +2333,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2168,7 +2344,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(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: @@ -2177,7 +2353,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2202,7 +2378,7 @@ static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2215,7 +2391,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -2233,7 +2409,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2258,7 +2434,7 @@ static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2283,7 +2459,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2299,11 +2475,11 @@ static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2323,7 +2499,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2351,7 +2527,7 @@ static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -2365,7 +2541,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2376,7 +2552,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2385,7 +2561,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2398,7 +2574,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2416,7 +2592,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2444,7 +2620,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2463,7 +2639,7 @@ static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2472,7 +2648,7 @@ static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2485,7 +2661,7 @@ static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2503,7 +2679,7 @@ static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxPoint arg2 ; int result; @@ -2534,7 +2710,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2543,7 +2719,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2559,11 +2735,11 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2574,7 +2750,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2583,7 +2759,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObjec static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2596,7 +2772,7 @@ static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2614,7 +2790,7 @@ static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2627,7 +2803,7 @@ static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2645,7 +2821,7 @@ static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2658,7 +2834,7 @@ static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2676,7 +2852,7 @@ static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int *arg2 = (int *) 0 ; wxString result; @@ -2714,7 +2890,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2733,7 +2909,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndStyled(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: @@ -2742,7 +2918,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2755,7 +2931,7 @@ static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2773,7 +2949,7 @@ static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2792,7 +2968,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEOLMode(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: @@ -2801,7 +2977,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2814,7 +2990,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2832,7 +3008,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2847,11 +3023,11 @@ static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2869,7 +3045,7 @@ static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -2884,11 +3060,11 @@ static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2906,7 +3082,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2934,7 +3110,7 @@ static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2947,7 +3123,7 @@ static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -2965,7 +3141,7 @@ static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2978,7 +3154,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2996,7 +3172,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3015,7 +3191,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTabWidth(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: @@ -3024,7 +3200,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3037,7 +3213,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3055,7 +3231,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3078,11 +3254,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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) { @@ -3112,7 +3288,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -3128,7 +3304,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3150,7 +3326,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -3166,7 +3342,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3188,7 +3364,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3204,11 +3380,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3219,7 +3395,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(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: @@ -3228,7 +3404,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3243,11 +3419,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3265,7 +3441,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3278,7 +3454,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3296,7 +3472,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -3310,7 +3486,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3321,7 +3497,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(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: @@ -3330,7 +3506,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3346,11 +3522,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3361,7 +3537,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(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: @@ -3370,7 +3546,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3386,11 +3562,11 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3401,7 +3577,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3410,7 +3586,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxBitmap *arg3 = 0 ; @@ -3425,7 +3601,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3451,7 +3627,7 @@ static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3466,11 +3642,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3488,7 +3664,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -3502,7 +3678,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3513,7 +3689,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3522,7 +3698,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3537,11 +3713,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3559,7 +3735,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -3573,7 +3749,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3584,7 +3760,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3593,7 +3769,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3608,11 +3784,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3630,7 +3806,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -3644,7 +3820,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3655,7 +3831,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3664,7 +3840,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -3679,11 +3855,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3701,7 +3877,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool result; @@ -3715,7 +3891,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3735,7 +3911,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3760,7 +3936,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -3776,7 +3952,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3798,7 +3974,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -3814,7 +3990,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3836,7 +4012,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -3851,11 +4027,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3873,7 +4049,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -3888,11 +4064,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3910,7 +4086,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -3925,11 +4101,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3947,7 +4123,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -3963,7 +4139,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3994,7 +4170,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -4009,11 +4185,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4031,7 +4207,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4056,7 +4232,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -4071,11 +4247,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4093,7 +4269,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4108,11 +4284,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4130,7 +4306,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -4145,11 +4321,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4167,7 +4343,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -4183,7 +4359,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -4205,7 +4381,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -4221,7 +4397,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -4243,7 +4419,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -4275,7 +4451,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4292,15 +4468,15 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4318,7 +4494,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4333,11 +4509,11 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4355,7 +4531,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4380,7 +4556,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; @@ -4395,7 +4571,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { @@ -4416,7 +4592,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -4431,11 +4607,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4453,7 +4629,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4472,7 +4648,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4481,7 +4657,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4494,7 +4670,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4512,7 +4688,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4553,7 +4729,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4578,7 +4754,7 @@ static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4603,7 +4779,7 @@ static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4618,11 +4794,11 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4640,7 +4816,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -4654,7 +4830,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4665,7 +4841,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4674,7 +4850,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -4690,7 +4866,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4712,7 +4888,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObjec static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxColour result; @@ -4726,7 +4902,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4738,7 +4914,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -4748,7 +4924,7 @@ static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObjec static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -4764,7 +4940,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -4786,7 +4962,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -4802,7 +4978,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -4824,7 +5000,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4837,7 +5013,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4855,7 +5031,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4874,7 +5050,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleBits(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: @@ -4883,7 +5059,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -4898,11 +5074,11 @@ static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -4920,7 +5096,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -4934,7 +5110,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4945,7 +5121,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(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: @@ -4954,7 +5130,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4973,7 +5149,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4982,7 +5158,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5010,7 +5186,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5023,7 +5199,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5041,7 +5217,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -5061,7 +5237,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *arg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -5071,7 +5247,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -5103,7 +5279,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -5118,11 +5294,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5140,7 +5316,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -5156,7 +5332,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5187,7 +5363,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5212,7 +5388,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5240,7 +5416,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5259,7 +5435,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5268,7 +5444,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5293,7 +5469,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5334,7 +5510,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5347,7 +5523,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5365,7 +5541,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5384,7 +5560,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5393,7 +5569,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5434,7 +5610,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5447,7 +5623,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5465,7 +5641,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObj static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5493,7 +5669,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObj static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5534,7 +5710,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5547,7 +5723,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5565,7 +5741,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5593,7 +5769,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5606,7 +5782,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5624,7 +5800,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5652,7 +5828,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -5668,7 +5844,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5699,7 +5875,7 @@ static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5712,7 +5888,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5730,7 +5906,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5758,7 +5934,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -5771,7 +5947,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -5789,7 +5965,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5817,7 +5993,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxBitmap *arg3 = 0 ; @@ -5832,7 +6008,7 @@ static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5858,7 +6034,7 @@ static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5883,7 +6059,7 @@ static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5902,7 +6078,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5911,7 +6087,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObj static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5924,7 +6100,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5942,7 +6118,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObj static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5955,7 +6131,7 @@ static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5973,7 +6149,7 @@ static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5992,7 +6168,7 @@ static PyObject *_wrap_StyledTextCtrl_GetIndent(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: @@ -6001,7 +6177,7 @@ static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -6014,7 +6190,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -6032,7 +6208,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6060,7 +6236,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -6075,11 +6251,11 @@ static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6097,7 +6273,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -6111,7 +6287,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6122,7 +6298,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6131,7 +6307,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -6145,7 +6321,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6156,7 +6332,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6165,7 +6341,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -6179,7 +6355,7 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6190,7 +6366,7 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(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: @@ -6199,7 +6375,7 @@ static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -6212,7 +6388,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -6230,7 +6406,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6258,7 +6434,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -6271,7 +6447,7 @@ static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -6289,7 +6465,7 @@ static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6317,7 +6493,7 @@ static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6330,7 +6506,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6348,7 +6524,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6367,7 +6543,7 @@ static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6376,7 +6552,7 @@ static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -6390,7 +6566,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6401,7 +6577,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6410,7 +6586,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6429,7 +6605,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCodePage(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: @@ -6438,7 +6614,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -6458,7 +6634,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -6468,7 +6644,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6496,7 +6672,7 @@ static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6509,7 +6685,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6527,7 +6703,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6540,7 +6716,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6558,7 +6734,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6577,7 +6753,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6586,7 +6762,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6599,7 +6775,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6617,7 +6793,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6636,7 +6812,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6645,7 +6821,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6658,7 +6834,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6676,7 +6852,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6695,7 +6871,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6704,7 +6880,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6717,7 +6893,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6735,7 +6911,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6754,7 +6930,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6763,7 +6939,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -6784,11 +6960,11 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6798,7 +6974,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -6810,7 +6986,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp4) @@ -6827,7 +7003,7 @@ static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; int arg3 ; @@ -6853,15 +7029,15 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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 = (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; } SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); @@ -6896,7 +7072,7 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(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: @@ -6905,7 +7081,7 @@ static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6924,7 +7100,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6933,7 +7109,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString result; @@ -6947,7 +7123,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6971,7 +7147,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6990,7 +7166,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineCount(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: @@ -6999,7 +7175,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7012,7 +7188,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7030,7 +7206,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7049,7 +7225,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7058,7 +7234,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7071,7 +7247,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7089,7 +7265,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7108,7 +7284,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7117,7 +7293,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7145,7 +7321,7 @@ static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -7160,11 +7336,11 @@ static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7182,7 +7358,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7214,7 +7390,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -7230,11 +7406,11 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7258,7 +7434,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -7271,7 +7447,7 @@ static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -7289,7 +7465,7 @@ static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -7303,7 +7479,7 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7314,7 +7490,7 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7323,7 +7499,7 @@ static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -7337,7 +7513,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7348,7 +7524,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7357,7 +7533,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -7372,11 +7548,11 @@ static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7394,7 +7570,7 @@ static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7419,7 +7595,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7460,7 +7636,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -7473,7 +7649,7 @@ static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -7491,7 +7667,7 @@ static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7519,7 +7695,7 @@ static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7547,7 +7723,7 @@ static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7572,7 +7748,7 @@ static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7597,7 +7773,7 @@ static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7622,7 +7798,7 @@ static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7647,7 +7823,7 @@ static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7672,7 +7848,7 @@ static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7697,7 +7873,7 @@ static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7738,7 +7914,7 @@ static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7770,7 +7946,7 @@ static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7789,7 +7965,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7798,7 +7974,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -7811,7 +7987,7 @@ static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -7829,7 +8005,7 @@ static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7857,7 +8033,7 @@ static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7870,7 +8046,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7888,7 +8064,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7907,7 +8083,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7916,7 +8092,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7929,7 +8105,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7947,7 +8123,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7966,7 +8142,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7975,7 +8151,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7988,7 +8164,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8006,7 +8182,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8025,7 +8201,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(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: @@ -8034,7 +8210,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; @@ -8061,7 +8237,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -8078,7 +8254,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; @@ -8105,7 +8281,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -8122,7 +8298,7 @@ static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; int result; @@ -8149,7 +8325,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -8166,7 +8342,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8179,7 +8355,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8197,7 +8373,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8216,7 +8392,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8225,7 +8401,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -8241,7 +8417,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8272,7 +8448,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8297,7 +8473,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8325,7 +8501,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8344,7 +8520,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8353,7 +8529,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8368,11 +8544,11 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8390,7 +8566,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8422,7 +8598,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8454,7 +8630,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8486,7 +8662,7 @@ static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *, static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -8500,7 +8676,7 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8511,7 +8687,7 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8520,7 +8696,7 @@ static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -8534,7 +8710,7 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8545,7 +8721,7 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8554,7 +8730,7 @@ static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8569,11 +8745,11 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8591,7 +8767,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -8605,7 +8781,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8616,7 +8792,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(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: @@ -8625,7 +8801,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8641,11 +8817,11 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8656,7 +8832,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(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: @@ -8665,7 +8841,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -8679,7 +8855,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8690,7 +8866,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8699,7 +8875,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8714,11 +8890,11 @@ static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8736,7 +8912,7 @@ static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -8751,11 +8927,11 @@ static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8773,7 +8949,7 @@ static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool result; @@ -8787,7 +8963,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8807,7 +8983,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -8822,11 +8998,11 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -8844,7 +9020,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool result; @@ -8858,7 +9034,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8878,7 +9054,7 @@ static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8891,7 +9067,7 @@ static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8909,7 +9085,7 @@ static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8922,7 +9098,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8940,7 +9116,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8953,7 +9129,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8971,7 +9147,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8984,7 +9160,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9002,7 +9178,7 @@ static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9015,7 +9191,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9033,7 +9209,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9061,7 +9237,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9074,7 +9250,7 @@ static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9092,7 +9268,7 @@ static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9120,7 +9296,7 @@ static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9133,7 +9309,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9151,7 +9327,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9170,7 +9346,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9179,7 +9355,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -9195,11 +9371,11 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9210,7 +9386,7 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9219,7 +9395,7 @@ static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; bool arg3 ; @@ -9235,11 +9411,11 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9250,7 +9426,7 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9259,7 +9435,7 @@ static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9272,7 +9448,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9290,7 +9466,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9309,7 +9485,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(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: @@ -9318,7 +9494,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9331,7 +9507,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9349,7 +9525,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9368,7 +9544,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9377,7 +9553,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9390,7 +9566,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9408,7 +9584,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9427,7 +9603,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9436,7 +9612,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9449,7 +9625,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9467,7 +9643,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9486,7 +9662,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9495,7 +9671,7 @@ static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9508,7 +9684,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9526,7 +9702,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9545,7 +9721,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9554,7 +9730,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9567,7 +9743,7 @@ static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9585,7 +9761,7 @@ static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9604,7 +9780,7 @@ static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9613,7 +9789,7 @@ static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -9630,7 +9806,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9646,7 +9822,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) @@ -9663,7 +9839,7 @@ static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9676,7 +9852,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9694,7 +9870,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9713,7 +9889,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9722,7 +9898,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -9736,7 +9912,7 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9747,7 +9923,7 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(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: @@ -9756,7 +9932,7 @@ static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9769,7 +9945,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9787,7 +9963,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9815,7 +9991,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9856,7 +10032,7 @@ static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9884,7 +10060,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9897,7 +10073,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -9915,7 +10091,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9940,7 +10116,7 @@ static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9965,7 +10141,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9978,7 +10154,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9996,7 +10172,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -10012,7 +10188,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -10034,7 +10210,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -10050,7 +10226,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -10072,7 +10248,7 @@ static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10097,7 +10273,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10122,7 +10298,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10147,7 +10323,7 @@ static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10172,7 +10348,7 @@ static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10197,7 +10373,7 @@ static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10222,7 +10398,7 @@ static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10247,7 +10423,7 @@ static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10272,7 +10448,7 @@ static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10297,7 +10473,7 @@ static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10322,7 +10498,7 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10347,7 +10523,7 @@ static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10372,7 +10548,7 @@ static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10397,7 +10573,7 @@ static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10422,7 +10598,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10447,7 +10623,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10472,7 +10648,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10497,7 +10673,7 @@ static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10522,7 +10698,7 @@ static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10547,7 +10723,7 @@ static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10572,7 +10748,7 @@ static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10597,7 +10773,7 @@ static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10622,7 +10798,7 @@ static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10647,7 +10823,7 @@ static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10672,7 +10848,7 @@ static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10697,7 +10873,7 @@ static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10722,7 +10898,7 @@ static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10747,7 +10923,7 @@ static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10772,7 +10948,7 @@ static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10797,7 +10973,7 @@ static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10822,7 +10998,7 @@ static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10847,7 +11023,7 @@ static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10872,7 +11048,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10897,7 +11073,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10922,7 +11098,7 @@ static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10947,7 +11123,7 @@ static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10972,7 +11148,7 @@ static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10997,7 +11173,7 @@ static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11022,7 +11198,7 @@ static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11047,7 +11223,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11072,7 +11248,7 @@ static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11097,7 +11273,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11122,7 +11298,7 @@ static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11147,7 +11323,7 @@ static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11172,7 +11348,7 @@ static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11197,7 +11373,7 @@ static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11222,7 +11398,7 @@ static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11247,7 +11423,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11272,7 +11448,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11297,7 +11473,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11322,7 +11498,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11347,7 +11523,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11372,7 +11548,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11397,7 +11573,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11422,7 +11598,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11447,7 +11623,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11472,7 +11648,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11497,7 +11673,7 @@ static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11522,7 +11698,7 @@ static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -11536,7 +11712,7 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11547,7 +11723,7 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(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: @@ -11556,7 +11732,7 @@ static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -11571,11 +11747,11 @@ static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11593,7 +11769,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11606,7 +11782,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11624,7 +11800,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -11638,7 +11814,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11649,7 +11825,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(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: @@ -11658,7 +11834,7 @@ static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11686,7 +11862,7 @@ static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -11699,7 +11875,7 @@ static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -11717,7 +11893,7 @@ static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *result; PyObject * obj0 = 0 ; @@ -11743,7 +11919,7 @@ static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *arg2 = (void *) 0 ; PyObject * obj0 = 0 ; @@ -11756,7 +11932,7 @@ static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj1,reinterpret_cast(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(2);SWIG_fail; } } @@ -11775,7 +11951,7 @@ static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11788,7 +11964,7 @@ static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11806,7 +11982,7 @@ static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11825,7 +12001,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11834,7 +12010,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11847,7 +12023,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11865,7 +12041,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11884,7 +12060,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(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: @@ -11893,7 +12069,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11906,7 +12082,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11924,7 +12100,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -11944,7 +12120,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -11954,7 +12130,7 @@ static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -11986,7 +12162,7 @@ static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12011,7 +12187,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -12028,7 +12204,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12044,7 +12220,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) @@ -12061,7 +12237,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -12078,7 +12254,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12094,7 +12270,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) @@ -12111,7 +12287,7 @@ static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12130,7 +12306,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12139,7 +12315,7 @@ static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -12152,7 +12328,7 @@ static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -12170,7 +12346,7 @@ static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12198,7 +12374,7 @@ static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12211,7 +12387,7 @@ static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12229,7 +12405,7 @@ static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12248,7 +12424,7 @@ static PyObject *_wrap_StyledTextCtrl_GetZoom(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: @@ -12257,7 +12433,7 @@ static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *result; PyObject * obj0 = 0 ; @@ -12283,7 +12459,7 @@ static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *arg2 = (void *) 0 ; PyObject * obj0 = 0 ; @@ -12296,7 +12472,7 @@ static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj1,reinterpret_cast(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(2);SWIG_fail; } } @@ -12315,7 +12491,7 @@ static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; void *arg2 = (void *) 0 ; PyObject * obj0 = 0 ; @@ -12328,7 +12504,7 @@ static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj1,reinterpret_cast(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(2);SWIG_fail; } } @@ -12347,7 +12523,7 @@ static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12366,7 +12542,7 @@ static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12375,7 +12551,7 @@ static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -12388,7 +12564,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -12406,7 +12582,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12434,7 +12610,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12447,7 +12623,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12465,7 +12641,7 @@ static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12484,7 +12660,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStatus(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: @@ -12493,7 +12669,7 @@ static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -12506,7 +12682,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -12524,7 +12700,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12552,7 +12728,7 @@ static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12565,7 +12741,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12583,7 +12759,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12602,7 +12778,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(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: @@ -12611,7 +12787,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12624,7 +12800,7 @@ static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12642,7 +12818,7 @@ static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12661,7 +12837,7 @@ static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12670,7 +12846,7 @@ static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12695,7 +12871,7 @@ static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12720,7 +12896,7 @@ static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12745,7 +12921,7 @@ static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12770,7 +12946,7 @@ static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -12785,11 +12961,11 @@ static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12807,7 +12983,7 @@ static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12832,7 +13008,7 @@ static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12857,7 +13033,7 @@ static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12870,7 +13046,7 @@ static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12888,7 +13064,7 @@ static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12907,7 +13083,7 @@ static PyObject *_wrap_StyledTextCtrl_GetXOffset(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: @@ -12916,7 +13092,7 @@ static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12941,7 +13117,7 @@ static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -12956,11 +13132,11 @@ static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12978,7 +13154,7 @@ static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -12993,11 +13169,11 @@ static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13015,7 +13191,7 @@ static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13028,7 +13204,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13046,7 +13222,7 @@ static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13065,7 +13241,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13074,7 +13250,7 @@ static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -13090,7 +13266,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -13112,7 +13288,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; wxColour *arg3 = 0 ; @@ -13128,7 +13304,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -13150,7 +13326,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyO static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -13163,7 +13339,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -13181,7 +13357,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyOb static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -13194,7 +13370,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -13212,7 +13388,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13237,7 +13413,7 @@ static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13262,7 +13438,7 @@ static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13287,7 +13463,7 @@ static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13312,7 +13488,7 @@ static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -13326,7 +13502,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13337,7 +13513,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13346,7 +13522,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -13360,7 +13536,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13371,7 +13547,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13380,7 +13556,7 @@ static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -13395,11 +13571,11 @@ static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13417,7 +13593,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -13433,7 +13609,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13464,7 +13640,7 @@ static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13477,7 +13653,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 +13671,7 @@ static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13514,7 +13690,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13523,7 +13699,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -13537,7 +13713,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13548,7 +13724,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13557,7 +13733,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int result; @@ -13571,7 +13747,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13582,7 +13758,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13591,7 +13767,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13616,7 +13792,7 @@ static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13641,7 +13817,7 @@ static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13666,7 +13842,7 @@ static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13691,7 +13867,7 @@ static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject * static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13716,7 +13892,7 @@ static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13741,7 +13917,7 @@ static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13766,7 +13942,7 @@ static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13791,7 +13967,7 @@ static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13816,7 +13992,7 @@ static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13841,7 +14017,7 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13866,7 +14042,7 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13891,7 +14067,7 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13916,7 +14092,7 @@ static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13941,7 +14117,7 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13966,7 +14142,7 @@ static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13991,7 +14167,7 @@ static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14016,7 +14192,7 @@ static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14057,7 +14233,7 @@ static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14082,7 +14258,7 @@ static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14101,7 +14277,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14110,7 +14286,7 @@ static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14123,7 +14299,7 @@ static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14141,7 +14317,7 @@ static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14157,11 +14333,11 @@ static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14172,7 +14348,7 @@ static PyObject *_wrap_StyledTextCtrl_FindColumn(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: @@ -14181,7 +14357,7 @@ static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14206,7 +14382,7 @@ static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14231,7 +14407,7 @@ static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14244,7 +14420,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14262,7 +14438,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14281,7 +14457,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLexer(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: @@ -14290,7 +14466,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14305,11 +14481,11 @@ static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14327,7 +14503,7 @@ static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -14384,7 +14560,7 @@ static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -14400,7 +14576,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14431,7 +14607,7 @@ static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14472,7 +14648,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14491,7 +14667,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14500,7 +14676,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -14516,7 +14692,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14547,7 +14723,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxFont *arg3 = 0 ; @@ -14562,7 +14738,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14588,7 +14764,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14614,11 +14790,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14627,26 +14803,26 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg temp4 = true; } { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } if (obj7) { { - arg8 = (wxFontEncoding)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxFontEncoding )arg8); + (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7,arg8); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14667,7 +14843,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14682,11 +14858,11 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14704,7 +14880,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxFontEncoding arg3 ; @@ -14719,16 +14895,16 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxFontEncoding)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->StyleSetFontEncoding(arg2,(wxFontEncoding )arg3); + (arg1)->StyleSetFontEncoding(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14741,7 +14917,7 @@ static PyObject *_wrap_StyledTextCtrl_StyleSetFontEncoding(PyObject *, PyObject static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14754,7 +14930,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14772,7 +14948,7 @@ static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -14787,11 +14963,11 @@ static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14809,7 +14985,7 @@ static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -14846,7 +15022,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxPoint result; @@ -14860,7 +15036,7 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14872,7 +15048,7 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *ar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -14882,7 +15058,7 @@ static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14895,7 +15071,7 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14913,7 +15089,7 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14926,7 +15102,7 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14944,7 +15120,7 @@ static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; long arg3 = (long) 0 ; @@ -14962,18 +15138,18 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -14985,7 +15161,7 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -14994,7 +15170,7 @@ static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxScrollBar *arg2 = (wxScrollBar *) 0 ; PyObject * obj0 = 0 ; @@ -15023,7 +15199,7 @@ static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxScrollBar *arg2 = (wxScrollBar *) 0 ; PyObject * obj0 = 0 ; @@ -15052,7 +15228,7 @@ static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15080,7 +15256,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15093,7 +15269,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -15111,7 +15287,7 @@ static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObje static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -15155,7 +15331,7 @@ static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -15199,7 +15375,7 @@ static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -15217,20 +15393,20 @@ static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -15243,7 +15419,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -15262,11 +15438,11 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -15299,7 +15475,7 @@ static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15312,7 +15488,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, 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; } { @@ -15330,7 +15506,7 @@ static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15358,7 +15534,7 @@ static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; char *arg2 = (char *) 0 ; PyObject * obj0 = 0 ; @@ -15388,7 +15564,7 @@ static PyObject *_wrap_StyledTextCtrl_AddTextRaw(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; @@ -15403,7 +15579,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 (!SWIG_AsCharPtr(obj2, (char**)&arg3)) { @@ -15424,7 +15600,7 @@ static PyObject *_wrap_StyledTextCtrl_InsertTextRaw(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int *arg2 = (int *) 0 ; wxCharBuffer result; @@ -15458,7 +15634,7 @@ static PyObject *_wrap_StyledTextCtrl_GetCurLineRaw(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; wxCharBuffer result; @@ -15472,7 +15648,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15492,7 +15668,7 @@ static PyObject *_wrap_StyledTextCtrl_GetLineRaw(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxCharBuffer result; PyObject * obj0 = 0 ; @@ -15520,7 +15696,7 @@ static PyObject *_wrap_StyledTextCtrl_GetSelectedTextRaw(PyObject *, PyObject *a static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; int arg2 ; int arg3 ; @@ -15536,11 +15712,11 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15560,7 +15736,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRangeRaw(PyObject *, PyObject *args static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; char *arg2 = (char *) 0 ; PyObject * obj0 = 0 ; @@ -15590,7 +15766,7 @@ static PyObject *_wrap_StyledTextCtrl_SetTextRaw(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; wxCharBuffer result; PyObject * obj0 = 0 ; @@ -15618,7 +15794,7 @@ static PyObject *_wrap_StyledTextCtrl_GetTextRaw(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextCtrl_AppendTextRaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; char *arg2 = (char *) 0 ; PyObject * obj0 = 0 ; @@ -15655,7 +15831,7 @@ static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) 0 ; int arg2 = (int) 0 ; wxStyledTextEvent *result; @@ -15668,13 +15844,13 @@ static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",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; } } @@ -15693,7 +15869,7 @@ static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15718,7 +15894,7 @@ static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15731,7 +15907,7 @@ static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15749,7 +15925,7 @@ static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15762,7 +15938,7 @@ static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15780,7 +15956,7 @@ static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15793,7 +15969,7 @@ static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15811,7 +15987,7 @@ static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15824,7 +16000,7 @@ static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15842,7 +16018,7 @@ static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -15883,7 +16059,7 @@ static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15896,7 +16072,7 @@ static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15914,7 +16090,7 @@ static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15927,7 +16103,7 @@ static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15945,7 +16121,7 @@ static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15958,7 +16134,7 @@ static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15976,7 +16152,7 @@ static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15989,7 +16165,7 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16007,7 +16183,7 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16020,7 +16196,7 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16038,7 +16214,7 @@ static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16051,7 +16227,7 @@ static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16069,7 +16245,7 @@ static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16082,7 +16258,7 @@ static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16100,7 +16276,7 @@ static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16113,7 +16289,7 @@ static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16131,7 +16307,7 @@ static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16144,7 +16320,7 @@ static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16162,7 +16338,7 @@ static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16175,7 +16351,7 @@ static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16193,7 +16369,7 @@ static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16206,7 +16382,7 @@ static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16224,7 +16400,7 @@ static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16237,7 +16413,7 @@ static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16255,7 +16431,7 @@ static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16296,7 +16472,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -16309,7 +16485,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, 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; } { @@ -16327,7 +16503,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxDragResult arg2 ; PyObject * obj0 = 0 ; @@ -16340,12 +16516,12 @@ static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDragResult((wxDragResult )arg2); + (arg1)->SetDragResult(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -16358,7 +16534,7 @@ static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16377,7 +16553,7 @@ static PyObject *_wrap_StyledTextEvent_GetPosition(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: @@ -16386,7 +16562,7 @@ static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16405,7 +16581,7 @@ static PyObject *_wrap_StyledTextEvent_GetKey(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: @@ -16414,7 +16590,7 @@ static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16433,7 +16609,7 @@ static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16442,7 +16618,7 @@ static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16461,7 +16637,7 @@ static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16470,7 +16646,7 @@ static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -16502,7 +16678,7 @@ static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16521,7 +16697,7 @@ static PyObject *_wrap_StyledTextEvent_GetLength(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: @@ -16530,7 +16706,7 @@ static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16549,7 +16725,7 @@ static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16558,7 +16734,7 @@ static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16577,7 +16753,7 @@ static PyObject *_wrap_StyledTextEvent_GetLine(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: @@ -16586,7 +16762,7 @@ static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16605,7 +16781,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16614,7 +16790,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *arg static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16633,7 +16809,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16642,7 +16818,7 @@ static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16661,7 +16837,7 @@ static PyObject *_wrap_StyledTextEvent_GetMargin(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: @@ -16670,7 +16846,7 @@ static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16689,7 +16865,7 @@ static PyObject *_wrap_StyledTextEvent_GetMessage(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: @@ -16698,7 +16874,7 @@ static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16717,7 +16893,7 @@ static PyObject *_wrap_StyledTextEvent_GetWParam(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: @@ -16726,7 +16902,7 @@ static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16745,7 +16921,7 @@ static PyObject *_wrap_StyledTextEvent_GetLParam(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: @@ -16754,7 +16930,7 @@ static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyO static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16773,7 +16949,7 @@ static PyObject *_wrap_StyledTextEvent_GetListType(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: @@ -16782,7 +16958,7 @@ static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16801,7 +16977,7 @@ static PyObject *_wrap_StyledTextEvent_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: @@ -16810,7 +16986,7 @@ static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16829,7 +17005,7 @@ static PyObject *_wrap_StyledTextEvent_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: @@ -16838,7 +17014,7 @@ static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -16870,7 +17046,7 @@ static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, P static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16898,7 +17074,7 @@ static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *ar static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxDragResult result; PyObject * obj0 = 0 ; @@ -16924,7 +17100,7 @@ static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16952,7 +17128,7 @@ static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16980,7 +17156,7 @@ static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, Py static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17008,7 +17184,7 @@ static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -18000,65 +18176,448 @@ static void *_p_wxKeyEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -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_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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__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_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_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_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 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_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_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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 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_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxRect, -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxColour, -_swigt__p_wxScrollBar, -_swigt__p_wxStyledTextEvent, -_swigt__p_wxWindow, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_wxBitmap, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_void, -_swigt__p_char, -_swigt__p_wxPoint, -_swigt__p_wxDC, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxStyledTextCtrl, -_swigt__p_wxFont, -_swigt__p_wxControl, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_int, -_swigt__p_wxMemoryBuffer, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0}; +static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_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_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 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_wxTimerEvent = {"_p_wxTimerEvent", 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_wxJoystickEvent = {"_p_wxJoystickEvent", 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_wxProcessEvent = {"_p_wxProcessEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryBuffer = {"_p_wxMemoryBuffer", "wxMemoryBuffer *", 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_wxFileHistory = {"_p_wxFileHistory", 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_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_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_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStyledTextCtrl = {"_p_wxStyledTextCtrl", "wxStyledTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStyledTextEvent = {"_p_wxStyledTextEvent", "wxStyledTextEvent *", 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_void, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBusyInfo, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClipboard, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileHistory, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxJoystickEvent, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryBuffer, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxProcessEvent, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyProcess, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTimer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxScrollBar, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxStyledTextCtrl, + &_swigt__p_wxStyledTextEvent, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxSystemOptions, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTimerEvent, + &_swigt__p_wxToolTip, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_void[] = { {&_swigt__p_void, 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_wxColour[] = { {&_swigt__p_wxColour, 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_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 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_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxControl, 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_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_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 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_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 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_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryBuffer[] = { {&_swigt__p_wxMemoryBuffer, 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_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 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_wxClipboard[] = {{&_swigt__p_wxClipboard, 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_wxToolTip[] = {{&_swigt__p_wxToolTip, 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_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 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_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextEvent, _p_wxStyledTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStyledTextCtrl[] = { {&_swigt__p_wxStyledTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStyledTextEvent[] = { {&_swigt__p_wxStyledTextEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStyledTextCtrl, _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_void, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxBusyInfo, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClipboard, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileHistory, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxJoystickEvent, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryBuffer, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxProcessEvent, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyProcess, + _swigc__p_wxPySizer, + _swigc__p_wxPyTimer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxScrollBar, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxStyledTextCtrl, + _swigc__p_wxStyledTextEvent, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxSystemOptions, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTimerEvent, + _swigc__p_wxToolTip, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -18070,6 +18629,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 @@ -18087,7 +18857,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; @@ -18097,13 +18867,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; @@ -18116,7 +18886,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -18129,7 +18899,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) { @@ -18142,72 +18912,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; } @@ -18216,11 +19003,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); @@ -18257,7 +19044,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, @@ -18269,7 +19056,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]); @@ -18282,14 +19069,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; + } + } } } } @@ -18299,69 +19090,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 @@ -18370,3237 +19098,3216 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set); { - PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1))); + PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int(static_cast(-1))); } { - PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000))); + PyDict_SetItemString(d,"STC_START", SWIG_From_int(static_cast(2000))); } { - PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000))); + PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int(static_cast(3000))); } { - PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000))); + PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int(static_cast(4000))); } { - PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001))); + PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int(static_cast(65001))); } { - PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21))); + PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int(static_cast(21))); } { - PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22))); + PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int(static_cast(22))); } { - PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23))); + PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int(static_cast(23))); } { - PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24))); + PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int(static_cast(24))); } { - PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000))); + PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int(static_cast(10000))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int(static_cast(26))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int(static_cast(27))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int(static_cast(28))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int(static_cast(29))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int(static_cast(30))); } { - PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000))); + PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int(static_cast(0xFE000000))); } { - PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32))); + PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int(static_cast(32))); } { - PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33))); + PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int(static_cast(33))); } { - PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34))); + PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int(static_cast(34))); } { - PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35))); + PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int(static_cast(35))); } { - PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36))); + PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int(static_cast(36))); } { - PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37))); + PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int(static_cast(37))); } { - PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39))); + PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int(static_cast(39))); } { - PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127))); + PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int(static_cast(127))); } { - PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186))); + PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int(static_cast(186))); } { - PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136))); + PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int(static_cast(136))); } { - PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238))); + PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int(static_cast(238))); } { - PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134))); + PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int(static_cast(134))); } { - PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161))); + PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int(static_cast(161))); } { - PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129))); + PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int(static_cast(129))); } { - PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77))); + PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int(static_cast(77))); } { - PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255))); + PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int(static_cast(255))); } { - PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204))); + PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int(static_cast(204))); } { - PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128))); + PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int(static_cast(128))); } { - PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162))); + PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int(static_cast(162))); } { - PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130))); + PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int(static_cast(130))); } { - PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177))); + PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int(static_cast(177))); } { - PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178))); + PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int(static_cast(178))); } { - PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163))); + PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int(static_cast(163))); } { - PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222))); + PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int(static_cast(222))); } { - PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20))); + PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int(static_cast(0x20))); } { - PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40))); + PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int(static_cast(0x40))); } { - PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80))); + PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int(static_cast(0x80))); } { - PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0))); + PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int(static_cast(0xE0))); } { - PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000))); + PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int(static_cast(0x00100000))); } { - PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000))); + PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int(static_cast(0x00200000))); } { - PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000))); + PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int(static_cast(0x00400000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400))); + PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int(static_cast(0x400))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000))); + PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int(static_cast(0x1000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000))); + PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int(static_cast(0x2000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000))); + PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int(static_cast(0x4000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000))); + PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int(static_cast(0x8000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000))); + PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int(static_cast(0x10000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000))); + PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int(static_cast(0x20000))); } { - PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF))); + PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int(static_cast(0x0FFF))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int(static_cast(0x0004))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int(static_cast(0x0008))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int(static_cast(0x0010))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040))); + PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int(static_cast(0x0040))); } { - PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000))); + PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int(static_cast(10000000))); } { - PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int(static_cast(0x0000))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int(static_cast(0x0000))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1))); + PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int(static_cast(-1))); } { - PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01))); + PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int(static_cast(0x01))); } { - PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04))); + PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int(static_cast(0x04))); } { - PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01))); + PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int(static_cast(0x01))); } { - PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04))); + PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int(static_cast(0x04))); } { - PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10))); + PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int(static_cast(0x10))); } { - PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08))); + PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int(static_cast(0x08))); } { - PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1))); + PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int(static_cast(0x1))); } { - PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2))); + PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int(static_cast(0x2))); } { - PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4))); + PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int(static_cast(0x4))); } { - PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8))); + PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int(static_cast(0x8))); } { - PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10))); + PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int(static_cast(0x10))); } { - PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20))); + PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int(static_cast(0x20))); } { - PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40))); + PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int(static_cast(0x40))); } { - PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100))); + PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int(static_cast(0x100))); } { - PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200))); + PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int(static_cast(0x200))); } { - PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400))); + PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int(static_cast(0x400))); } { - PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800))); + PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int(static_cast(0x800))); } { - PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77))); + PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int(static_cast(0xF77))); } { - PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300))); + PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int(static_cast(300))); } { - PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301))); + PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int(static_cast(301))); } { - PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302))); + PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int(static_cast(302))); } { - PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303))); + PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int(static_cast(303))); } { - PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304))); + PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int(static_cast(304))); } { - PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305))); + PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int(static_cast(305))); } { - PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306))); + PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int(static_cast(306))); } { - PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307))); + PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int(static_cast(307))); } { - PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308))); + PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int(static_cast(308))); } { - PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309))); + PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int(static_cast(309))); } { - PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310))); + PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int(static_cast(310))); } { - PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311))); + PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int(static_cast(311))); } { - PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312))); + PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int(static_cast(312))); } { - PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21))); + PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int(static_cast(21))); } { - PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22))); + PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int(static_cast(22))); } { - PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23))); + PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int(static_cast(23))); } { - PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24))); + PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int(static_cast(24))); } { - PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26))); + PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int(static_cast(26))); } { - PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27))); + PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int(static_cast(27))); } { - PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28))); + PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int(static_cast(28))); } { - PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29))); + PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int(static_cast(29))); } { - PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30))); + PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int(static_cast(30))); } { - PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32))); + PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int(static_cast(32))); } { - PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33))); + PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int(static_cast(33))); } { - PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34))); + PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int(static_cast(34))); } { - PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35))); + PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int(static_cast(35))); } { - PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36))); + PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int(static_cast(36))); } { - PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37))); + PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int(static_cast(37))); } { - PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38))); + PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int(static_cast(38))); } { - PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39))); + PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int(static_cast(39))); } { - PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40))); + PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int(static_cast(40))); } { - PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41))); + PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int(static_cast(41))); } { - PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42))); + PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int(static_cast(42))); } { - PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43))); + PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int(static_cast(43))); } { - PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44))); + PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int(static_cast(44))); } { - PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45))); + PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int(static_cast(45))); } { - PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46))); + PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int(static_cast(46))); } { - PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47))); + PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int(static_cast(47))); } { - PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48))); + PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int(static_cast(48))); } { - PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49))); + PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int(static_cast(49))); } { - PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50))); + PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int(static_cast(50))); } { - PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51))); + PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int(static_cast(51))); } { - PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52))); + PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int(static_cast(52))); } { - PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53))); + PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int(static_cast(53))); } { - PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54))); + PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int(static_cast(54))); } { - PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55))); + PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int(static_cast(55))); } { - PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56))); + PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int(static_cast(56))); } { - PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57))); + PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int(static_cast(57))); } { - PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58))); + PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int(static_cast(58))); } { - PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59))); + PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int(static_cast(59))); } { - PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60))); + PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int(static_cast(60))); } { - PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61))); + PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int(static_cast(61))); } { - PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62))); + PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int(static_cast(62))); } { - PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63))); + PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int(static_cast(63))); } { - PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64))); + PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int(static_cast(64))); } { - PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000))); + PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int(static_cast(1000))); } { - PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21))); + PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int(static_cast(21))); } { - PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22))); + PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int(static_cast(22))); } { - PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23))); + PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int(static_cast(23))); } { - PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24))); + PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int(static_cast(24))); } { - PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26))); + PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int(static_cast(26))); } { - PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27))); + PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int(static_cast(27))); } { - PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28))); + PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int(static_cast(28))); } { - PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29))); + PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int(static_cast(29))); } { - PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30))); + PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int(static_cast(30))); } { - PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40))); + PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int(static_cast(40))); } { - PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41))); + PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int(static_cast(41))); } { - PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42))); + PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int(static_cast(42))); } { - PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43))); + PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int(static_cast(43))); } { - PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44))); + PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int(static_cast(44))); } { - PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45))); + PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int(static_cast(45))); } { - PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46))); + PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int(static_cast(46))); } { - PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47))); + PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int(static_cast(47))); } { - PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48))); + PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int(static_cast(48))); } { - PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49))); + PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int(static_cast(49))); } { - PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50))); + PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int(static_cast(50))); } { - PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51))); + PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int(static_cast(51))); } { - PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52))); + PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int(static_cast(52))); } { - PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55))); + PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int(static_cast(55))); } { - PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56))); + PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int(static_cast(56))); } { - PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57))); + PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int(static_cast(57))); } { - PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58))); + PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int(static_cast(58))); } { - PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59))); + PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int(static_cast(59))); } { - PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60))); + PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int(static_cast(60))); } { - PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61))); + PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int(static_cast(61))); } { - PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62))); + PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int(static_cast(62))); } { - PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63))); + PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int(static_cast(63))); } { - PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64))); + PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int(static_cast(64))); } { - PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65))); + PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int(static_cast(65))); } { - PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66))); + PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int(static_cast(66))); } { - PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67))); + PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int(static_cast(67))); } { - PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70))); + PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int(static_cast(70))); } { - PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71))); + PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int(static_cast(71))); } { - PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72))); + PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int(static_cast(72))); } { - PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73))); + PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int(static_cast(73))); } { - PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74))); + PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int(static_cast(74))); } { - PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75))); + PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int(static_cast(75))); } { - PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76))); + PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int(static_cast(76))); } { - PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77))); + PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int(static_cast(77))); } { - PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80))); + PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int(static_cast(80))); } { - PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81))); + PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int(static_cast(81))); } { - PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82))); + PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int(static_cast(82))); } { - PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83))); + PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int(static_cast(83))); } { - PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84))); + PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int(static_cast(84))); } { - PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85))); + PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int(static_cast(85))); } { - PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86))); + PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int(static_cast(86))); } { - PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87))); + PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int(static_cast(87))); } { - PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90))); + PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int(static_cast(90))); } { - PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91))); + PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int(static_cast(91))); } { - PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92))); + PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int(static_cast(92))); } { - PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93))); + PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int(static_cast(93))); } { - PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94))); + PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int(static_cast(94))); } { - PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95))); + PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int(static_cast(95))); } { - PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96))); + PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int(static_cast(96))); } { - PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97))); + PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int(static_cast(97))); } { - PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98))); + PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int(static_cast(98))); } { - PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99))); + PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int(static_cast(99))); } { - PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100))); + PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int(static_cast(100))); } { - PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101))); + PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int(static_cast(101))); } { - PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102))); + PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int(static_cast(102))); } { - PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104))); + PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int(static_cast(104))); } { - PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105))); + PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int(static_cast(105))); } { - PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106))); + PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int(static_cast(106))); } { - PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107))); + PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int(static_cast(107))); } { - PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108))); + PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int(static_cast(108))); } { - PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109))); + PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int(static_cast(109))); } { - PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110))); + PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int(static_cast(110))); } { - PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111))); + PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int(static_cast(111))); } { - PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112))); + PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int(static_cast(112))); } { - PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113))); + PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int(static_cast(113))); } { - PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114))); + PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int(static_cast(114))); } { - PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115))); + PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int(static_cast(115))); } { - PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116))); + PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int(static_cast(116))); } { - PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117))); + PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int(static_cast(117))); } { - PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118))); + PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int(static_cast(118))); } { - PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119))); + PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int(static_cast(119))); } { - PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120))); + PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int(static_cast(120))); } { - PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121))); + PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int(static_cast(121))); } { - PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122))); + PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int(static_cast(122))); } { - PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123))); + PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int(static_cast(123))); } { - PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124))); + PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int(static_cast(124))); } { - PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125))); + PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int(static_cast(125))); } { - PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126))); + PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int(static_cast(126))); } { - PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127))); + PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int(static_cast(127))); } { - PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21))); + PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int(static_cast(21))); } { - PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22))); + PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int(static_cast(22))); } { - PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23))); + PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int(static_cast(23))); } { - PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24))); + PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int(static_cast(24))); } { - PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25))); + PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int(static_cast(25))); } { - PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26))); + PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int(static_cast(26))); } { - PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27))); + PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int(static_cast(27))); } { - PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28))); + PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int(static_cast(28))); } { - PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29))); + PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int(static_cast(29))); } { - PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30))); + PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int(static_cast(30))); } { - PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18))); + PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int(static_cast(18))); } { - PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20))); + PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int(static_cast(20))); } { - PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17))); + PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int(static_cast(17))); } { - PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15))); + PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int(static_cast(15))); } { - PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16))); + PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int(static_cast(16))); } { - PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31))); + PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int(static_cast(31))); } { - PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19))); + PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int(static_cast(19))); } { - PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0))); + PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int(static_cast(0))); } { - PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1))); + PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int(static_cast(1))); } { - PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2))); + PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int(static_cast(2))); } { - PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3))); + PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int(static_cast(3))); } { - PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4))); + PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int(static_cast(4))); } { - PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5))); + PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int(static_cast(5))); } { - PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6))); + PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int(static_cast(6))); } { - PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7))); + PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int(static_cast(7))); } { - PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8))); + PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int(static_cast(8))); } { - PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9))); + PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int(static_cast(9))); } { - PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10))); + PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int(static_cast(10))); } { - PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11))); + PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int(static_cast(11))); } { - PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12))); + PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int(static_cast(12))); } { - PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13))); + PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int(static_cast(13))); } { - PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14))); + PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int(static_cast(14))); } { - PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011))); + PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int(static_cast(2011))); } { - PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013))); + PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int(static_cast(2013))); } { - PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176))); + PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int(static_cast(2176))); } { - PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177))); + PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int(static_cast(2177))); } { - PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178))); + PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int(static_cast(2178))); } { - PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179))); + PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int(static_cast(2179))); } { - PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180))); + PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int(static_cast(2180))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300))); + PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int(static_cast(2300))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301))); + PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int(static_cast(2301))); } { - PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302))); + PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int(static_cast(2302))); } { - PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303))); + PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int(static_cast(2303))); } { - PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304))); + PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int(static_cast(2304))); } { - PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305))); + PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int(static_cast(2305))); } { - PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306))); + PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int(static_cast(2306))); } { - PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307))); + PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int(static_cast(2307))); } { - PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308))); + PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int(static_cast(2308))); } { - PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309))); + PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int(static_cast(2309))); } { - PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310))); + PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int(static_cast(2310))); } { - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311))); + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int(static_cast(2311))); } { - PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312))); + PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int(static_cast(2312))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313))); + PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int(static_cast(2313))); } { - PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314))); + PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int(static_cast(2314))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315))); + PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int(static_cast(2315))); } { - PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316))); + PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int(static_cast(2316))); } { - PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317))); + PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int(static_cast(2317))); } { - PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318))); + PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int(static_cast(2318))); } { - PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319))); + PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int(static_cast(2319))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320))); + PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int(static_cast(2320))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321))); + PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int(static_cast(2321))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322))); + PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int(static_cast(2322))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323))); + PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int(static_cast(2323))); } { - PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324))); + PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int(static_cast(2324))); } { - PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325))); + PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int(static_cast(2325))); } { - PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326))); + PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int(static_cast(2326))); } { - PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327))); + PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int(static_cast(2327))); } { - PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328))); + PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int(static_cast(2328))); } { - PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329))); + PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int(static_cast(2329))); } { - PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330))); + PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int(static_cast(2330))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331))); + PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int(static_cast(2331))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332))); + PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int(static_cast(2332))); } { - PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333))); + PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int(static_cast(2333))); } { - PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334))); + PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int(static_cast(2334))); } { - PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335))); + PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int(static_cast(2335))); } { - PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336))); + PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int(static_cast(2336))); } { - PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337))); + PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int(static_cast(2337))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338))); + PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int(static_cast(2338))); } { - PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339))); + PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int(static_cast(2339))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404))); + PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int(static_cast(2404))); } { - PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340))); + PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int(static_cast(2340))); } { - PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341))); + PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int(static_cast(2341))); } { - PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342))); + PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int(static_cast(2342))); } { - PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343))); + PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int(static_cast(2343))); } { - PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344))); + PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int(static_cast(2344))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345))); + PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int(static_cast(2345))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346))); + PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int(static_cast(2346))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347))); + PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int(static_cast(2347))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348))); + PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int(static_cast(2348))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349))); + PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int(static_cast(2349))); } { - PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450))); + PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int(static_cast(2450))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451))); + PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int(static_cast(2451))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452))); + PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int(static_cast(2452))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453))); + PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int(static_cast(2453))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454))); + PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int(static_cast(2454))); } { - PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455))); + PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int(static_cast(2455))); } { - PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390))); + PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int(static_cast(2390))); } { - PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391))); + PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int(static_cast(2391))); } { - PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392))); + PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int(static_cast(2392))); } { - PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393))); + PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int(static_cast(2393))); } { - PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395))); + PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int(static_cast(2395))); } { - PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396))); + PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int(static_cast(2396))); } { - PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413))); + PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int(static_cast(2413))); } { - PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414))); + PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int(static_cast(2414))); } { - PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415))); + PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int(static_cast(2415))); } { - PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416))); + PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int(static_cast(2416))); } { - PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426))); + PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int(static_cast(2426))); } { - PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427))); + PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int(static_cast(2427))); } { - PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428))); + PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int(static_cast(2428))); } { - PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429))); + PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int(static_cast(2429))); } { - PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430))); + PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int(static_cast(2430))); } { - PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431))); + PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int(static_cast(2431))); } { - PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432))); + PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int(static_cast(2432))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433))); + PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int(static_cast(2433))); } { - PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434))); + PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int(static_cast(2434))); } { - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435))); + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int(static_cast(2435))); } { - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436))); + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int(static_cast(2436))); } { - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437))); + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int(static_cast(2437))); } { - PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438))); + PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int(static_cast(2438))); } { - PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439))); + PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int(static_cast(2439))); } { - PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440))); + PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int(static_cast(2440))); } { - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441))); + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int(static_cast(2441))); } { - PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442))); + PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int(static_cast(2442))); } { - PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE))); + PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int(static_cast(wxEVT_STC_CHANGE))); } { - PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED))); + PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int(static_cast(wxEVT_STC_STYLENEEDED))); } { - PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED))); + PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int(static_cast(wxEVT_STC_CHARADDED))); } { - PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED))); + PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int(static_cast(wxEVT_STC_SAVEPOINTREACHED))); } { - PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT))); + PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int(static_cast(wxEVT_STC_SAVEPOINTLEFT))); } { - PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT))); + PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int(static_cast(wxEVT_STC_ROMODIFYATTEMPT))); } { - PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY))); + PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int(static_cast(wxEVT_STC_KEY))); } { - PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK))); + PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int(static_cast(wxEVT_STC_DOUBLECLICK))); } { - PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI))); + PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int(static_cast(wxEVT_STC_UPDATEUI))); } { - PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED))); + PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int(static_cast(wxEVT_STC_MODIFIED))); } { - PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD))); + PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int(static_cast(wxEVT_STC_MACRORECORD))); } { - PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK))); + PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int(static_cast(wxEVT_STC_MARGINCLICK))); } { - PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN))); + PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int(static_cast(wxEVT_STC_NEEDSHOWN))); } { - PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED))); + PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int(static_cast(wxEVT_STC_PAINTED))); } { - PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION))); + PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int(static_cast(wxEVT_STC_USERLISTSELECTION))); } { - PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED))); + PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int(static_cast(wxEVT_STC_URIDROPPED))); } { - PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART))); + PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int(static_cast(wxEVT_STC_DWELLSTART))); } { - PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND))); + PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int(static_cast(wxEVT_STC_DWELLEND))); } { - PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG))); + PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int(static_cast(wxEVT_STC_START_DRAG))); } { - PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER))); + PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int(static_cast(wxEVT_STC_DRAG_OVER))); } { - PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP))); + PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int(static_cast(wxEVT_STC_DO_DROP))); } { - PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM))); + PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int(static_cast(wxEVT_STC_ZOOM))); } { - PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK))); + PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int(static_cast(wxEVT_STC_HOTSPOT_CLICK))); } { - PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK))); + PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int(static_cast(wxEVT_STC_HOTSPOT_DCLICK))); } { - PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK))); + PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int(static_cast(wxEVT_STC_CALLTIP_CLICK))); } diff --git a/wxPython/src/gtk/_controls.py b/wxPython/src/gtk/_controls.py index 43cb60464f..342578f079 100644 --- a/wxPython/src/gtk/_controls.py +++ b/wxPython/src/gtk/_controls.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _controls_ @@ -4708,7 +4708,7 @@ class ListCtrl(_core.Control): return _controls_.ListCtrl_InsertItem(*args, **kwargs) def InsertStringItem(*args, **kwargs): - """InsertStringItem(self, long index, String label) -> long""" + """InsertStringItem(self, long index, String label, int imageIndex=-1) -> long""" return _controls_.ListCtrl_InsertStringItem(*args, **kwargs) def InsertImageItem(*args, **kwargs): @@ -6441,3 +6441,4 @@ def PreDatePickerCtrl(*args, **kwargs): return val + diff --git a/wxPython/src/gtk/_controls_wrap.cpp b/wxPython/src/gtk/_controls_wrap.cpp index 9f3f5fc14c..f7b93297da 100644 --- a/wxPython/src/gtk/_controls_wrap.cpp +++ b/wxPython/src/gtk/_controls_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,102 +1431,171 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxTextUrlEvent swig_types[0] -#define SWIGTYPE_p_wxCheckBox swig_types[1] -#define SWIGTYPE_p_wxPyTreeCtrl swig_types[2] -#define SWIGTYPE_p_wxEvent swig_types[3] -#define SWIGTYPE_p_wxGenericDirCtrl swig_types[4] -#define SWIGTYPE_p_bool swig_types[5] -#define SWIGTYPE_p_wxItemContainer swig_types[6] -#define SWIGTYPE_p_wxPyListCtrl swig_types[7] -#define SWIGTYPE_p_wxPyTreeItemData swig_types[8] -#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[9] -#define SWIGTYPE_p_wxStaticLine swig_types[10] -#define SWIGTYPE_p_wxControl swig_types[11] -#define SWIGTYPE_p_wxPyControl swig_types[12] -#define SWIGTYPE_p_wxGauge swig_types[13] -#define SWIGTYPE_p_wxToolBarBase swig_types[14] -#define SWIGTYPE_p_wxFont swig_types[15] -#define SWIGTYPE_p_wxToggleButton swig_types[16] -#define SWIGTYPE_p_wxRadioButton swig_types[17] -#define SWIGTYPE_p_wxChoice swig_types[18] -#define SWIGTYPE_p_wxMemoryDC swig_types[19] -#define SWIGTYPE_ptrdiff_t swig_types[20] -#define SWIGTYPE_std__ptrdiff_t swig_types[21] -#define SWIGTYPE_p_wxListItemAttr swig_types[22] -#define SWIGTYPE_p_void swig_types[23] -#define SWIGTYPE_p_int swig_types[24] -#define SWIGTYPE_p_wxSize swig_types[25] -#define SWIGTYPE_p_wxDC swig_types[26] -#define SWIGTYPE_p_wxListView swig_types[27] -#define SWIGTYPE_p_wxIcon swig_types[28] -#define SWIGTYPE_p_wxVisualAttributes swig_types[29] -#define SWIGTYPE_p_wxTextCtrl swig_types[30] -#define SWIGTYPE_p_wxNotebook swig_types[31] -#define SWIGTYPE_p_wxChoicebook swig_types[32] -#define SWIGTYPE_p_wxNotifyEvent swig_types[33] -#define SWIGTYPE_p_wxArrayString swig_types[34] -#define SWIGTYPE_p_form_ops_t swig_types[35] -#define SWIGTYPE_p_wxListbook swig_types[36] -#define SWIGTYPE_p_wxStaticBitmap swig_types[37] -#define SWIGTYPE_p_wxSlider swig_types[38] -#define SWIGTYPE_p_wxStaticBox swig_types[39] -#define SWIGTYPE_p_wxArrayInt swig_types[40] -#define SWIGTYPE_p_wxContextHelp swig_types[41] -#define SWIGTYPE_p_long swig_types[42] -#define SWIGTYPE_p_wxDuplexMode swig_types[43] -#define SWIGTYPE_p_wxBookCtrlBase swig_types[44] -#define SWIGTYPE_p_wxEvtHandler swig_types[45] -#define SWIGTYPE_p_wxListEvent swig_types[46] -#define SWIGTYPE_p_wxCheckListBox swig_types[47] -#define SWIGTYPE_p_wxListBox swig_types[48] -#define SWIGTYPE_p_wxSpinButton swig_types[49] -#define SWIGTYPE_p_wxButton swig_types[50] -#define SWIGTYPE_p_wxBitmapButton swig_types[51] -#define SWIGTYPE_p_wxRect swig_types[52] -#define SWIGTYPE_p_wxContextHelpButton swig_types[53] -#define SWIGTYPE_p_wxRadioBox swig_types[54] -#define SWIGTYPE_p_wxScrollBar swig_types[55] -#define SWIGTYPE_p_char swig_types[56] -#define SWIGTYPE_p_wxComboBox swig_types[57] -#define SWIGTYPE_p_wxTreeItemId swig_types[58] -#define SWIGTYPE_p_wxHelpEvent swig_types[59] -#define SWIGTYPE_p_wxListItem swig_types[60] -#define SWIGTYPE_p_wxSpinEvent swig_types[61] -#define SWIGTYPE_p_wxGenericDragImage swig_types[62] -#define SWIGTYPE_p_wxSpinCtrl swig_types[63] -#define SWIGTYPE_p_wxPaperSize swig_types[64] -#define SWIGTYPE_p_wxImageList swig_types[65] -#define SWIGTYPE_p_wxHelpProvider swig_types[66] -#define SWIGTYPE_p_wxTextAttr swig_types[67] -#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[68] -#define SWIGTYPE_p_wxChoicebookEvent swig_types[69] -#define SWIGTYPE_p_wxListbookEvent swig_types[70] -#define SWIGTYPE_p_wxNotebookEvent swig_types[71] -#define SWIGTYPE_p_wxPoint swig_types[72] -#define SWIGTYPE_p_wxObject swig_types[73] -#define SWIGTYPE_p_wxCursor swig_types[74] -#define SWIGTYPE_p_wxDateTime swig_types[75] -#define SWIGTYPE_p_wxKeyEvent swig_types[76] -#define SWIGTYPE_p_unsigned_long swig_types[77] -#define SWIGTYPE_p_wxWindow swig_types[78] -#define SWIGTYPE_p_wxString swig_types[79] -#define SWIGTYPE_p_wxBitmap swig_types[80] -#define SWIGTYPE_unsigned_int swig_types[81] -#define SWIGTYPE_p_unsigned_int swig_types[82] -#define SWIGTYPE_p_unsigned_char swig_types[83] -#define SWIGTYPE_p_wxMouseEvent swig_types[84] -#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[85] -#define SWIGTYPE_p_wxTreeEvent swig_types[86] -#define SWIGTYPE_p_wxCommandEvent swig_types[87] -#define SWIGTYPE_p_wxStaticText swig_types[88] -#define SWIGTYPE_p_wxDatePickerCtrl swig_types[89] -#define SWIGTYPE_p_wxControlWithItems swig_types[90] -#define SWIGTYPE_p_wxToolBarToolBase swig_types[91] -#define SWIGTYPE_p_wxColour swig_types[92] -#define SWIGTYPE_p_wxToolBar swig_types[93] -#define SWIGTYPE_p_wxValidator swig_types[94] -static swig_type_info *swig_types[96]; +#define SWIGTYPE_p_bool swig_types[0] +#define SWIGTYPE_p_char swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_long swig_types[4] +#define SWIGTYPE_p_unsigned_char swig_types[5] +#define SWIGTYPE_p_unsigned_int swig_types[6] +#define SWIGTYPE_p_unsigned_long swig_types[7] +#define SWIGTYPE_p_void swig_types[8] +#define SWIGTYPE_p_wxANIHandler swig_types[9] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[10] +#define SWIGTYPE_p_wxActivateEvent swig_types[11] +#define SWIGTYPE_p_wxArrayInt swig_types[12] +#define SWIGTYPE_p_wxArrayString swig_types[13] +#define SWIGTYPE_p_wxBMPHandler swig_types[14] +#define SWIGTYPE_p_wxBitmap swig_types[15] +#define SWIGTYPE_p_wxBitmapButton swig_types[16] +#define SWIGTYPE_p_wxBookCtrlBase swig_types[17] +#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18] +#define SWIGTYPE_p_wxBoxSizer swig_types[19] +#define SWIGTYPE_p_wxButton swig_types[20] +#define SWIGTYPE_p_wxCURHandler swig_types[21] +#define SWIGTYPE_p_wxCheckBox swig_types[22] +#define SWIGTYPE_p_wxCheckListBox swig_types[23] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[24] +#define SWIGTYPE_p_wxChoice swig_types[25] +#define SWIGTYPE_p_wxChoicebook swig_types[26] +#define SWIGTYPE_p_wxChoicebookEvent swig_types[27] +#define SWIGTYPE_p_wxCloseEvent swig_types[28] +#define SWIGTYPE_p_wxColour swig_types[29] +#define SWIGTYPE_p_wxComboBox swig_types[30] +#define SWIGTYPE_p_wxCommandEvent swig_types[31] +#define SWIGTYPE_p_wxContextHelp swig_types[32] +#define SWIGTYPE_p_wxContextHelpButton swig_types[33] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[34] +#define SWIGTYPE_p_wxControl swig_types[35] +#define SWIGTYPE_p_wxControlWithItems swig_types[36] +#define SWIGTYPE_p_wxCursor swig_types[37] +#define SWIGTYPE_p_wxDC swig_types[38] +#define SWIGTYPE_p_wxDateEvent swig_types[39] +#define SWIGTYPE_p_wxDatePickerCtrl swig_types[40] +#define SWIGTYPE_p_wxDateTime swig_types[41] +#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[44] +#define SWIGTYPE_p_wxDuplexMode swig_types[45] +#define SWIGTYPE_p_wxEraseEvent swig_types[46] +#define SWIGTYPE_p_wxEvent swig_types[47] +#define SWIGTYPE_p_wxEvtHandler swig_types[48] +#define SWIGTYPE_p_wxFSFile swig_types[49] +#define SWIGTYPE_p_wxFileSystem swig_types[50] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[51] +#define SWIGTYPE_p_wxFocusEvent swig_types[52] +#define SWIGTYPE_p_wxFont swig_types[53] +#define SWIGTYPE_p_wxGBSizerItem swig_types[54] +#define SWIGTYPE_p_wxGIFHandler swig_types[55] +#define SWIGTYPE_p_wxGauge swig_types[56] +#define SWIGTYPE_p_wxGenericDirCtrl swig_types[57] +#define SWIGTYPE_p_wxGenericDragImage swig_types[58] +#define SWIGTYPE_p_wxGridBagSizer swig_types[59] +#define SWIGTYPE_p_wxGridSizer swig_types[60] +#define SWIGTYPE_p_wxHelpEvent swig_types[61] +#define SWIGTYPE_p_wxHelpProvider swig_types[62] +#define SWIGTYPE_p_wxICOHandler swig_types[63] +#define SWIGTYPE_p_wxIcon swig_types[64] +#define SWIGTYPE_p_wxIconizeEvent swig_types[65] +#define SWIGTYPE_p_wxIdleEvent swig_types[66] +#define SWIGTYPE_p_wxImage swig_types[67] +#define SWIGTYPE_p_wxImageHandler swig_types[68] +#define SWIGTYPE_p_wxImageList swig_types[69] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[71] +#define SWIGTYPE_p_wxItemContainer swig_types[72] +#define SWIGTYPE_p_wxJPEGHandler swig_types[73] +#define SWIGTYPE_p_wxKeyEvent swig_types[74] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[75] +#define SWIGTYPE_p_wxListBox swig_types[76] +#define SWIGTYPE_p_wxListEvent swig_types[77] +#define SWIGTYPE_p_wxListItem swig_types[78] +#define SWIGTYPE_p_wxListItemAttr swig_types[79] +#define SWIGTYPE_p_wxListView swig_types[80] +#define SWIGTYPE_p_wxListbook swig_types[81] +#define SWIGTYPE_p_wxListbookEvent swig_types[82] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[83] +#define SWIGTYPE_p_wxMemoryDC swig_types[84] +#define SWIGTYPE_p_wxMenu swig_types[85] +#define SWIGTYPE_p_wxMenuBar swig_types[86] +#define SWIGTYPE_p_wxMenuEvent swig_types[87] +#define SWIGTYPE_p_wxMenuItem swig_types[88] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89] +#define SWIGTYPE_p_wxMouseEvent swig_types[90] +#define SWIGTYPE_p_wxMoveEvent swig_types[91] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[93] +#define SWIGTYPE_p_wxNotebook swig_types[94] +#define SWIGTYPE_p_wxNotebookEvent swig_types[95] +#define SWIGTYPE_p_wxNotifyEvent swig_types[96] +#define SWIGTYPE_p_wxObject swig_types[97] +#define SWIGTYPE_p_wxPCXHandler swig_types[98] +#define SWIGTYPE_p_wxPNGHandler swig_types[99] +#define SWIGTYPE_p_wxPNMHandler swig_types[100] +#define SWIGTYPE_p_wxPaintEvent swig_types[101] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102] +#define SWIGTYPE_p_wxPaperSize swig_types[103] +#define SWIGTYPE_p_wxPoint swig_types[104] +#define SWIGTYPE_p_wxPyApp swig_types[105] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[106] +#define SWIGTYPE_p_wxPyControl swig_types[107] +#define SWIGTYPE_p_wxPyEvent swig_types[108] +#define SWIGTYPE_p_wxPyImageHandler swig_types[109] +#define SWIGTYPE_p_wxPyListCtrl swig_types[110] +#define SWIGTYPE_p_wxPySizer swig_types[111] +#define SWIGTYPE_p_wxPyTreeCtrl swig_types[112] +#define SWIGTYPE_p_wxPyTreeItemData swig_types[113] +#define SWIGTYPE_p_wxPyValidator swig_types[114] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115] +#define SWIGTYPE_p_wxRadioBox swig_types[116] +#define SWIGTYPE_p_wxRadioButton swig_types[117] +#define SWIGTYPE_p_wxRect swig_types[118] +#define SWIGTYPE_p_wxScrollBar swig_types[119] +#define SWIGTYPE_p_wxScrollEvent swig_types[120] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[121] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[122] +#define SWIGTYPE_p_wxShowEvent swig_types[123] +#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124] +#define SWIGTYPE_p_wxSize swig_types[125] +#define SWIGTYPE_p_wxSizeEvent swig_types[126] +#define SWIGTYPE_p_wxSizer swig_types[127] +#define SWIGTYPE_p_wxSizerItem swig_types[128] +#define SWIGTYPE_p_wxSlider swig_types[129] +#define SWIGTYPE_p_wxSpinButton swig_types[130] +#define SWIGTYPE_p_wxSpinCtrl swig_types[131] +#define SWIGTYPE_p_wxSpinEvent swig_types[132] +#define SWIGTYPE_p_wxStaticBitmap swig_types[133] +#define SWIGTYPE_p_wxStaticBox swig_types[134] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[135] +#define SWIGTYPE_p_wxStaticLine swig_types[136] +#define SWIGTYPE_p_wxStaticText swig_types[137] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138] +#define SWIGTYPE_p_wxString swig_types[139] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140] +#define SWIGTYPE_p_wxTIFFHandler swig_types[141] +#define SWIGTYPE_p_wxTextAttr swig_types[142] +#define SWIGTYPE_p_wxTextCtrl swig_types[143] +#define SWIGTYPE_p_wxTextUrlEvent swig_types[144] +#define SWIGTYPE_p_wxToggleButton swig_types[145] +#define SWIGTYPE_p_wxToolBar swig_types[146] +#define SWIGTYPE_p_wxToolBarBase swig_types[147] +#define SWIGTYPE_p_wxToolBarToolBase swig_types[148] +#define SWIGTYPE_p_wxTreeEvent swig_types[149] +#define SWIGTYPE_p_wxTreeItemId swig_types[150] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[151] +#define SWIGTYPE_p_wxValidator swig_types[152] +#define SWIGTYPE_p_wxVisualAttributes swig_types[153] +#define SWIGTYPE_p_wxWindow swig_types[154] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[155] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156] +#define SWIGTYPE_p_wxXPMHandler swig_types[157] +#define SWIGTYPE_ptrdiff_t swig_types[158] +#define SWIGTYPE_std__ptrdiff_t swig_types[159] +#define SWIGTYPE_unsigned_int swig_types[160] +static swig_type_info *swig_types[162]; +static swig_module_info swig_module = {swig_types, 161, 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) -------- */ @@ -1457,7 +1618,7 @@ static swig_type_info *swig_types[96]; static const wxString wxPyButtonNameStr(wxButtonNameStr); - /*@/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 /*@@*/ @@ -1510,7 +1671,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; @@ -1524,7 +1685,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1532,7 +1693,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1546,7 +1707,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1560,14 +1721,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); @@ -1600,7 +1761,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1614,7 +1775,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1623,7 +1784,7 @@ SWIG_Check_bool(PyObject* obj) static const wxString wxPyChoiceNameStr(wxChoiceNameStr); static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr); - /*@/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 /*@@*/ @@ -1713,7 +1874,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; @@ -1727,7 +1888,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -1774,12 +1935,12 @@ public: static const wxString wxPyNotebookNameStr(wxNotebookNameStr); -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)); } static const wxString wxPyToolBarNameStr(wxToolBarNameStr); @@ -1848,7 +2009,7 @@ static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; } // C++ Version of a Python aware class class wxPyListCtrl : public wxListCtrl { - DECLARE_ABSTRACT_CLASS(wxPyListCtrl); + DECLARE_ABSTRACT_CLASS(wxPyListCtrl) public: wxPyListCtrl() : wxListCtrl() {} wxPyListCtrl(wxWindow* parent, wxWindowID id, @@ -1940,7 +2101,7 @@ static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ r static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; } // C++ version of Python aware wxTreeCtrl class wxPyTreeCtrl : public wxTreeCtrl { - DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl); + DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl) public: wxPyTreeCtrl() : wxTreeCtrl() {} wxPyTreeCtrl(wxWindow *parent, wxWindowID id, @@ -1986,17 +2147,17 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl); #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -2021,7 +2182,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -2033,7 +2194,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -2041,7 +2202,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -2055,7 +2216,7 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); @@ -2140,7 +2301,7 @@ static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId co } static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr); -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_bool(bool value) { PyObject *obj = value ? Py_True : Py_False; @@ -2269,7 +2430,7 @@ static int _wrap_ButtonNameStr_set(PyObject *) { static PyObject *_wrap_ButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2283,7 +2444,7 @@ static PyObject *_wrap_ButtonNameStr_get(void) { static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -2319,7 +2480,7 @@ static PyObject *_wrap_new_Button(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; } } @@ -2344,7 +2505,7 @@ static PyObject *_wrap_new_Button(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; } } @@ -2397,7 +2558,7 @@ static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxButton *result; char *kwnames[] = { NULL @@ -2420,7 +2581,7 @@ static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxButton *arg1 = (wxButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -2460,7 +2621,7 @@ static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -2485,7 +2646,7 @@ static PyObject *_wrap_Button_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; } } @@ -2539,7 +2700,7 @@ static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxButton *arg1 = (wxButton *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2564,7 +2725,7 @@ static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize result; char *kwnames[] = { NULL @@ -2580,7 +2741,7 @@ static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObjec } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -2590,7 +2751,7 @@ static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -2601,21 +2762,21 @@ static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_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 = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxButton::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; @@ -2632,7 +2793,7 @@ static PyObject * Button_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -2667,7 +2828,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2695,7 +2856,7 @@ static PyObject *_wrap_new_BitmapButton(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; } } @@ -2740,7 +2901,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *result; char *kwnames[] = { NULL @@ -2763,7 +2924,7 @@ static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -2802,7 +2963,7 @@ static PyObject *_wrap_BitmapButton_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; } } @@ -2830,7 +2991,7 @@ static PyObject *_wrap_BitmapButton_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; } } @@ -2876,7 +3037,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -2896,7 +3057,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, P } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2906,7 +3067,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -2926,7 +3087,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2936,7 +3097,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -2956,7 +3117,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, P } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2966,7 +3127,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -2986,7 +3147,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2996,7 +3157,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3031,7 +3192,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3066,7 +3227,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3101,7 +3262,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3136,7 +3297,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; int arg2 ; int arg3 ; @@ -3151,11 +3312,11 @@ static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3173,7 +3334,7 @@ static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3192,7 +3353,7 @@ static PyObject *_wrap_BitmapButton_GetMarginX(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: @@ -3201,7 +3362,7 @@ static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3220,7 +3381,7 @@ static PyObject *_wrap_BitmapButton_GetMarginY(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: @@ -3242,7 +3403,7 @@ static int _wrap_CheckBoxNameStr_set(PyObject *) { static PyObject *_wrap_CheckBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3256,7 +3417,7 @@ static PyObject *_wrap_CheckBoxNameStr_get(void) { static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3292,7 +3453,7 @@ static PyObject *_wrap_new_CheckBox(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; } } @@ -3317,7 +3478,7 @@ static PyObject *_wrap_new_CheckBox(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; } } @@ -3370,7 +3531,7 @@ static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *result; char *kwnames[] = { NULL @@ -3393,7 +3554,7 @@ static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3433,7 +3594,7 @@ static PyObject *_wrap_CheckBox_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; } } @@ -3458,7 +3619,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -3512,7 +3673,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3540,7 +3701,7 @@ static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3568,7 +3729,7 @@ static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -3581,7 +3742,7 @@ static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool const)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3599,7 +3760,7 @@ static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; wxCheckBoxState result; PyObject * obj0 = 0 ; @@ -3625,7 +3786,7 @@ static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObj static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; wxCheckBoxState arg2 ; PyObject * obj0 = 0 ; @@ -3638,12 +3799,12 @@ static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxCheckBoxState)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Set3StateValue((wxCheckBoxState )arg2); + (arg1)->Set3StateValue(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3656,7 +3817,7 @@ static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObj static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3684,7 +3845,7 @@ static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3712,7 +3873,7 @@ static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *a static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -3723,21 +3884,21 @@ static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_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 = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxCheckBox::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; @@ -3760,7 +3921,7 @@ static int _wrap_ChoiceNameStr_set(PyObject *) { static PyObject *_wrap_ChoiceNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3774,7 +3935,7 @@ static PyObject *_wrap_ChoiceNameStr_get(void) { static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3810,7 +3971,7 @@ static PyObject *_wrap_new_Choice(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; } } @@ -3847,7 +4008,7 @@ static PyObject *_wrap_new_Choice(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; } } @@ -3898,7 +4059,7 @@ static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoice *result; char *kwnames[] = { NULL @@ -3921,7 +4082,7 @@ static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoice *arg1 = (wxChoice *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3961,7 +4122,7 @@ static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -3998,7 +4159,7 @@ static PyObject *_wrap_Choice_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; } } @@ -4050,7 +4211,7 @@ static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoice *arg1 = (wxChoice *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4069,7 +4230,7 @@ static PyObject *_wrap_Choice_GetCurrentSelection(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: @@ -4078,7 +4239,7 @@ static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -4089,21 +4250,21 @@ static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_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 = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxChoice::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; @@ -4126,7 +4287,7 @@ static int _wrap_ComboBoxNameStr_set(PyObject *) { static PyObject *_wrap_ComboBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4140,7 +4301,7 @@ static PyObject *_wrap_ComboBoxNameStr_get(void) { static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4180,7 +4341,7 @@ static PyObject *_wrap_new_ComboBox(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; } } @@ -4224,7 +4385,7 @@ static PyObject *_wrap_new_ComboBox(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; } } @@ -4283,7 +4444,7 @@ static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *result; char *kwnames[] = { NULL @@ -4306,7 +4467,7 @@ static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -4350,7 +4511,7 @@ static PyObject *_wrap_ComboBox_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; } } @@ -4394,7 +4555,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj7) { { - arg8 = (long)(SWIG_As_long(obj7)); + arg8 = static_cast(SWIG_As_long(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -4454,7 +4615,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4486,7 +4647,7 @@ static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4527,7 +4688,7 @@ static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4552,7 +4713,7 @@ static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4577,7 +4738,7 @@ static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4602,7 +4763,7 @@ static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -4615,7 +4776,7 @@ static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, 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; } { @@ -4633,7 +4794,7 @@ static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, Py static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long result; PyObject * obj0 = 0 ; @@ -4652,7 +4813,7 @@ static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -4661,7 +4822,7 @@ static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, Py static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long result; PyObject * obj0 = 0 ; @@ -4680,7 +4841,7 @@ static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -4689,7 +4850,7 @@ static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long arg2 ; long arg3 ; @@ -4707,11 +4868,11 @@ static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4742,7 +4903,7 @@ static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4755,7 +4916,7 @@ static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4773,7 +4934,7 @@ static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long arg2 ; long arg3 ; @@ -4788,11 +4949,11 @@ static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4810,7 +4971,7 @@ static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -4847,7 +5008,7 @@ static PyObject *_wrap_ComboBox_GetMark(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4866,7 +5027,7 @@ static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4875,7 +5036,7 @@ static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString *arg2 = 0 ; bool result; @@ -4919,7 +5080,7 @@ static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, P static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -4935,7 +5096,7 @@ static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4966,7 +5127,7 @@ static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -4979,7 +5140,7 @@ static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, 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; } { @@ -4997,7 +5158,7 @@ static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5022,7 +5183,7 @@ static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long arg2 ; long arg3 ; @@ -5037,11 +5198,11 @@ static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5059,7 +5220,7 @@ static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5087,7 +5248,7 @@ static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5112,7 +5273,7 @@ static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5137,7 +5298,7 @@ static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5162,7 +5323,7 @@ static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5190,7 +5351,7 @@ static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5218,7 +5379,7 @@ static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5246,7 +5407,7 @@ static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5274,7 +5435,7 @@ static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5302,7 +5463,7 @@ static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -5313,21 +5474,21 @@ static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_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 = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxComboBox::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; @@ -5350,7 +5511,7 @@ static int _wrap_GaugeNameStr_set(PyObject *) { static PyObject *_wrap_GaugeNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5364,7 +5525,7 @@ static PyObject *_wrap_GaugeNameStr_get(void) { static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; int arg3 = (int) 100 ; @@ -5398,13 +5559,13 @@ static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) { if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5422,7 +5583,7 @@ static PyObject *_wrap_new_Gauge(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; } } @@ -5467,7 +5628,7 @@ static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *result; char *kwnames[] = { NULL @@ -5490,7 +5651,7 @@ static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -5528,13 +5689,13 @@ static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -5552,7 +5713,7 @@ static PyObject *_wrap_Gauge_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; } } @@ -5598,7 +5759,7 @@ static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5611,7 +5772,7 @@ static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5629,7 +5790,7 @@ static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5648,7 +5809,7 @@ static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5657,7 +5818,7 @@ static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5670,7 +5831,7 @@ static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5688,7 +5849,7 @@ static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5707,7 +5868,7 @@ static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5716,7 +5877,7 @@ static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5744,7 +5905,7 @@ static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5757,7 +5918,7 @@ static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5775,7 +5936,7 @@ static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5794,7 +5955,7 @@ static PyObject *_wrap_Gauge_GetShadowWidth(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: @@ -5803,7 +5964,7 @@ static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5816,7 +5977,7 @@ static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5834,7 +5995,7 @@ static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5853,7 +6014,7 @@ static PyObject *_wrap_Gauge_GetBezelFace(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: @@ -5862,7 +6023,7 @@ static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -5873,21 +6034,21 @@ static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_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 = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxGauge::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; @@ -5910,7 +6071,7 @@ static int _wrap_StaticBitmapNameStr_set(PyObject *) { static PyObject *_wrap_StaticBitmapNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5930,7 +6091,7 @@ static int _wrap_StaticBoxNameStr_set(PyObject *) { static PyObject *_wrap_StaticBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5950,7 +6111,7 @@ static int _wrap_StaticTextNameStr_set(PyObject *) { static PyObject *_wrap_StaticTextNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5964,7 +6125,7 @@ static PyObject *_wrap_StaticTextNameStr_get(void) { static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -5997,7 +6158,7 @@ static PyObject *_wrap_new_StaticBox(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; } } @@ -6022,7 +6183,7 @@ static PyObject *_wrap_new_StaticBox(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; } } @@ -6065,7 +6226,7 @@ static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBox *result; char *kwnames[] = { NULL @@ -6088,7 +6249,7 @@ static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBox *arg1 = (wxStaticBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6125,7 +6286,7 @@ static PyObject *_wrap_StaticBox_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; } } @@ -6150,7 +6311,7 @@ static PyObject *_wrap_StaticBox_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; } } @@ -6194,7 +6355,7 @@ static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -6205,21 +6366,21 @@ static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_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 = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStaticBox::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; @@ -6236,7 +6397,7 @@ static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -6265,7 +6426,7 @@ static PyObject *_wrap_new_StaticLine(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; } } @@ -6283,7 +6444,7 @@ static PyObject *_wrap_new_StaticLine(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; } } @@ -6318,7 +6479,7 @@ static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticLine *result; char *kwnames[] = { NULL @@ -6341,7 +6502,7 @@ static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticLine *arg1 = (wxStaticLine *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6374,7 +6535,7 @@ static PyObject *_wrap_StaticLine_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; } } @@ -6392,7 +6553,7 @@ static PyObject *_wrap_StaticLine_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; } } @@ -6428,7 +6589,7 @@ static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticLine *arg1 = (wxStaticLine *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6456,7 +6617,7 @@ static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -6471,7 +6632,7 @@ static PyObject *_wrap_StaticLine_GetDefaultSize(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: @@ -6480,7 +6641,7 @@ static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -6491,21 +6652,21 @@ static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_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 = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStaticLine::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; @@ -6522,7 +6683,7 @@ static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -6555,7 +6716,7 @@ static PyObject *_wrap_new_StaticText(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; } } @@ -6580,7 +6741,7 @@ static PyObject *_wrap_new_StaticText(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; } } @@ -6623,7 +6784,7 @@ static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticText *result; char *kwnames[] = { NULL @@ -6646,7 +6807,7 @@ static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticText *arg1 = (wxStaticText *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6683,7 +6844,7 @@ static PyObject *_wrap_StaticText_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; } } @@ -6708,7 +6869,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *k } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -6752,7 +6913,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticText *arg1 = (wxStaticText *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6765,7 +6926,7 @@ static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6783,7 +6944,7 @@ static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -6794,21 +6955,21 @@ static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_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 = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStaticText::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; @@ -6825,7 +6986,7 @@ static PyObject * StaticText_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -6857,7 +7018,7 @@ static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -6885,7 +7046,7 @@ static PyObject *_wrap_new_StaticBitmap(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; } } @@ -6920,7 +7081,7 @@ static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *result; char *kwnames[] = { NULL @@ -6943,7 +7104,7 @@ static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6979,7 +7140,7 @@ static PyObject *_wrap_StaticBitmap_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; } } @@ -7007,7 +7168,7 @@ static PyObject *_wrap_StaticBitmap_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; } } @@ -7043,7 +7204,7 @@ static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -7063,7 +7224,7 @@ static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObje } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -7073,7 +7234,7 @@ static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7108,7 +7269,7 @@ static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxIcon *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7143,7 +7304,7 @@ static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -7154,21 +7315,21 @@ static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_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 = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStaticBitmap::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; @@ -7191,7 +7352,7 @@ static int _wrap_ListBoxNameStr_set(PyObject *) { static PyObject *_wrap_ListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -7205,7 +7366,7 @@ static PyObject *_wrap_ListBoxNameStr_get(void) { static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -7241,7 +7402,7 @@ static PyObject *_wrap_new_ListBox(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; } } @@ -7278,7 +7439,7 @@ static PyObject *_wrap_new_ListBox(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; } } @@ -7329,7 +7490,7 @@ static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *result; char *kwnames[] = { NULL @@ -7352,7 +7513,7 @@ static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -7392,7 +7553,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7429,7 +7590,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwar } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -7481,7 +7642,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -7504,7 +7665,7 @@ static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwar temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -7533,7 +7694,7 @@ static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxArrayString *arg2 = 0 ; int arg3 ; @@ -7566,7 +7727,7 @@ static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject } } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -7590,7 +7751,7 @@ static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxArrayString *arg2 = 0 ; bool temp2 = false ; @@ -7641,7 +7802,7 @@ static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; bool result; @@ -7655,7 +7816,7 @@ static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7675,7 +7836,7 @@ static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -7690,12 +7851,12 @@ static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -7714,7 +7875,7 @@ static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7727,7 +7888,7 @@ static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7745,7 +7906,7 @@ static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7758,7 +7919,7 @@ static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7776,7 +7937,7 @@ static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 = (int) -1 ; PyObject * obj0 = 0 ; @@ -7790,7 +7951,7 @@ static PyObject *_wrap_ListBox_DeselectAll(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; } } @@ -7809,7 +7970,7 @@ static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -7832,7 +7993,7 @@ static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7861,7 +8022,7 @@ static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -7887,7 +8048,7 @@ static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7900,7 +8061,7 @@ static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7918,7 +8079,7 @@ static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7959,7 +8120,7 @@ static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7972,7 +8133,7 @@ static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7990,7 +8151,7 @@ static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -8031,7 +8192,7 @@ static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8059,7 +8220,7 @@ static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -8075,7 +8236,7 @@ static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8097,7 +8258,7 @@ static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *arg static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -8113,7 +8274,7 @@ static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8135,7 +8296,7 @@ static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *arg static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; wxFont *arg3 = 0 ; @@ -8150,7 +8311,7 @@ static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8176,7 +8337,7 @@ static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -8187,21 +8348,21 @@ static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_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 = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxListBox::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; @@ -8218,7 +8379,7 @@ static PyObject * ListBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -8254,7 +8415,7 @@ static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8291,7 +8452,7 @@ static PyObject *_wrap_new_CheckListBox(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; } } @@ -8342,7 +8503,7 @@ static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *result; char *kwnames[] = { NULL @@ -8365,7 +8526,7 @@ static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -8405,7 +8566,7 @@ static PyObject *_wrap_CheckListBox_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; } } @@ -8442,7 +8603,7 @@ static PyObject *_wrap_CheckListBox_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; } } @@ -8494,7 +8655,7 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int arg2 ; bool result; @@ -8508,7 +8669,7 @@ static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8528,7 +8689,7 @@ static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int arg2 ; int arg3 = (int) true ; @@ -8543,12 +8704,12 @@ static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8567,7 +8728,7 @@ static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8586,7 +8747,7 @@ static PyObject *_wrap_CheckListBox_GetItemHeight(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: @@ -8595,7 +8756,7 @@ static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *, PyObject *args, Py static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; wxPoint *arg2 = 0 ; int result; @@ -8621,7 +8782,7 @@ static PyObject *_wrap_CheckListBox_HitTest(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: @@ -8630,7 +8791,7 @@ static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int arg2 ; int arg3 ; @@ -8646,11 +8807,11 @@ static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8661,7 +8822,7 @@ static PyObject *_wrap_CheckListBox_HitTestXY(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: @@ -8683,7 +8844,7 @@ static int _wrap_TextCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TextCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8697,7 +8858,7 @@ static PyObject *_wrap_TextCtrlNameStr_get(void) { static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour const &arg1_defvalue = wxNullColour ; wxColour *arg1 = (wxColour *) &arg1_defvalue ; wxColour const &arg2_defvalue = wxNullColour ; @@ -8741,13 +8902,13 @@ static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4); + result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8760,7 +8921,7 @@ static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8785,7 +8946,7 @@ static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8810,7 +8971,7 @@ static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8842,7 +9003,7 @@ static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8874,7 +9035,7 @@ static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxFont *arg2 = 0 ; long arg3 = (long) wxTEXT_ATTR_FONT ; @@ -8898,7 +9059,7 @@ static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8917,7 +9078,7 @@ static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxTextAttrAlignment arg2 ; PyObject * obj0 = 0 ; @@ -8930,12 +9091,12 @@ static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlignment((wxTextAttrAlignment )arg2); + (arg1)->SetAlignment(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8948,7 +9109,7 @@ static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxArrayInt *arg2 = 0 ; bool temp2 = false ; @@ -8998,7 +9159,7 @@ static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; int arg2 ; int arg3 = (int) 0 ; @@ -9013,12 +9174,12 @@ static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9037,7 +9198,7 @@ static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9050,7 +9211,7 @@ static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9068,7 +9229,7 @@ static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -9081,7 +9242,7 @@ static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, 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; } { @@ -9099,7 +9260,7 @@ static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9127,7 +9288,7 @@ static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9155,7 +9316,7 @@ static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9183,7 +9344,7 @@ static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9211,7 +9372,7 @@ static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9239,7 +9400,7 @@ static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9267,7 +9428,7 @@ static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9295,7 +9456,7 @@ static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long arg2 ; bool result; @@ -9309,7 +9470,7 @@ static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, 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; } { @@ -9329,7 +9490,7 @@ static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -9358,7 +9519,7 @@ static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -9387,7 +9548,7 @@ static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -9419,7 +9580,7 @@ static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxTextAttrAlignment result; PyObject * obj0 = 0 ; @@ -9445,7 +9606,7 @@ static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -9482,7 +9643,7 @@ static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9501,7 +9662,7 @@ static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9510,7 +9671,7 @@ static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9529,7 +9690,7 @@ static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9538,7 +9699,7 @@ static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyO static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9557,7 +9718,7 @@ static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9566,7 +9727,7 @@ static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9585,7 +9746,7 @@ static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9594,7 +9755,7 @@ static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9622,7 +9783,7 @@ static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = 0 ; wxTextAttr *arg2 = 0 ; wxTextCtrl *arg3 = (wxTextCtrl *) 0 ; @@ -9662,7 +9823,7 @@ static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kw } { wxTextAttr * resultptr; - resultptr = new wxTextAttr((wxTextAttr &)(result)); + resultptr = new wxTextAttr(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1); } return resultobj; @@ -9679,7 +9840,7 @@ static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9715,7 +9876,7 @@ static PyObject *_wrap_new_TextCtrl(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; } } @@ -9740,7 +9901,7 @@ static PyObject *_wrap_new_TextCtrl(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; } } @@ -9793,7 +9954,7 @@ static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *result; char *kwnames[] = { NULL @@ -9816,7 +9977,7 @@ static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -9856,7 +10017,7 @@ static PyObject *_wrap_TextCtrl_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; } } @@ -9881,7 +10042,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -9935,7 +10096,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9967,7 +10128,7 @@ static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10008,7 +10169,7 @@ static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10024,11 +10185,11 @@ static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10052,7 +10213,7 @@ static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; int result; @@ -10066,7 +10227,7 @@ static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10077,7 +10238,7 @@ static PyObject *_wrap_TextCtrl_GetLineLength(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: @@ -10086,7 +10247,7 @@ static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; wxString result; @@ -10100,7 +10261,7 @@ static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10124,7 +10285,7 @@ static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10143,7 +10304,7 @@ static PyObject *_wrap_TextCtrl_GetNumberOfLines(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: @@ -10152,7 +10313,7 @@ static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyO static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10180,7 +10341,7 @@ static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10208,7 +10369,7 @@ static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10236,7 +10397,7 @@ static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10264,7 +10425,7 @@ static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -10301,7 +10462,7 @@ static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10333,7 +10494,7 @@ static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, P static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10358,7 +10519,7 @@ static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10376,11 +10537,11 @@ static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10411,7 +10572,7 @@ static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10426,11 +10587,11 @@ static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10448,7 +10609,7 @@ static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -10492,7 +10653,7 @@ static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -10539,7 +10700,7 @@ static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10564,7 +10725,7 @@ static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10589,7 +10750,7 @@ static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; unsigned long arg2 ; PyObject * obj0 = 0 ; @@ -10602,7 +10763,7 @@ static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10620,7 +10781,7 @@ static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10661,7 +10822,7 @@ static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10702,7 +10863,7 @@ static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxKeyEvent *arg2 = 0 ; bool result; @@ -10740,7 +10901,7 @@ static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10758,11 +10919,11 @@ static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10790,7 +10951,7 @@ static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; wxTextAttr *arg3 = 0 ; @@ -10806,7 +10967,7 @@ static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10834,7 +10995,7 @@ static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxTextAttr *arg2 = 0 ; bool result; @@ -10872,7 +11033,7 @@ static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxTextAttr *result; PyObject * obj0 = 0 ; @@ -10901,7 +11062,7 @@ static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10917,11 +11078,11 @@ static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10932,7 +11093,7 @@ static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -10941,7 +11102,7 @@ static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long *arg3 = (long *) 0 ; @@ -10962,7 +11123,7 @@ static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10984,7 +11145,7 @@ static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -10997,7 +11158,7 @@ static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -11015,7 +11176,7 @@ static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxPoint *arg2 = 0 ; long *arg3 = (long *) 0 ; @@ -11060,7 +11221,7 @@ static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxPoint *arg2 = 0 ; long *arg3 = (long *) 0 ; @@ -11099,7 +11260,7 @@ static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11124,7 +11285,7 @@ static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11149,7 +11310,7 @@ static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11174,7 +11335,7 @@ static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11202,7 +11363,7 @@ static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11230,7 +11391,7 @@ static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11258,7 +11419,7 @@ static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11283,7 +11444,7 @@ static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11308,7 +11469,7 @@ static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11336,7 +11497,7 @@ static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11364,7 +11525,7 @@ static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -11377,7 +11538,7 @@ static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -11395,7 +11556,7 @@ static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, Py static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11420,7 +11581,7 @@ static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long result; PyObject * obj0 = 0 ; @@ -11439,7 +11600,7 @@ static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -11448,7 +11609,7 @@ static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, Py static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long result; PyObject * obj0 = 0 ; @@ -11467,7 +11628,7 @@ static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -11476,7 +11637,7 @@ static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -11491,11 +11652,11 @@ static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11513,7 +11674,7 @@ static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11538,7 +11699,7 @@ static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -11551,7 +11712,7 @@ static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -11569,7 +11730,7 @@ static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -11610,7 +11771,7 @@ static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -11626,11 +11787,11 @@ static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11654,7 +11815,7 @@ static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -11665,21 +11826,21 @@ static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_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 = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxTextCtrl::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; @@ -11696,7 +11857,7 @@ static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxMouseEvent *arg2 = 0 ; long arg3 ; @@ -11712,7 +11873,7 @@ static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -11724,11 +11885,11 @@ static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -11746,7 +11907,7 @@ static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ; wxMouseEvent *result; PyObject * obj0 = 0 ; @@ -11775,7 +11936,7 @@ static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, Py static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -11794,7 +11955,7 @@ static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -11803,7 +11964,7 @@ static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -11822,7 +11983,7 @@ static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -11844,7 +12005,7 @@ static int _wrap_ScrollBarNameStr_set(PyObject *) { static PyObject *_wrap_ScrollBarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -11858,7 +12019,7 @@ static PyObject *_wrap_ScrollBarNameStr_get(void) { static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -11890,7 +12051,7 @@ static PyObject *_wrap_new_ScrollBar(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; } } @@ -11908,7 +12069,7 @@ static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwarg } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -11953,7 +12114,7 @@ static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *result; char *kwnames[] = { NULL @@ -11976,7 +12137,7 @@ static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -12012,7 +12173,7 @@ static PyObject *_wrap_ScrollBar_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; } } @@ -12030,7 +12191,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kw } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -12076,7 +12237,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12095,7 +12256,7 @@ static PyObject *_wrap_ScrollBar_GetThumbPosition(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: @@ -12104,7 +12265,7 @@ static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12123,7 +12284,7 @@ static PyObject *_wrap_ScrollBar_GetThumbSize(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: @@ -12132,7 +12293,7 @@ static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12151,7 +12312,7 @@ static PyObject *_wrap_ScrollBar_GetPageSize(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: @@ -12160,7 +12321,7 @@ static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12179,7 +12340,7 @@ static PyObject *_wrap_ScrollBar_GetRange(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: @@ -12188,7 +12349,7 @@ static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12216,7 +12377,7 @@ static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12229,7 +12390,7 @@ static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12247,7 +12408,7 @@ static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int arg2 ; int arg3 ; @@ -12268,24 +12429,24 @@ static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -12304,7 +12465,7 @@ static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -12315,21 +12476,21 @@ static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_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 = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxScrollBar::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; @@ -12352,7 +12513,7 @@ static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) { static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -12372,7 +12533,7 @@ static int _wrap_SpinCtrlNameStr_set(PyObject *) { static PyObject *_wrap_SpinCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -12386,7 +12547,7 @@ static PyObject *_wrap_SpinCtrlNameStr_get(void) { static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -12415,7 +12576,7 @@ static PyObject *_wrap_new_SpinButton(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; } } @@ -12433,7 +12594,7 @@ static PyObject *_wrap_new_SpinButton(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; } } @@ -12468,7 +12629,7 @@ static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *result; char *kwnames[] = { NULL @@ -12491,7 +12652,7 @@ static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -12524,7 +12685,7 @@ static PyObject *_wrap_SpinButton_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; } } @@ -12542,7 +12703,7 @@ static PyObject *_wrap_SpinButton_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; } } @@ -12578,7 +12739,7 @@ static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12597,7 +12758,7 @@ static PyObject *_wrap_SpinButton_GetValue(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: @@ -12606,7 +12767,7 @@ static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12625,7 +12786,7 @@ static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12634,7 +12795,7 @@ static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12653,7 +12814,7 @@ static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12662,7 +12823,7 @@ static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12675,7 +12836,7 @@ static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12693,7 +12854,7 @@ static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12706,7 +12867,7 @@ static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12724,7 +12885,7 @@ static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12737,7 +12898,7 @@ static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12755,7 +12916,7 @@ static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int arg2 ; int arg3 ; @@ -12770,11 +12931,11 @@ static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12792,7 +12953,7 @@ static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12820,7 +12981,7 @@ static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -12831,21 +12992,21 @@ static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_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 = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxSpinButton::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; @@ -12862,7 +13023,7 @@ static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -12901,7 +13062,7 @@ static PyObject *_wrap_new_SpinCtrl(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; } } @@ -12926,25 +13087,25 @@ static PyObject *_wrap_new_SpinCtrl(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; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -12987,7 +13148,7 @@ static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *result; char *kwnames[] = { NULL @@ -13010,7 +13171,7 @@ static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -13053,7 +13214,7 @@ static PyObject *_wrap_SpinCtrl_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; } } @@ -13078,25 +13239,25 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (int)(SWIG_As_int(obj9)); + arg10 = static_cast(SWIG_As_int(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -13140,7 +13301,7 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13159,7 +13320,7 @@ static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13168,7 +13329,7 @@ static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13181,7 +13342,7 @@ static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13199,7 +13360,7 @@ static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -13240,7 +13401,7 @@ static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int arg2 ; int arg3 ; @@ -13255,11 +13416,11 @@ static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13277,7 +13438,7 @@ static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13296,7 +13457,7 @@ static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13305,7 +13466,7 @@ static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13324,7 +13485,7 @@ static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13333,7 +13494,7 @@ static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; long arg2 ; long arg3 ; @@ -13348,11 +13509,11 @@ static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13370,7 +13531,7 @@ static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -13381,21 +13542,21 @@ static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_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 = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxSpinCtrl::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; @@ -13412,7 +13573,7 @@ static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxSpinEvent *result; @@ -13425,13 +13586,13 @@ static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",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; } } @@ -13450,7 +13611,7 @@ static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinEvent *arg1 = (wxSpinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13469,7 +13630,7 @@ static PyObject *_wrap_SpinEvent_GetPosition(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: @@ -13478,7 +13639,7 @@ static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinEvent *arg1 = (wxSpinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13491,7 +13652,7 @@ static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13522,7 +13683,7 @@ static int _wrap_RadioBoxNameStr_set(PyObject *) { static PyObject *_wrap_RadioBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13542,7 +13703,7 @@ static int _wrap_RadioButtonNameStr_set(PyObject *) { static PyObject *_wrap_RadioButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13556,7 +13717,7 @@ static PyObject *_wrap_RadioButtonNameStr_get(void) { static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -13598,7 +13759,7 @@ static PyObject *_wrap_new_RadioBox(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; } } @@ -13642,13 +13803,13 @@ static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs } 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 = (long)(SWIG_As_long(obj7)); + arg8 = static_cast(SWIG_As_long(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -13707,7 +13868,7 @@ static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *result; char *kwnames[] = { NULL @@ -13730,7 +13891,7 @@ static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -13776,7 +13937,7 @@ static PyObject *_wrap_RadioBox_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; } } @@ -13820,13 +13981,13 @@ static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (long)(SWIG_As_long(obj8)); + arg9 = static_cast(SWIG_As_long(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -13886,7 +14047,7 @@ static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13899,7 +14060,7 @@ static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13917,7 +14078,7 @@ static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13936,7 +14097,7 @@ static PyObject *_wrap_RadioBox_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: @@ -13945,7 +14106,7 @@ static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -13977,7 +14138,7 @@ static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, P static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString *arg2 = 0 ; bool result; @@ -14021,7 +14182,7 @@ static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, P static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14040,7 +14201,7 @@ static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14049,7 +14210,7 @@ static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString *arg2 = 0 ; int result; @@ -14076,7 +14237,7 @@ static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -14093,7 +14254,7 @@ static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; wxString result; @@ -14107,7 +14268,7 @@ static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14131,7 +14292,7 @@ static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -14147,7 +14308,7 @@ static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14178,7 +14339,7 @@ static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -14193,12 +14354,12 @@ static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14217,7 +14378,7 @@ static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -14232,12 +14393,12 @@ static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14256,7 +14417,7 @@ static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14275,7 +14436,7 @@ static PyObject *_wrap_RadioBox_GetColumnCount(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: @@ -14284,7 +14445,7 @@ static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14303,7 +14464,7 @@ static PyObject *_wrap_RadioBox_GetRowCount(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: @@ -14312,7 +14473,7 @@ static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; wxDirection arg3 ; @@ -14330,26 +14491,26 @@ static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDirection)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4); + result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14358,7 +14519,7 @@ static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -14369,21 +14530,21 @@ static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_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 = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxRadioBox::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; @@ -14400,7 +14561,7 @@ static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14436,7 +14597,7 @@ static PyObject *_wrap_new_RadioButton(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; } } @@ -14461,7 +14622,7 @@ static PyObject *_wrap_new_RadioButton(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; } } @@ -14514,7 +14675,7 @@ static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioButton *result; char *kwnames[] = { NULL @@ -14537,7 +14698,7 @@ static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioButton *arg1 = (wxRadioButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -14577,7 +14738,7 @@ static PyObject *_wrap_RadioButton_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; } } @@ -14602,7 +14763,7 @@ static PyObject *_wrap_RadioButton_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; } } @@ -14656,7 +14817,7 @@ static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioButton *arg1 = (wxRadioButton *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -14684,7 +14845,7 @@ static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioButton *arg1 = (wxRadioButton *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -14697,7 +14858,7 @@ static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, 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; } { @@ -14715,7 +14876,7 @@ static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -14726,21 +14887,21 @@ static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_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 = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxRadioButton::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; @@ -14763,7 +14924,7 @@ static int _wrap_SliderNameStr_set(PyObject *) { static PyObject *_wrap_SliderNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14777,7 +14938,7 @@ static PyObject *_wrap_SliderNameStr_get(void) { static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; int arg3 = (int) 0 ; @@ -14815,25 +14976,25 @@ static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -14851,7 +15012,7 @@ static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) } if (obj7) { { - arg8 = (long)(SWIG_As_long(obj7)); + arg8 = static_cast(SWIG_As_long(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -14896,7 +15057,7 @@ static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *result; char *kwnames[] = { NULL @@ -14919,7 +15080,7 @@ static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -14961,25 +15122,25 @@ static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -14997,7 +15158,7 @@ static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwarg } if (obj8) { { - arg9 = (long)(SWIG_As_long(obj8)); + arg9 = static_cast(SWIG_As_long(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -15043,7 +15204,7 @@ static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15062,7 +15223,7 @@ static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15071,7 +15232,7 @@ static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15084,7 +15245,7 @@ static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15102,7 +15263,7 @@ static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; int arg3 ; @@ -15117,11 +15278,11 @@ static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15139,7 +15300,7 @@ static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15158,7 +15319,7 @@ static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15167,7 +15328,7 @@ static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15186,7 +15347,7 @@ static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15195,7 +15356,7 @@ static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15208,7 +15369,7 @@ static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15226,7 +15387,7 @@ static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15239,7 +15400,7 @@ static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15257,7 +15418,7 @@ static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15270,7 +15431,7 @@ static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15288,7 +15449,7 @@ static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15301,7 +15462,7 @@ static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15319,7 +15480,7 @@ static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15338,7 +15499,7 @@ static PyObject *_wrap_Slider_GetLineSize(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: @@ -15347,7 +15508,7 @@ static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15366,7 +15527,7 @@ static PyObject *_wrap_Slider_GetPageSize(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: @@ -15375,7 +15536,7 @@ static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15388,7 +15549,7 @@ static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15406,7 +15567,7 @@ static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15425,7 +15586,7 @@ static PyObject *_wrap_Slider_GetThumbLength(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: @@ -15434,7 +15595,7 @@ static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; int arg3 = (int) 1 ; @@ -15449,12 +15610,12 @@ static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -15473,7 +15634,7 @@ static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15492,7 +15653,7 @@ static PyObject *_wrap_Slider_GetTickFreq(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: @@ -15501,7 +15662,7 @@ static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15526,7 +15687,7 @@ static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15539,7 +15700,7 @@ static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15557,7 +15718,7 @@ static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15582,7 +15743,7 @@ static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15601,7 +15762,7 @@ static PyObject *_wrap_Slider_GetSelEnd(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: @@ -15610,7 +15771,7 @@ static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15629,7 +15790,7 @@ static PyObject *_wrap_Slider_GetSelStart(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: @@ -15638,7 +15799,7 @@ static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; int arg3 ; @@ -15653,11 +15814,11 @@ static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15675,7 +15836,7 @@ static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -15686,21 +15847,21 @@ static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_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 = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxSlider::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; @@ -15723,7 +15884,7 @@ static int _wrap_ToggleButtonNameStr_set(PyObject *) { static PyObject *_wrap_ToggleButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15737,7 +15898,7 @@ static PyObject *_wrap_ToggleButtonNameStr_get(void) { static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -15773,7 +15934,7 @@ static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15798,7 +15959,7 @@ static PyObject *_wrap_new_ToggleButton(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; } } @@ -15851,7 +16012,7 @@ static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *result; char *kwnames[] = { NULL @@ -15874,7 +16035,7 @@ static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *arg1 = (wxToggleButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -15914,7 +16075,7 @@ static PyObject *_wrap_ToggleButton_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; } } @@ -15939,7 +16100,7 @@ static PyObject *_wrap_ToggleButton_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; } } @@ -15993,7 +16154,7 @@ static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *arg1 = (wxToggleButton *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -16006,7 +16167,7 @@ static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, 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; } { @@ -16024,7 +16185,7 @@ static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *arg1 = (wxToggleButton *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16052,7 +16213,7 @@ static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *arg1 = (wxToggleButton *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16093,7 +16254,7 @@ static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -16104,21 +16265,21 @@ static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_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 = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxToggleButton::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; @@ -16141,7 +16302,7 @@ static int _wrap_NotebookNameStr_set(PyObject *) { static PyObject *_wrap_NotebookNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16155,7 +16316,7 @@ static PyObject *_wrap_NotebookNameStr_get(void) { static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -16174,7 +16335,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageCount(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: @@ -16183,7 +16344,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; wxWindow *result; @@ -16197,7 +16358,7 @@ static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16217,7 +16378,7 @@ static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16245,7 +16406,7 @@ static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, P static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16264,7 +16425,7 @@ static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16273,7 +16434,7 @@ static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -16290,7 +16451,7 @@ static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16323,7 +16484,7 @@ static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; wxString result; @@ -16337,7 +16498,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16361,7 +16522,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -16390,7 +16551,7 @@ static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -16419,7 +16580,7 @@ static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -16447,7 +16608,7 @@ static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; int result; @@ -16461,7 +16622,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16472,7 +16633,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageImage(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: @@ -16481,7 +16642,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; int arg3 ; @@ -16497,11 +16658,11 @@ static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -16521,7 +16682,7 @@ static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -16553,7 +16714,7 @@ static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -16580,7 +16741,7 @@ static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(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; @@ -16590,7 +16751,7 @@ static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; bool result; @@ -16604,7 +16765,7 @@ static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16624,7 +16785,7 @@ static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; bool result; @@ -16638,7 +16799,7 @@ static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16658,7 +16819,7 @@ static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16686,7 +16847,7 @@ static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, P static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -16715,13 +16876,13 @@ static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -16750,7 +16911,7 @@ static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -16773,7 +16934,7 @@ static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -16785,13 +16946,13 @@ static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObj } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(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; } } @@ -16820,7 +16981,7 @@ static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; int result; @@ -16834,7 +16995,7 @@ static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16845,7 +17006,7 @@ static PyObject *_wrap_BookCtrlBase_SetSelection(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: @@ -16854,7 +17015,7 @@ static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -16868,7 +17029,7 @@ static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16887,7 +17048,7 @@ static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -16898,21 +17059,21 @@ static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_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 = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxBookCtrlBase::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; @@ -16929,7 +17090,7 @@ static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -16946,25 +17107,25 @@ static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -16983,7 +17144,7 @@ static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17002,7 +17163,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17011,7 +17172,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17024,7 +17185,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17042,7 +17203,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17061,7 +17222,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17070,7 +17231,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *a static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17083,7 +17244,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17108,7 +17269,7 @@ static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -17137,7 +17298,7 @@ static PyObject *_wrap_new_Notebook(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; } } @@ -17155,7 +17316,7 @@ static PyObject *_wrap_new_Notebook(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; } } @@ -17190,7 +17351,7 @@ static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *result; char *kwnames[] = { NULL @@ -17213,7 +17374,7 @@ static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -17246,7 +17407,7 @@ static PyObject *_wrap_Notebook_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; } } @@ -17264,7 +17425,7 @@ static PyObject *_wrap_Notebook_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; } } @@ -17300,7 +17461,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17319,7 +17480,7 @@ static PyObject *_wrap_Notebook_GetRowCount(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: @@ -17328,7 +17489,7 @@ static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -17360,7 +17521,7 @@ static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -17392,7 +17553,7 @@ static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxPoint *arg2 = 0 ; long *arg3 = (long *) 0 ; @@ -17422,7 +17583,7 @@ static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0))); @@ -17433,7 +17594,7 @@ static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -17460,7 +17621,7 @@ static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -17470,7 +17631,7 @@ static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyO static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -17490,7 +17651,7 @@ static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -17500,7 +17661,7 @@ static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *a static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -17511,21 +17672,21 @@ static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_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 = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxNotebook::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; @@ -17542,7 +17703,7 @@ static PyObject * Notebook_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -17559,25 +17720,25 @@ static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -17603,7 +17764,7 @@ static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -17632,7 +17793,7 @@ static PyObject *_wrap_new_Listbook(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; } } @@ -17650,7 +17811,7 @@ static PyObject *_wrap_new_Listbook(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; } } @@ -17685,7 +17846,7 @@ static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListbook *result; char *kwnames[] = { NULL @@ -17708,7 +17869,7 @@ static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListbook *arg1 = (wxListbook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -17741,7 +17902,7 @@ static PyObject *_wrap_Listbook_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; } } @@ -17759,7 +17920,7 @@ static PyObject *_wrap_Listbook_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; } } @@ -17795,7 +17956,7 @@ static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListbook *arg1 = (wxListbook *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17823,7 +17984,7 @@ static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListbook *arg1 = (wxListbook *) 0 ; wxListView *result; PyObject * obj0 = 0 ; @@ -17856,7 +18017,7 @@ static PyObject * Listbook_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -17873,25 +18034,25 @@ static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -17917,7 +18078,7 @@ static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -17945,7 +18106,7 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -17962,7 +18123,7 @@ static PyObject *_wrap_new_Choicebook(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; } } @@ -17997,7 +18158,7 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *result; char *kwnames[] = { NULL @@ -18020,7 +18181,7 @@ static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -18052,7 +18213,7 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k 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) { @@ -18069,7 +18230,7 @@ static PyObject *_wrap_Choicebook_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; } } @@ -18105,7 +18266,7 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18133,7 +18294,7 @@ static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; wxChoice *result; PyObject * obj0 = 0 ; @@ -18159,7 +18320,7 @@ static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18194,7 +18355,7 @@ static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -18211,25 +18372,25 @@ static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -18255,7 +18416,7 @@ static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18274,7 +18435,7 @@ static PyObject *_wrap_ToolBarToolBase_GetId(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: @@ -18283,7 +18444,7 @@ static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -18311,7 +18472,7 @@ static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxToolBarBase *result; PyObject * obj0 = 0 ; @@ -18339,7 +18500,7 @@ static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18358,7 +18519,7 @@ static PyObject *_wrap_ToolBarToolBase_IsButton(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: @@ -18367,7 +18528,7 @@ static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18386,7 +18547,7 @@ static PyObject *_wrap_ToolBarToolBase_IsControl(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: @@ -18395,7 +18556,7 @@ static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18414,7 +18575,7 @@ static PyObject *_wrap_ToolBarToolBase_IsSeparator(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: @@ -18423,7 +18584,7 @@ static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18442,7 +18603,7 @@ static PyObject *_wrap_ToolBarToolBase_GetStyle(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: @@ -18451,7 +18612,7 @@ static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxItemKind result; PyObject * obj0 = 0 ; @@ -18477,7 +18638,7 @@ static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18505,7 +18666,7 @@ static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18533,7 +18694,7 @@ static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18561,7 +18722,7 @@ static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -18593,7 +18754,7 @@ static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *arg static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -18625,7 +18786,7 @@ static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *a static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -18645,7 +18806,7 @@ static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyO } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -18655,7 +18816,7 @@ static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18687,7 +18848,7 @@ static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18719,7 +18880,7 @@ static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18751,7 +18912,7 @@ static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool arg2 ; bool result; @@ -18765,7 +18926,7 @@ static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, 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; } { @@ -18785,7 +18946,7 @@ static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18810,7 +18971,7 @@ static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool arg2 ; bool result; @@ -18824,7 +18985,7 @@ static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, 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; } { @@ -18844,7 +19005,7 @@ static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -18888,7 +19049,7 @@ static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -18932,7 +19093,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -18967,7 +19128,7 @@ static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *arg static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -19002,7 +19163,7 @@ static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *a static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -19043,7 +19204,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19068,7 +19229,7 @@ static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxToolBarBase *arg2 = (wxToolBarBase *) 0 ; PyObject * obj0 = 0 ; @@ -19097,7 +19258,7 @@ static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -19123,7 +19284,7 @@ static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -19158,7 +19319,7 @@ static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -19192,7 +19353,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19220,7 +19381,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObjec } if (obj5) { { - arg6 = (wxItemKind)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -19243,7 +19404,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObjec } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9); + result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19282,7 +19443,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; int arg3 ; @@ -19318,11 +19479,11 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -19350,7 +19511,7 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyOb } if (obj6) { { - arg7 = (wxItemKind)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -19373,7 +19534,7 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyOb } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,(wxItemKind )arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10); + result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19412,7 +19573,7 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ; wxToolBarToolBase *result; @@ -19444,7 +19605,7 @@ static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ; @@ -19460,7 +19621,7 @@ static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0); @@ -19482,7 +19643,7 @@ static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxControl *arg2 = (wxControl *) 0 ; wxToolBarToolBase *result; @@ -19514,7 +19675,7 @@ static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; wxControl *arg3 = (wxControl *) 0 ; @@ -19530,7 +19691,7 @@ static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0); @@ -19552,7 +19713,7 @@ static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxControl *result; @@ -19566,7 +19727,7 @@ static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19586,7 +19747,7 @@ static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxToolBarToolBase *result; PyObject * obj0 = 0 ; @@ -19614,7 +19775,7 @@ static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; wxToolBarToolBase *result; @@ -19628,7 +19789,7 @@ static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, 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; } { @@ -19648,7 +19809,7 @@ static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxToolBarToolBase *result; @@ -19662,7 +19823,7 @@ static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19682,7 +19843,7 @@ static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; bool result; @@ -19696,7 +19857,7 @@ static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, 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; } { @@ -19716,7 +19877,7 @@ static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool result; @@ -19730,7 +19891,7 @@ static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19750,7 +19911,7 @@ static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19775,7 +19936,7 @@ static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19803,7 +19964,7 @@ static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool arg3 ; @@ -19818,11 +19979,11 @@ static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -19840,7 +20001,7 @@ static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool arg3 ; @@ -19855,11 +20016,11 @@ static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -19877,7 +20038,7 @@ static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool arg3 ; @@ -19892,11 +20053,11 @@ static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -19914,7 +20075,7 @@ static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject *result; @@ -19928,7 +20089,7 @@ static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19946,7 +20107,7 @@ static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -19961,7 +20122,7 @@ static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } arg3 = obj2; @@ -19980,7 +20141,7 @@ static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; int result; @@ -19994,7 +20155,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20005,7 +20166,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPos(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: @@ -20014,7 +20175,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool result; @@ -20028,7 +20189,7 @@ static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20048,7 +20209,7 @@ static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool result; @@ -20062,7 +20223,7 @@ static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20082,7 +20243,7 @@ static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -20098,7 +20259,7 @@ static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20129,7 +20290,7 @@ static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString result; @@ -20143,7 +20304,7 @@ static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20167,7 +20328,7 @@ static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -20183,7 +20344,7 @@ static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20214,7 +20375,7 @@ static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString result; @@ -20228,7 +20389,7 @@ static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20252,7 +20413,7 @@ static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; int arg3 ; @@ -20267,11 +20428,11 @@ static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -20289,7 +20450,7 @@ static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -20321,7 +20482,7 @@ static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -20334,7 +20495,7 @@ static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20352,7 +20513,7 @@ static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -20365,7 +20526,7 @@ static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20383,7 +20544,7 @@ static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20403,7 +20564,7 @@ static PyObject *_wrap_ToolBarBase_GetToolMargins(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; @@ -20413,7 +20574,7 @@ static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20433,7 +20594,7 @@ static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObje } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -20443,7 +20604,7 @@ static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20462,7 +20623,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPacking(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: @@ -20471,7 +20632,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20490,7 +20651,7 @@ static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20499,7 +20660,7 @@ static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -20512,7 +20673,7 @@ static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20530,7 +20691,7 @@ static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; int arg3 ; @@ -20545,11 +20706,11 @@ static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -20567,7 +20728,7 @@ static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20586,7 +20747,7 @@ static PyObject *_wrap_ToolBarBase_GetMaxRows(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: @@ -20595,7 +20756,7 @@ static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20614,7 +20775,7 @@ static PyObject *_wrap_ToolBarBase_GetMaxCols(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: @@ -20623,7 +20784,7 @@ static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -20655,7 +20816,7 @@ static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20675,7 +20836,7 @@ static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(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; @@ -20685,7 +20846,7 @@ static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20705,7 +20866,7 @@ static PyObject *_wrap_ToolBarBase_GetToolSize(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; @@ -20715,7 +20876,7 @@ static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; int arg3 ; @@ -20731,11 +20892,11 @@ static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -20755,7 +20916,7 @@ static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *arg static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxToolBarToolBase *result; @@ -20769,7 +20930,7 @@ static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20789,7 +20950,7 @@ static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20824,7 +20985,7 @@ static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -20853,7 +21014,7 @@ static PyObject *_wrap_new_ToolBar(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; } } @@ -20871,7 +21032,7 @@ static PyObject *_wrap_new_ToolBar(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; } } @@ -20906,7 +21067,7 @@ static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBar *result; char *kwnames[] = { NULL @@ -20929,7 +21090,7 @@ static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBar *arg1 = (wxToolBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -20962,7 +21123,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -20980,7 +21141,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwar } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -21016,7 +21177,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBar *arg1 = (wxToolBar *) 0 ; int arg2 ; int arg3 ; @@ -21032,11 +21193,11 @@ static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -21056,7 +21217,7 @@ static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -21067,21 +21228,21 @@ static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_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 = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxToolBar::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; @@ -21104,7 +21265,7 @@ static int _wrap_ListCtrlNameStr_set(PyObject *) { static PyObject *_wrap_ListCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -21118,7 +21279,7 @@ static PyObject *_wrap_ListCtrlNameStr_get(void) { static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour const &arg1_defvalue = wxNullColour ; wxColour *arg1 = (wxColour *) &arg1_defvalue ; wxColour const &arg2_defvalue = wxNullColour ; @@ -21173,7 +21334,7 @@ static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21205,7 +21366,7 @@ static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21237,7 +21398,7 @@ static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -21272,7 +21433,7 @@ static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21300,7 +21461,7 @@ static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21328,7 +21489,7 @@ static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21356,7 +21517,7 @@ static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -21376,7 +21537,7 @@ static PyObject *_wrap_ListItemAttr_GetTextColour(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; @@ -21386,7 +21547,7 @@ static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -21406,7 +21567,7 @@ static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -21416,7 +21577,7 @@ static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -21436,7 +21597,7 @@ static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -21446,7 +21607,7 @@ static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21478,7 +21639,7 @@ static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *result; char *kwnames[] = { NULL @@ -21502,7 +21663,7 @@ static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21527,7 +21688,7 @@ static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21552,7 +21713,7 @@ static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21577,7 +21738,7 @@ static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21590,7 +21751,7 @@ static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21608,7 +21769,7 @@ static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21621,7 +21782,7 @@ static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21639,7 +21800,7 @@ static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -21652,7 +21813,7 @@ static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21670,7 +21831,7 @@ static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21683,7 +21844,7 @@ static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21701,7 +21862,7 @@ static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21714,7 +21875,7 @@ static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21732,7 +21893,7 @@ static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -21773,7 +21934,7 @@ static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -21786,7 +21947,7 @@ static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21804,7 +21965,7 @@ static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21817,7 +21978,7 @@ static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21835,7 +21996,7 @@ static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -21848,7 +22009,7 @@ static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21866,7 +22027,7 @@ static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxListColumnFormat arg2 ; PyObject * obj0 = 0 ; @@ -21879,12 +22040,12 @@ static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxListColumnFormat)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlign((wxListColumnFormat )arg2); + (arg1)->SetAlign(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21897,7 +22058,7 @@ static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21929,7 +22090,7 @@ static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21961,7 +22122,7 @@ static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -21996,7 +22157,7 @@ static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22015,7 +22176,7 @@ static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22024,7 +22185,7 @@ static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22043,7 +22204,7 @@ static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22052,7 +22213,7 @@ static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22071,7 +22232,7 @@ static PyObject *_wrap_ListItem_GetColumn(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: @@ -22080,7 +22241,7 @@ static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22099,7 +22260,7 @@ static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22108,7 +22269,7 @@ static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -22143,7 +22304,7 @@ static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22162,7 +22323,7 @@ static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22171,7 +22332,7 @@ static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22190,7 +22351,7 @@ static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22199,7 +22360,7 @@ static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22218,7 +22379,7 @@ static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22227,7 +22388,7 @@ static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxListColumnFormat result; PyObject * obj0 = 0 ; @@ -22253,7 +22414,7 @@ static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxListItemAttr *result; PyObject * obj0 = 0 ; @@ -22279,7 +22440,7 @@ static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22307,7 +22468,7 @@ static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -22327,7 +22488,7 @@ static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -22337,7 +22498,7 @@ static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -22357,7 +22518,7 @@ static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -22367,7 +22528,7 @@ static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -22387,7 +22548,7 @@ static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kw } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -22397,7 +22558,7 @@ static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22410,7 +22571,7 @@ static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_mask = arg2; @@ -22423,7 +22584,7 @@ static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22437,7 +22598,7 @@ static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject result = (long) ((arg1)->m_mask); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22446,7 +22607,7 @@ static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22459,7 +22620,7 @@ static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_itemId = arg2; @@ -22472,7 +22633,7 @@ static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22486,7 +22647,7 @@ static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObjec result = (long) ((arg1)->m_itemId); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22495,7 +22656,7 @@ static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22508,7 +22669,7 @@ static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_col = arg2; @@ -22521,7 +22682,7 @@ static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22535,7 +22696,7 @@ static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject * result = (int) ((arg1)->m_col); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22544,7 +22705,7 @@ static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22557,7 +22718,7 @@ static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_state = arg2; @@ -22570,7 +22731,7 @@ static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22584,7 +22745,7 @@ static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject result = (long) ((arg1)->m_state); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22593,7 +22754,7 @@ static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22606,7 +22767,7 @@ static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_stateMask = arg2; @@ -22619,7 +22780,7 @@ static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22633,7 +22794,7 @@ static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyOb result = (long) ((arg1)->m_stateMask); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22642,7 +22803,7 @@ static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxString *arg2 = (wxString *) 0 ; bool temp2 = false ; @@ -22678,7 +22839,7 @@ static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -22705,7 +22866,7 @@ static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22718,7 +22879,7 @@ static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_image = arg2; @@ -22731,7 +22892,7 @@ static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22745,7 +22906,7 @@ static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject result = (int) ((arg1)->m_image); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22754,7 +22915,7 @@ static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22767,7 +22928,7 @@ static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_data = arg2; @@ -22780,7 +22941,7 @@ static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22794,7 +22955,7 @@ static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject result = (long) ((arg1)->m_data); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22803,7 +22964,7 @@ static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22816,7 +22977,7 @@ static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_format = arg2; @@ -22829,7 +22990,7 @@ static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22843,7 +23004,7 @@ static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObjec result = (int) ((arg1)->m_format); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22852,7 +23013,7 @@ static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22865,7 +23026,7 @@ static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_width = arg2; @@ -22878,7 +23039,7 @@ static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22892,7 +23053,7 @@ static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject result = (int) ((arg1)->m_width); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22908,7 +23069,7 @@ static PyObject * ListItem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxListEvent *result; @@ -22921,13 +23082,13 @@ static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",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; } } @@ -22946,7 +23107,7 @@ static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22959,7 +23120,7 @@ static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_code = arg2; @@ -22972,7 +23133,7 @@ static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22986,7 +23147,7 @@ static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject result = (int) ((arg1)->m_code); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22995,7 +23156,7 @@ static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -23008,7 +23169,7 @@ static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_oldItemIndex = arg2; @@ -23021,7 +23182,7 @@ static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23035,7 +23196,7 @@ static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, result = (long) ((arg1)->m_oldItemIndex); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23044,7 +23205,7 @@ static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -23057,7 +23218,7 @@ static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_itemIndex = arg2; @@ -23070,7 +23231,7 @@ static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23084,7 +23245,7 @@ static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyO result = (long) ((arg1)->m_itemIndex); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23093,7 +23254,7 @@ static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -23106,7 +23267,7 @@ static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_col = arg2; @@ -23119,7 +23280,7 @@ static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23133,7 +23294,7 @@ static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject result = (int) ((arg1)->m_col); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23142,7 +23303,7 @@ static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxPoint *arg2 = (wxPoint *) 0 ; PyObject * obj0 = 0 ; @@ -23166,7 +23327,7 @@ static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -23187,7 +23348,7 @@ static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxListItem *result; PyObject * obj0 = 0 ; @@ -23210,7 +23371,7 @@ static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23229,7 +23390,7 @@ static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23238,7 +23399,7 @@ static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23257,7 +23418,7 @@ static PyObject *_wrap_ListEvent_GetIndex(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: @@ -23266,7 +23427,7 @@ static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23285,7 +23446,7 @@ static PyObject *_wrap_ListEvent_GetColumn(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: @@ -23294,7 +23455,7 @@ static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -23314,7 +23475,7 @@ static PyObject *_wrap_ListEvent_GetPoint(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; @@ -23324,7 +23485,7 @@ static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -23359,7 +23520,7 @@ static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -23394,7 +23555,7 @@ static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23413,7 +23574,7 @@ static PyObject *_wrap_ListEvent_GetImage(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: @@ -23422,7 +23583,7 @@ static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23441,7 +23602,7 @@ static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23450,7 +23611,7 @@ static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23469,7 +23630,7 @@ static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23478,7 +23639,7 @@ static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxListItem *result; PyObject * obj0 = 0 ; @@ -23507,7 +23668,7 @@ static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23526,7 +23687,7 @@ static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23535,7 +23696,7 @@ static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23554,7 +23715,7 @@ static PyObject *_wrap_ListEvent_GetCacheTo(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: @@ -23563,7 +23724,7 @@ static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23591,7 +23752,7 @@ static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23604,7 +23765,7 @@ static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, 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; } { @@ -23629,7 +23790,7 @@ static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -23661,7 +23822,7 @@ static PyObject *_wrap_new_ListCtrl(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; } } @@ -23679,7 +23840,7 @@ static PyObject *_wrap_new_ListCtrl(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; } } @@ -23724,7 +23885,7 @@ static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *result; char *kwnames[] = { NULL @@ -23747,7 +23908,7 @@ static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -23783,7 +23944,7 @@ static PyObject *_wrap_ListCtrl_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; } } @@ -23801,7 +23962,7 @@ static PyObject *_wrap_ListCtrl_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; } } @@ -23847,7 +24008,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -23878,7 +24039,7 @@ static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -23913,7 +24074,7 @@ static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -23948,7 +24109,7 @@ static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; wxListItem *result; @@ -23962,7 +24123,7 @@ static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23982,7 +24143,7 @@ static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; wxListItem *arg3 = 0 ; @@ -23998,7 +24159,7 @@ static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24026,7 +24187,7 @@ static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; int result; @@ -24040,7 +24201,7 @@ static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24051,7 +24212,7 @@ static PyObject *_wrap_ListCtrl_GetColumnWidth(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: @@ -24060,7 +24221,7 @@ static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; int arg3 ; @@ -24076,11 +24237,11 @@ static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -24100,7 +24261,7 @@ static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24119,7 +24280,7 @@ static PyObject *_wrap_ListCtrl_GetCountPerPage(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: @@ -24128,7 +24289,7 @@ static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -24148,7 +24309,7 @@ static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -24158,7 +24319,7 @@ static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 = (int) 0 ; @@ -24174,12 +24335,12 @@ static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -24200,7 +24361,7 @@ static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxListItem *arg2 = 0 ; bool result; @@ -24238,7 +24399,7 @@ static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 ; @@ -24259,11 +24420,11 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -24273,7 +24434,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -24285,7 +24446,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp4) @@ -24302,7 +24463,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -24318,11 +24479,11 @@ static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -24333,7 +24494,7 @@ static PyObject *_wrap_ListCtrl_GetItemState(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: @@ -24342,7 +24503,7 @@ static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -24360,15 +24521,15 @@ static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -24388,7 +24549,7 @@ static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 ; @@ -24406,16 +24567,16 @@ static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (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; } } @@ -24436,7 +24597,7 @@ static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString result; @@ -24450,7 +24611,7 @@ static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24474,7 +24635,7 @@ static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; @@ -24490,7 +24651,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24521,7 +24682,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long result; @@ -24535,7 +24696,7 @@ static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24546,7 +24707,7 @@ static PyObject *_wrap_ListCtrl_GetItemData(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: @@ -24555,7 +24716,7 @@ static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -24571,11 +24732,11 @@ static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -24595,7 +24756,7 @@ static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxPoint result; @@ -24609,7 +24770,7 @@ static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24621,7 +24782,7 @@ static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyOb } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -24631,7 +24792,7 @@ static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 = (int) wxLIST_RECT_BOUNDS ; @@ -24647,12 +24808,12 @@ static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -24665,7 +24826,7 @@ static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -24675,7 +24836,7 @@ static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxPoint *arg3 = 0 ; @@ -24692,7 +24853,7 @@ static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24716,7 +24877,7 @@ static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24735,7 +24896,7 @@ static PyObject *_wrap_ListCtrl_GetItemCount(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: @@ -24744,7 +24905,7 @@ static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24763,7 +24924,7 @@ static PyObject *_wrap_ListCtrl_GetColumnCount(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: @@ -24772,7 +24933,7 @@ static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -24792,7 +24953,7 @@ static PyObject *_wrap_ListCtrl_GetItemSpacing(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; @@ -24802,7 +24963,7 @@ static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -24817,12 +24978,12 @@ static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -24841,7 +25002,7 @@ static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24860,7 +25021,7 @@ static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24869,7 +25030,7 @@ static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -24889,7 +25050,7 @@ static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -24899,7 +25060,7 @@ static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -24931,7 +25092,7 @@ static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long result; PyObject * obj0 = 0 ; @@ -24950,7 +25111,7 @@ static PyObject *_wrap_ListCtrl_GetTopItem(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: @@ -24959,7 +25120,7 @@ static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; bool arg3 = (bool) true ; @@ -24974,12 +25135,12 @@ static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -24998,7 +25159,7 @@ static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -25011,7 +25172,7 @@ static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25029,7 +25190,7 @@ static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, P static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 = (int) wxLIST_NEXT_ALL ; @@ -25047,18 +25208,18 @@ static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = (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; } } @@ -25070,7 +25231,7 @@ static PyObject *_wrap_ListCtrl_GetNextItem(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: @@ -25079,7 +25240,7 @@ static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; wxImageList *result; @@ -25093,7 +25254,7 @@ static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25113,7 +25274,7 @@ static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; int arg3 ; @@ -25130,7 +25291,7 @@ static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, 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; } { @@ -25148,7 +25309,7 @@ static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; int arg3 ; @@ -25165,7 +25326,7 @@ static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); 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; } { @@ -25183,7 +25344,7 @@ static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25211,7 +25372,7 @@ static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25239,7 +25400,7 @@ static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -25252,7 +25413,7 @@ static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25270,7 +25431,7 @@ static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -25285,11 +25446,11 @@ static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -25307,7 +25468,7 @@ static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 = (int) wxLIST_ALIGN_DEFAULT ; bool result; @@ -25322,7 +25483,7 @@ static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -25343,7 +25504,7 @@ static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; bool result; @@ -25357,7 +25518,7 @@ static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25377,7 +25538,7 @@ static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25405,7 +25566,7 @@ static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; bool result; @@ -25419,7 +25580,7 @@ static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25439,7 +25600,7 @@ static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25467,7 +25628,7 @@ static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25492,7 +25653,7 @@ static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -25505,7 +25666,7 @@ static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25523,7 +25684,7 @@ static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; bool result; @@ -25537,7 +25698,7 @@ static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25557,7 +25718,7 @@ static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; @@ -25576,7 +25737,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25586,7 +25747,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -25598,7 +25759,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp3) @@ -25615,7 +25776,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -25631,11 +25792,11 @@ static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -25646,7 +25807,7 @@ static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25655,7 +25816,7 @@ static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxPoint *arg3 = 0 ; @@ -25674,7 +25835,7 @@ static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25682,7 +25843,7 @@ static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObje if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -25693,7 +25854,7 @@ static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25702,7 +25863,7 @@ static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxPoint *arg2 = 0 ; int *arg3 = 0 ; @@ -25732,7 +25893,7 @@ static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); @@ -25743,7 +25904,7 @@ static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxListItem *arg2 = 0 ; long result; @@ -25772,7 +25933,7 @@ static PyObject *_wrap_ListCtrl_InsertItem(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: @@ -25781,24 +25942,26 @@ static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; + int arg4 = (int) -1 ; long result; bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "index",(char *) "label", NULL + (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25806,15 +25969,21 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyO if (arg3 == NULL) SWIG_fail; temp3 = true; } + if (obj3) { + { + arg4 = static_cast(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3); + result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp3) @@ -25831,7 +26000,7 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 ; @@ -25847,11 +26016,11 @@ static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -25862,7 +26031,7 @@ static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25871,7 +26040,7 @@ static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; @@ -25890,7 +26059,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25899,7 +26068,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args temp3 = true; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -25910,7 +26079,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp3) @@ -25927,7 +26096,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxListItem *arg3 = 0 ; @@ -25943,7 +26112,7 @@ static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25962,7 +26131,7 @@ static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25971,7 +26140,7 @@ static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; @@ -25992,7 +26161,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26002,13 +26171,13 @@ static PyObject *_wrap_ListCtrl_InsertColumn(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; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -26020,7 +26189,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp3) @@ -26037,7 +26206,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -26050,7 +26219,7 @@ static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26068,7 +26237,7 @@ static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; int arg3 ; @@ -26084,11 +26253,11 @@ static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -26108,7 +26277,7 @@ static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxColour *arg3 = 0 ; @@ -26124,7 +26293,7 @@ static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26146,7 +26315,7 @@ static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxColour result; @@ -26160,7 +26329,7 @@ static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26172,7 +26341,7 @@ static PyObject *_wrap_ListCtrl_GetItemTextColour(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; @@ -26182,7 +26351,7 @@ static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxColour *arg3 = 0 ; @@ -26198,7 +26367,7 @@ static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26220,7 +26389,7 @@ static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxColour result; @@ -26234,7 +26403,7 @@ static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26246,7 +26415,7 @@ static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -26256,7 +26425,7 @@ static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxFont *arg3 = 0 ; @@ -26271,7 +26440,7 @@ static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26297,7 +26466,7 @@ static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxFont result; @@ -26311,7 +26480,7 @@ static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26323,7 +26492,7 @@ static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -26333,7 +26502,7 @@ static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -26364,7 +26533,7 @@ static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -26392,7 +26561,7 @@ static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -26403,21 +26572,21 @@ static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_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 = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxPyListCtrl::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; @@ -26434,7 +26603,7 @@ static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -26466,7 +26635,7 @@ static PyObject *_wrap_new_ListView(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; } } @@ -26484,7 +26653,7 @@ static PyObject *_wrap_new_ListView(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; } } @@ -26529,7 +26698,7 @@ static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *result; char *kwnames[] = { NULL @@ -26552,7 +26721,7 @@ static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -26588,7 +26757,7 @@ static PyObject *_wrap_ListView_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; } } @@ -26606,7 +26775,7 @@ static PyObject *_wrap_ListView_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; } } @@ -26652,7 +26821,7 @@ static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; bool arg3 = (bool) true ; @@ -26667,12 +26836,12 @@ static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, 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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -26691,7 +26860,7 @@ static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -26704,7 +26873,7 @@ static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, 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; } { @@ -26722,7 +26891,7 @@ static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long result; PyObject * obj0 = 0 ; @@ -26741,7 +26910,7 @@ static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26750,7 +26919,7 @@ static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; long result; @@ -26764,7 +26933,7 @@ static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, 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; } { @@ -26775,7 +26944,7 @@ static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26784,7 +26953,7 @@ static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long result; PyObject * obj0 = 0 ; @@ -26803,7 +26972,7 @@ static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26812,7 +26981,7 @@ static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; bool result; @@ -26826,7 +26995,7 @@ static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, 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; } { @@ -26846,7 +27015,7 @@ static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; int arg2 ; int arg3 ; @@ -26861,11 +27030,11 @@ static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -26883,7 +27052,7 @@ static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -26896,7 +27065,7 @@ static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26927,7 +27096,7 @@ static int _wrap_TreeCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TreeCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -26941,7 +27110,7 @@ static PyObject *_wrap_TreeCtrlNameStr_get(void) { static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *result; char *kwnames[] = { NULL @@ -26963,7 +27132,7 @@ static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26988,7 +27157,7 @@ static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27016,7 +27185,7 @@ static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; wxTreeItemId *arg2 = (wxTreeItemId *) 0 ; bool result; @@ -27048,7 +27217,7 @@ static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; wxTreeItemId *arg2 = (wxTreeItemId *) 0 ; bool result; @@ -27080,7 +27249,7 @@ static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; void *arg2 = (void *) 0 ; PyObject * obj0 = 0 ; @@ -27093,7 +27262,7 @@ static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) { + if ((SWIG_ConvertPtr(obj1,reinterpret_cast(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) { SWIG_arg_fail(2);SWIG_fail; } } @@ -27107,7 +27276,7 @@ static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; void *result; PyObject * obj0 = 0 ; @@ -27135,7 +27304,7 @@ static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) NULL ; wxPyTreeItemData *result; PyObject * obj0 = 0 ; @@ -27162,7 +27331,7 @@ static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -27188,7 +27357,7 @@ static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -27216,7 +27385,7 @@ static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; wxTreeItemId *result; PyObject * obj0 = 0 ; @@ -27245,7 +27414,7 @@ static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27280,7 +27449,7 @@ static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27312,7 +27481,7 @@ static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxTreeEvent *result; @@ -27325,13 +27494,13 @@ static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",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; } } @@ -27350,7 +27519,7 @@ static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -27370,7 +27539,7 @@ static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *k } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -27380,7 +27549,7 @@ static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27415,7 +27584,7 @@ static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -27435,7 +27604,7 @@ static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -27445,7 +27614,7 @@ static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27480,7 +27649,7 @@ static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -27500,7 +27669,7 @@ static PyObject *_wrap_TreeEvent_GetPoint(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; @@ -27510,7 +27679,7 @@ static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -27542,7 +27711,7 @@ static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxKeyEvent *result; PyObject * obj0 = 0 ; @@ -27571,7 +27740,7 @@ static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27590,7 +27759,7 @@ static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27599,7 +27768,7 @@ static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27634,7 +27803,7 @@ static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -27669,7 +27838,7 @@ static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -27710,7 +27879,7 @@ static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27738,7 +27907,7 @@ static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -27751,7 +27920,7 @@ static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, 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; } { @@ -27769,7 +27938,7 @@ static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -27810,7 +27979,7 @@ static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -27849,7 +28018,7 @@ static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -27881,7 +28050,7 @@ static PyObject *_wrap_new_TreeCtrl(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; } } @@ -27899,7 +28068,7 @@ static PyObject *_wrap_new_TreeCtrl(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; } } @@ -27944,7 +28113,7 @@ static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *result; char *kwnames[] = { NULL @@ -27967,7 +28136,7 @@ static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -28003,7 +28172,7 @@ static PyObject *_wrap_TreeCtrl_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; } } @@ -28021,7 +28190,7 @@ static PyObject *_wrap_TreeCtrl_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; } } @@ -28067,7 +28236,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28098,7 +28267,7 @@ static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -28117,7 +28286,7 @@ static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *k 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: @@ -28126,7 +28295,7 @@ static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -28145,7 +28314,7 @@ static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -28154,7 +28323,7 @@ static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -28167,7 +28336,7 @@ static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28185,7 +28354,7 @@ static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -28204,7 +28373,7 @@ static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -28213,7 +28382,7 @@ static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -28226,7 +28395,7 @@ static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28244,7 +28413,7 @@ static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -28272,7 +28441,7 @@ static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -28300,7 +28469,7 @@ static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -28329,7 +28498,7 @@ static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -28358,7 +28527,7 @@ static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -28387,7 +28556,7 @@ static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -28416,7 +28585,7 @@ static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString result; @@ -28458,7 +28627,7 @@ static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; @@ -28483,19 +28652,19 @@ static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObjec } if (obj2) { { - arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3); + result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -28504,7 +28673,7 @@ static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxPyTreeItemData *result; @@ -28540,7 +28709,7 @@ static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *result; @@ -28576,7 +28745,7 @@ static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour result; @@ -28606,7 +28775,7 @@ static PyObject *_wrap_TreeCtrl_GetItemTextColour(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; @@ -28616,7 +28785,7 @@ static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour result; @@ -28646,7 +28815,7 @@ static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -28656,7 +28825,7 @@ static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxFont result; @@ -28686,7 +28855,7 @@ static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -28696,7 +28865,7 @@ static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -28747,7 +28916,7 @@ static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 ; @@ -28772,18 +28941,18 @@ static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec 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 = (wxTreeItemIcon)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4); + (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28796,7 +28965,7 @@ static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; @@ -28835,7 +29004,7 @@ static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28873,7 +29042,7 @@ static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -28897,7 +29066,7 @@ static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -28916,7 +29085,7 @@ static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, P static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -28940,7 +29109,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -28959,7 +29128,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -28983,7 +29152,7 @@ static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -29002,7 +29171,7 @@ static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -29044,7 +29213,7 @@ static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -29086,7 +29255,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxFont *arg3 = 0 ; @@ -29131,7 +29300,7 @@ static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29169,7 +29338,7 @@ static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29207,7 +29376,7 @@ static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29245,7 +29414,7 @@ static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29283,7 +29452,7 @@ static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29321,7 +29490,7 @@ static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -29346,7 +29515,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -29358,7 +29527,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(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: @@ -29367,7 +29536,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -29387,7 +29556,7 @@ static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29397,7 +29566,7 @@ static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -29417,7 +29586,7 @@ static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObjec } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29427,7 +29596,7 @@ static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -29453,7 +29622,7 @@ static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29483,7 +29652,7 @@ static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObje } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29493,7 +29662,7 @@ static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *result; @@ -29529,7 +29698,7 @@ static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; void *arg3 = (void *) 0 ; @@ -29553,7 +29722,7 @@ static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(2)) SWIG_fail; } { - if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj2,reinterpret_cast(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(3);SWIG_fail; } } @@ -29572,7 +29741,7 @@ static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29602,7 +29771,7 @@ static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObjec } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29612,7 +29781,7 @@ static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29642,7 +29811,7 @@ static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29652,7 +29821,7 @@ static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29682,7 +29851,7 @@ static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29692,7 +29861,7 @@ static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -29712,7 +29881,7 @@ static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29722,7 +29891,7 @@ static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29752,7 +29921,7 @@ static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29762,7 +29931,7 @@ static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29792,7 +29961,7 @@ static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29802,7 +29971,7 @@ static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -29829,13 +29998,13 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -29852,7 +30021,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kw } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -29870,7 +30039,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -29907,13 +30076,13 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -29930,7 +30099,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -29948,7 +30117,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId *arg3 = 0 ; @@ -29995,13 +30164,13 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -30018,7 +30187,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -30036,7 +30205,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; size_t arg3 ; @@ -30069,7 +30238,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO 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; } { @@ -30079,13 +30248,13 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -30102,7 +30271,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -30120,7 +30289,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -30157,13 +30326,13 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -30180,7 +30349,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -30198,7 +30367,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30233,7 +30402,7 @@ static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30268,7 +30437,7 @@ static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30293,7 +30462,7 @@ static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30328,7 +30497,7 @@ static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30363,7 +30532,7 @@ static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30398,7 +30567,7 @@ static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30433,7 +30602,7 @@ static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30458,7 +30627,7 @@ static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30493,7 +30662,7 @@ static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30518,7 +30687,7 @@ static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -30542,7 +30711,7 @@ static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -30561,7 +30730,7 @@ static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30596,7 +30765,7 @@ static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30631,7 +30800,7 @@ static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30666,7 +30835,7 @@ static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30701,7 +30870,7 @@ static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTextCtrl *result; PyObject * obj0 = 0 ; @@ -30729,7 +30898,7 @@ static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30764,7 +30933,7 @@ static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxPoint *arg2 = 0 ; int *arg3 = 0 ; @@ -30795,7 +30964,7 @@ static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? @@ -30807,7 +30976,7 @@ static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) false ; @@ -30832,7 +31001,7 @@ static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyOb } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -30851,7 +31020,7 @@ static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -30862,21 +31031,21 @@ static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_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 = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxPyTreeCtrl::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; @@ -30899,7 +31068,7 @@ static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) { static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -30913,7 +31082,7 @@ static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) { static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ; @@ -30952,7 +31121,7 @@ static PyObject *_wrap_new_GenericDirCtrl(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; } } @@ -30977,7 +31146,7 @@ static PyObject *_wrap_new_GenericDirCtrl(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; } } @@ -30990,7 +31159,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject * } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -31041,7 +31210,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *result; char *kwnames[] = { NULL @@ -31064,7 +31233,7 @@ static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -31107,7 +31276,7 @@ static PyObject *_wrap_GenericDirCtrl_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; } } @@ -31132,7 +31301,7 @@ static PyObject *_wrap_GenericDirCtrl_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; } } @@ -31145,7 +31314,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObjec } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -31197,7 +31366,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -31241,7 +31410,7 @@ static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyO static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31273,7 +31442,7 @@ static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31314,7 +31483,7 @@ static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31346,7 +31515,7 @@ static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31378,7 +31547,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, Py static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31419,7 +31588,7 @@ static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -31432,7 +31601,7 @@ static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, 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; } { @@ -31450,7 +31619,7 @@ static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyO static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31478,7 +31647,7 @@ static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31510,7 +31679,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31551,7 +31720,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -31570,7 +31739,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31579,7 +31748,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -31592,7 +31761,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31610,7 +31779,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -31630,7 +31799,7 @@ static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyOb } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -31640,7 +31809,7 @@ static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxPyTreeCtrl *result; PyObject * obj0 = 0 ; @@ -31668,7 +31837,7 @@ static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, Py static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxDirFilterListCtrl *result; PyObject * obj0 = 0 ; @@ -31694,7 +31863,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *ar static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxTreeItemId arg2 ; wxString *arg3 = 0 ; @@ -31738,7 +31907,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyOb } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? @@ -31758,7 +31927,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31783,7 +31952,7 @@ static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31815,7 +31984,7 @@ static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -31840,7 +32009,7 @@ static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObjec 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; } } @@ -31858,7 +32027,7 @@ static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObjec } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -31878,7 +32047,7 @@ static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirFilterListCtrl *result; char *kwnames[] = { NULL @@ -31901,7 +32070,7 @@ static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ; int arg3 = (int) (int)-1 ; @@ -31930,7 +32099,7 @@ static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyOb 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; } } @@ -31948,7 +32117,7 @@ static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyOb } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -31969,7 +32138,7 @@ static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -31990,7 +32159,7 @@ static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *ar temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -32023,7 +32192,7 @@ static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -32055,7 +32224,7 @@ static PyObject *_wrap_new_PyControl(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; } } @@ -32073,7 +32242,7 @@ static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwarg } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -32118,7 +32287,7 @@ static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *result; char *kwnames[] = { NULL @@ -32141,7 +32310,7 @@ static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -32172,7 +32341,7 @@ static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, Py static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -32204,7 +32373,7 @@ static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxDC *arg2 = (wxDC *) 0 ; bool result; @@ -32236,7 +32405,7 @@ static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, P static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32255,19 +32424,19 @@ static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -32285,7 +32454,7 @@ static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, P static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32306,24 +32475,24 @@ static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -32342,7 +32511,7 @@ static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32357,11 +32526,11 @@ static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -32379,7 +32548,7 @@ static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32394,11 +32563,11 @@ static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -32416,7 +32585,7 @@ static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *arg static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32453,7 +32622,7 @@ static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32490,7 +32659,7 @@ static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32527,7 +32696,7 @@ static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -32547,7 +32716,7 @@ static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *arg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -32557,7 +32726,7 @@ static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *arg static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -32577,7 +32746,7 @@ static PyObject *_wrap_PyControl_base_DoGetBestSize(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; @@ -32587,7 +32756,7 @@ static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -32612,7 +32781,7 @@ static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32640,7 +32809,7 @@ static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32668,7 +32837,7 @@ static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObjec static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32696,7 +32865,7 @@ static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32724,7 +32893,7 @@ static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, P static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32752,7 +32921,7 @@ static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObj static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -32772,7 +32941,7 @@ static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -32782,7 +32951,7 @@ static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -32811,7 +32980,7 @@ static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -32840,7 +33009,7 @@ static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, Py static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32868,7 +33037,7 @@ static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -32888,7 +33057,7 @@ static PyObject *_wrap_PyControl_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; @@ -32898,7 +33067,7 @@ static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -32930,7 +33099,7 @@ static PyObject * PyControl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -32947,13 +33116,13 @@ static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -32978,7 +33147,7 @@ static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -32998,7 +33167,7 @@ static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint const &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -33008,7 +33177,7 @@ static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -33040,7 +33209,7 @@ static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -33075,7 +33244,7 @@ static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -33116,7 +33285,7 @@ static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -33151,7 +33320,7 @@ static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -33199,7 +33368,7 @@ static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; bool arg2 = (bool) true ; wxContextHelp *result; @@ -33216,7 +33385,7 @@ static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -33236,7 +33405,7 @@ static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextHelp *arg1 = (wxContextHelp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33261,7 +33430,7 @@ static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextHelp *arg1 = (wxContextHelp *) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; bool result; @@ -33295,7 +33464,7 @@ static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextHelp *arg1 = (wxContextHelp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -33330,7 +33499,7 @@ static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxID_CONTEXT_HELP ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -33355,7 +33524,7 @@ static PyObject *_wrap_new_ContextHelpButton(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; } } @@ -33373,7 +33542,7 @@ static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObjec } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -33400,7 +33569,7 @@ static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxHelpProvider *result; PyObject * obj0 = 0 ; @@ -33426,7 +33595,7 @@ static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *result; char *kwnames[] = { NULL @@ -33448,7 +33617,7 @@ static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString result; @@ -33484,7 +33653,7 @@ static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -33516,7 +33685,7 @@ static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -33561,7 +33730,7 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33577,7 +33746,7 @@ static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33608,7 +33777,7 @@ static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -33637,7 +33806,7 @@ static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33669,7 +33838,7 @@ static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSimpleHelpProvider *result; char *kwnames[] = { NULL @@ -33698,7 +33867,7 @@ static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxCursor const &arg2_defvalue = wxNullCursor ; wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; @@ -33744,7 +33913,7 @@ static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = 0 ; wxCursor const &arg2_defvalue = wxNullCursor ; wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; @@ -33790,7 +33959,7 @@ static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxCursor const &arg2_defvalue = wxNullCursor ; wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; @@ -33842,7 +34011,7 @@ static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = 0 ; wxTreeItemId *arg2 = 0 ; wxGenericDragImage *result; @@ -33885,7 +34054,7 @@ static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = 0 ; long arg2 ; wxGenericDragImage *result; @@ -33905,7 +34074,7 @@ static PyObject *_wrap_new_DragListItem(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; } { @@ -33924,7 +34093,7 @@ static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33949,7 +34118,7 @@ static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxBitmap *arg2 = (wxBitmap *) 0 ; PyObject * obj0 = 0 ; @@ -33978,7 +34147,7 @@ static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -34006,7 +34175,7 @@ static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject 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; } } @@ -34031,7 +34200,7 @@ static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -34074,7 +34243,7 @@ static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, Py static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -34102,7 +34271,7 @@ static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -34137,7 +34306,7 @@ static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -34165,7 +34334,7 @@ static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -34193,7 +34362,7 @@ static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxRect result; @@ -34220,7 +34389,7 @@ static PyObject *_wrap_DragImage_GetImageRect(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; @@ -34230,7 +34399,7 @@ static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxDC *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -34275,7 +34444,7 @@ static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxDC *arg2 = 0 ; wxMemoryDC *arg3 = 0 ; @@ -34337,7 +34506,7 @@ static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *a static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -34367,11 +34536,11 @@ static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObjec if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -34404,7 +34573,7 @@ static int _wrap_DatePickerCtrlNameStr_set(PyObject *) { static PyObject *_wrap_DatePickerCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -34418,7 +34587,7 @@ static PyObject *_wrap_DatePickerCtrlNameStr_get(void) { static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxDateTime const &arg3_defvalue = wxDefaultDateTime ; @@ -34453,7 +34622,7 @@ static PyObject *_wrap_new_DatePickerCtrl(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; } } @@ -34481,7 +34650,7 @@ static PyObject *_wrap_new_DatePickerCtrl(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; } } @@ -34526,7 +34695,7 @@ static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *result; char *kwnames[] = { NULL @@ -34549,7 +34718,7 @@ static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -34588,7 +34757,7 @@ static PyObject *_wrap_DatePickerCtrl_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; } } @@ -34616,7 +34785,7 @@ static PyObject *_wrap_DatePickerCtrl_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; } } @@ -34662,7 +34831,7 @@ static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -34697,7 +34866,7 @@ static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -34717,7 +34886,7 @@ static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObj } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -34727,7 +34896,7 @@ static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime *arg2 = 0 ; wxDateTime *arg3 = 0 ; @@ -34772,7 +34941,7 @@ static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -34792,7 +34961,7 @@ static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -34802,7 +34971,7 @@ static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -34822,7 +34991,7 @@ static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -36707,199 +36876,656 @@ static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) { static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { return (void *)((wxValidator *) ((wxPyValidator *) x)); } -static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase, 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_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 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_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 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_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 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_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChoicebook[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBookCtrlBase[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase, 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_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton, 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_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 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_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 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_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChoicebookEvent[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 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_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_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_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_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_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_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_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_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_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxWindow", _p_wxWindowTo_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_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_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBookCtrlBaseEvent[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 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_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDatePickerCtrl[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 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_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxTextUrlEvent, -_swigt__p_wxCheckBox, -_swigt__p_wxPyTreeCtrl, -_swigt__p_wxEvent, -_swigt__p_wxGenericDirCtrl, -_swigt__p_bool, -_swigt__p_wxItemContainer, -_swigt__p_wxPyListCtrl, -_swigt__p_wxPyTreeItemData, -_swigt__p_wxDirFilterListCtrl, -_swigt__p_wxStaticLine, -_swigt__p_wxControl, -_swigt__p_wxPyControl, -_swigt__p_wxGauge, -_swigt__p_wxToolBarBase, -_swigt__p_wxFont, -_swigt__p_wxToggleButton, -_swigt__p_wxRadioButton, -_swigt__p_wxChoice, -_swigt__p_wxMemoryDC, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxListItemAttr, -_swigt__p_void, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxDC, -_swigt__p_wxListView, -_swigt__p_wxIcon, -_swigt__p_wxVisualAttributes, -_swigt__p_wxTextCtrl, -_swigt__p_wxNotebook, -_swigt__p_wxChoicebook, -_swigt__p_wxNotifyEvent, -_swigt__p_wxArrayString, -_swigt__p_form_ops_t, -_swigt__p_wxListbook, -_swigt__p_wxStaticBitmap, -_swigt__p_wxSlider, -_swigt__p_wxStaticBox, -_swigt__p_wxArrayInt, -_swigt__p_wxContextHelp, -_swigt__p_long, -_swigt__p_wxDuplexMode, -_swigt__p_wxBookCtrlBase, -_swigt__p_wxEvtHandler, -_swigt__p_wxListEvent, -_swigt__p_wxCheckListBox, -_swigt__p_wxListBox, -_swigt__p_wxSpinButton, -_swigt__p_wxButton, -_swigt__p_wxBitmapButton, -_swigt__p_wxRect, -_swigt__p_wxContextHelpButton, -_swigt__p_wxRadioBox, -_swigt__p_wxScrollBar, -_swigt__p_char, -_swigt__p_wxComboBox, -_swigt__p_wxTreeItemId, -_swigt__p_wxHelpEvent, -_swigt__p_wxListItem, -_swigt__p_wxSpinEvent, -_swigt__p_wxGenericDragImage, -_swigt__p_wxSpinCtrl, -_swigt__p_wxPaperSize, -_swigt__p_wxImageList, -_swigt__p_wxHelpProvider, -_swigt__p_wxTextAttr, -_swigt__p_wxSimpleHelpProvider, -_swigt__p_wxChoicebookEvent, -_swigt__p_wxListbookEvent, -_swigt__p_wxNotebookEvent, -_swigt__p_wxPoint, -_swigt__p_wxObject, -_swigt__p_wxCursor, -_swigt__p_wxDateTime, -_swigt__p_wxKeyEvent, -_swigt__p_unsigned_long, -_swigt__p_wxWindow, -_swigt__p_wxString, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_unsigned_char, -_swigt__p_wxMouseEvent, -_swigt__p_wxBookCtrlBaseEvent, -_swigt__p_wxTreeEvent, -_swigt__p_wxCommandEvent, -_swigt__p_wxStaticText, -_swigt__p_wxDatePickerCtrl, -_swigt__p_wxControlWithItems, -_swigt__p_wxToolBarToolBase, -_swigt__p_wxColour, -_swigt__p_wxToolBar, -_swigt__p_wxValidator, -0 +static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0}; +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; +static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0}; +static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 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_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_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_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 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_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 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_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__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_bool, + &_swigt__p_char, + &_swigt__p_form_ops_t, + &_swigt__p_int, + &_swigt__p_long, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_void, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxArrayInt, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBitmapButton, + &_swigt__p_wxBookCtrlBase, + &_swigt__p_wxBookCtrlBaseEvent, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxButton, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCheckBox, + &_swigt__p_wxCheckListBox, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxChoice, + &_swigt__p_wxChoicebook, + &_swigt__p_wxChoicebookEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxComboBox, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextHelp, + &_swigt__p_wxContextHelpButton, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDatePickerCtrl, + &_swigt__p_wxDateTime, + &_swigt__p_wxDirFilterListCtrl, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGauge, + &_swigt__p_wxGenericDirCtrl, + &_swigt__p_wxGenericDragImage, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxHelpEvent, + &_swigt__p_wxHelpProvider, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageList, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxItemContainer, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxListBox, + &_swigt__p_wxListEvent, + &_swigt__p_wxListItem, + &_swigt__p_wxListItemAttr, + &_swigt__p_wxListView, + &_swigt__p_wxListbook, + &_swigt__p_wxListbookEvent, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryDC, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotebook, + &_swigt__p_wxNotebookEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyControl, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyListCtrl, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTreeCtrl, + &_swigt__p_wxPyTreeItemData, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRadioBox, + &_swigt__p_wxRadioButton, + &_swigt__p_wxRect, + &_swigt__p_wxScrollBar, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSimpleHelpProvider, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSlider, + &_swigt__p_wxSpinButton, + &_swigt__p_wxSpinCtrl, + &_swigt__p_wxSpinEvent, + &_swigt__p_wxStaticBitmap, + &_swigt__p_wxStaticBox, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStaticLine, + &_swigt__p_wxStaticText, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxString, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTextAttr, + &_swigt__p_wxTextCtrl, + &_swigt__p_wxTextUrlEvent, + &_swigt__p_wxToggleButton, + &_swigt__p_wxToolBar, + &_swigt__p_wxToolBarBase, + &_swigt__p_wxToolBarToolBase, + &_swigt__p_wxTreeEvent, + &_swigt__p_wxTreeItemId, + &_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_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 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_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmapButton[] = { {&_swigt__p_wxBitmapButton, 0, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxButton, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxButton, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 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_wxComboBox[] = { {&_swigt__p_wxComboBox, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 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_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 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_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_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_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 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_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 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_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 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_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpProvider[] = { {&_swigt__p_wxHelpProvider, 0, 0, 0}, {&_swigt__p_wxSimpleHelpProvider, _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 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_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 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_wxListBox[] = { {&_swigt__p_wxListBox, 0, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxListBox, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 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_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 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_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_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_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_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_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_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_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_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxWindow, _p_wxWindowTo_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_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_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_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_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_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 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_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 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_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 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_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 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_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase, 0, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxToolBarBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_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_bool, + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_long, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_void, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArrayInt, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBitmapButton, + _swigc__p_wxBookCtrlBase, + _swigc__p_wxBookCtrlBaseEvent, + _swigc__p_wxBoxSizer, + _swigc__p_wxButton, + _swigc__p_wxCURHandler, + _swigc__p_wxCheckBox, + _swigc__p_wxCheckListBox, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxChoice, + _swigc__p_wxChoicebook, + _swigc__p_wxChoicebookEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxComboBox, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextHelp, + _swigc__p_wxContextHelpButton, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDatePickerCtrl, + _swigc__p_wxDateTime, + _swigc__p_wxDirFilterListCtrl, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGauge, + _swigc__p_wxGenericDirCtrl, + _swigc__p_wxGenericDragImage, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxHelpEvent, + _swigc__p_wxHelpProvider, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageList, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxItemContainer, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxListBox, + _swigc__p_wxListEvent, + _swigc__p_wxListItem, + _swigc__p_wxListItemAttr, + _swigc__p_wxListView, + _swigc__p_wxListbook, + _swigc__p_wxListbookEvent, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryDC, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotebook, + _swigc__p_wxNotebookEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyControl, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyListCtrl, + _swigc__p_wxPySizer, + _swigc__p_wxPyTreeCtrl, + _swigc__p_wxPyTreeItemData, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRadioBox, + _swigc__p_wxRadioButton, + _swigc__p_wxRect, + _swigc__p_wxScrollBar, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSimpleHelpProvider, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSlider, + _swigc__p_wxSpinButton, + _swigc__p_wxSpinCtrl, + _swigc__p_wxSpinEvent, + _swigc__p_wxStaticBitmap, + _swigc__p_wxStaticBox, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStaticLine, + _swigc__p_wxStaticText, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxString, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTextAttr, + _swigc__p_wxTextCtrl, + _swigc__p_wxTextUrlEvent, + _swigc__p_wxToggleButton, + _swigc__p_wxToolBar, + _swigc__p_wxToolBarBase, + _swigc__p_wxToolBarToolBase, + _swigc__p_wxTreeEvent, + _swigc__p_wxTreeItemId, + _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, }; @@ -36911,6 +37537,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 @@ -36928,7 +37765,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; @@ -36938,13 +37775,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; @@ -36957,7 +37794,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -36970,7 +37807,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) { @@ -36983,72 +37820,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; } @@ -37057,11 +37911,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); @@ -37098,7 +37952,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, @@ -37110,7 +37964,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]); @@ -37123,14 +37977,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; + } + } } } } @@ -37140,69 +37998,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 @@ -37211,100 +38006,79 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set); { - PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT))); + PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast(wxBU_LEFT))); } { - PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP))); + PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast(wxBU_TOP))); } { - PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT))); + PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast(wxBU_RIGHT))); } { - PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM))); + PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast(wxBU_BOTTOM))); } { - PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK))); + PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast(wxBU_ALIGN_MASK))); } { - PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT))); + PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast(wxBU_EXACTFIT))); } { - PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW))); + PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast(wxBU_AUTODRAW))); } SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set); { - PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE))); + PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast(wxCHK_2STATE))); } { - PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE))); + PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast(wxCHK_3STATE))); } { - PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER))); + PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast(wxCHK_ALLOW_3RD_STATE_FOR_USER))); } { - PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED))); + PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast(wxCHK_UNCHECKED))); } { - PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED))); + PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast(wxCHK_CHECKED))); } { - PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED))); + PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast(wxCHK_UNDETERMINED))); } SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set); { - PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL))); + PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast(wxGA_HORIZONTAL))); } { - PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL))); + PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast(wxGA_VERTICAL))); } { - PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH))); + PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast(wxGA_SMOOTH))); } { - PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR))); + PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast(wxGA_PROGRESSBAR))); } SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set); @@ -37312,142 +38086,142 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set); { - PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL))); + PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast(wxTE_NO_VSCROLL))); } { - PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL))); + PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast(wxTE_AUTO_SCROLL))); } { - PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY))); + PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast(wxTE_READONLY))); } { - PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE))); + PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast(wxTE_MULTILINE))); } { - PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB))); + PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast(wxTE_PROCESS_TAB))); } { - PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT))); + PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast(wxTE_LEFT))); } { - PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER))); + PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast(wxTE_CENTER))); } { - PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT))); + PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast(wxTE_RIGHT))); } { - PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE))); + PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast(wxTE_CENTRE))); } { - PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH))); + PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast(wxTE_RICH))); } { - PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER))); + PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast(wxTE_PROCESS_ENTER))); } { - PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD))); + PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast(wxTE_PASSWORD))); } { - PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL))); + PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast(wxTE_AUTO_URL))); } { - PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL))); + PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast(wxTE_NOHIDESEL))); } { - PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP))); + PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast(wxTE_DONTWRAP))); } { - PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP))); + PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast(wxTE_CHARWRAP))); } { - PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP))); + PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast(wxTE_WORDWRAP))); } { - PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP))); + PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast(wxTE_BESTWRAP))); } { - PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP))); + PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast(wxTE_LINEWRAP))); } { - PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2))); + PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast(wxTE_RICH2))); } { - PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE))); + PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast(wxTE_CAPITALIZE))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_DEFAULT))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_LEFT))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_CENTRE))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_CENTER))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_RIGHT))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_JUSTIFIED))); } { - PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR))); + PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast(wxTEXT_ATTR_TEXT_COLOUR))); } { - PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR))); + PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast(wxTEXT_ATTR_BACKGROUND_COLOUR))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_FACE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_SIZE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_WEIGHT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_ITALIC))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_UNDERLINE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT))); + PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast(wxTEXT_ATTR_ALIGNMENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT))); + PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast(wxTEXT_ATTR_LEFT_INDENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT))); + PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast(wxTEXT_ATTR_RIGHT_INDENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS))); + PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast(wxTEXT_ATTR_TABS))); } { - PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN))); + PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast(wxTE_HT_UNKNOWN))); } { - PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE))); + PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast(wxTE_HT_BEFORE))); } { - PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT))); + PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast(wxTE_HT_ON_TEXT))); } { - PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW))); + PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast(wxTE_HT_BELOW))); } { - PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND))); + PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast(wxTE_HT_BEYOND))); } { - PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord))); + PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast(wxOutOfRangeTextCoord))); } { - PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord))); + PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast(wxInvalidTextCoord))); } PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED)); PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER)); @@ -37457,381 +38231,381 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set); SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set); { - PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL))); + PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast(wxSP_HORIZONTAL))); } { - PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL))); + PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast(wxSP_VERTICAL))); } { - PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS))); + PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast(wxSP_ARROW_KEYS))); } { - PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP))); + PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast(wxSP_WRAP))); } PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED)); SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set); { - PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL))); + PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast(wxSL_HORIZONTAL))); } { - PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL))); + PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast(wxSL_VERTICAL))); } { - PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS))); + PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast(wxSL_TICKS))); } { - PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS))); + PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast(wxSL_AUTOTICKS))); } { - PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS))); + PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast(wxSL_LABELS))); } { - PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT))); + PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast(wxSL_LEFT))); } { - PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP))); + PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast(wxSL_TOP))); } { - PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT))); + PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast(wxSL_RIGHT))); } { - PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM))); + PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast(wxSL_BOTTOM))); } { - PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH))); + PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast(wxSL_BOTH))); } { - PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE))); + PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast(wxSL_SELRANGE))); } { - PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE))); + PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast(wxSL_INVERSE))); } SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set); PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)); SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set); { - PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH))); + PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast(wxNB_FIXEDWIDTH))); } { - PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP))); + PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast(wxNB_TOP))); } { - PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT))); + PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast(wxNB_LEFT))); } { - PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT))); + PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast(wxNB_RIGHT))); } { - PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM))); + PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast(wxNB_BOTTOM))); } { - PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE))); + PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast(wxNB_MULTILINE))); } { - PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME))); + PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast(wxNB_NOPAGETHEME))); } { - PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxNB_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON))); + PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast(wxNB_HITTEST_ONICON))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL))); + PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast(wxNB_HITTEST_ONLABEL))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM))); + PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast(wxNB_HITTEST_ONITEM))); } PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING)); { - PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT))); + PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast(wxLB_DEFAULT))); } { - PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP))); + PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast(wxLB_TOP))); } { - PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM))); + PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast(wxLB_BOTTOM))); } { - PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT))); + PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast(wxLB_LEFT))); } { - PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT))); + PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast(wxLB_RIGHT))); } { - PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK))); + PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast(wxLB_ALIGN_MASK))); } PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING)); { - PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT))); + PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast(wxCHB_DEFAULT))); } { - PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP))); + PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast(wxCHB_TOP))); } { - PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM))); + PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast(wxCHB_BOTTOM))); } { - PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT))); + PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast(wxCHB_LEFT))); } { - PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT))); + PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast(wxCHB_RIGHT))); } { - PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK))); + PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast(wxCHB_ALIGN_MASK))); } PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING)); { - PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON))); + PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast(wxTOOL_STYLE_BUTTON))); } { - PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR))); + PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast(wxTOOL_STYLE_SEPARATOR))); } { - PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL))); + PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast(wxTOOL_STYLE_CONTROL))); } { - PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL))); + PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast(wxTB_HORIZONTAL))); } { - PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL))); + PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast(wxTB_VERTICAL))); } { - PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS))); + PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast(wxTB_3DBUTTONS))); } { - PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT))); + PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast(wxTB_FLAT))); } { - PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE))); + PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast(wxTB_DOCKABLE))); } { - PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS))); + PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast(wxTB_NOICONS))); } { - PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT))); + PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast(wxTB_TEXT))); } { - PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER))); + PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast(wxTB_NODIVIDER))); } { - PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN))); + PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast(wxTB_NOALIGN))); } { - PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT))); + PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast(wxTB_HORZ_LAYOUT))); } { - PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT))); + PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast(wxTB_HORZ_TEXT))); } SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set); { - PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES))); + PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast(wxLC_VRULES))); } { - PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES))); + PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast(wxLC_HRULES))); } { - PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON))); + PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast(wxLC_ICON))); } { - PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON))); + PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast(wxLC_SMALL_ICON))); } { - PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST))); + PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast(wxLC_LIST))); } { - PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT))); + PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast(wxLC_REPORT))); } { - PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP))); + PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast(wxLC_ALIGN_TOP))); } { - PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT))); + PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast(wxLC_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE))); + PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast(wxLC_AUTOARRANGE))); } { - PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL))); + PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast(wxLC_VIRTUAL))); } { - PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS))); + PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast(wxLC_EDIT_LABELS))); } { - PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER))); + PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast(wxLC_NO_HEADER))); } { - PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER))); + PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast(wxLC_NO_SORT_HEADER))); } { - PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL))); + PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast(wxLC_SINGLE_SEL))); } { - PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING))); + PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast(wxLC_SORT_ASCENDING))); } { - PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING))); + PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast(wxLC_SORT_DESCENDING))); } { - PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE))); + PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast(wxLC_MASK_TYPE))); } { - PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN))); + PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast(wxLC_MASK_ALIGN))); } { - PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT))); + PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast(wxLC_MASK_SORT))); } { - PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE))); + PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast(wxLIST_MASK_STATE))); } { - PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT))); + PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast(wxLIST_MASK_TEXT))); } { - PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE))); + PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast(wxLIST_MASK_IMAGE))); } { - PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA))); + PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast(wxLIST_MASK_DATA))); } { - PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM))); + PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast(wxLIST_SET_ITEM))); } { - PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH))); + PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast(wxLIST_MASK_WIDTH))); } { - PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT))); + PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast(wxLIST_MASK_FORMAT))); } { - PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE))); + PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast(wxLIST_STATE_DONTCARE))); } { - PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED))); + PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast(wxLIST_STATE_DROPHILITED))); } { - PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED))); + PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast(wxLIST_STATE_FOCUSED))); } { - PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED))); + PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast(wxLIST_STATE_SELECTED))); } { - PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT))); + PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast(wxLIST_STATE_CUT))); } { - PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED))); + PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast(wxLIST_STATE_DISABLED))); } { - PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED))); + PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast(wxLIST_STATE_FILTERED))); } { - PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE))); + PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast(wxLIST_STATE_INUSE))); } { - PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED))); + PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast(wxLIST_STATE_PICKED))); } { - PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE))); + PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast(wxLIST_STATE_SOURCE))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE))); + PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast(wxLIST_HITTEST_ABOVE))); } { - PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW))); + PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast(wxLIST_HITTEST_BELOW))); } { - PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxLIST_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEMICON))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEMLABEL))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEMRIGHT))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEMSTATEICON))); } { - PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT))); + PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast(wxLIST_HITTEST_TOLEFT))); } { - PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT))); + PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast(wxLIST_HITTEST_TORIGHT))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEM))); } { - PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE))); + PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast(wxLIST_NEXT_ABOVE))); } { - PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL))); + PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast(wxLIST_NEXT_ALL))); } { - PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW))); + PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast(wxLIST_NEXT_BELOW))); } { - PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT))); + PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast(wxLIST_NEXT_LEFT))); } { - PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT))); + PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast(wxLIST_NEXT_RIGHT))); } { - PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT))); + PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast(wxLIST_ALIGN_DEFAULT))); } { - PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT))); + PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast(wxLIST_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP))); + PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast(wxLIST_ALIGN_TOP))); } { - PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID))); + PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast(wxLIST_ALIGN_SNAP_TO_GRID))); } { - PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT))); + PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast(wxLIST_FORMAT_LEFT))); } { - PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT))); + PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast(wxLIST_FORMAT_RIGHT))); } { - PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE))); + PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast(wxLIST_FORMAT_CENTRE))); } { - PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER))); + PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast(wxLIST_FORMAT_CENTER))); } { - PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE))); + PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast(wxLIST_AUTOSIZE))); } { - PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER))); + PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast(wxLIST_AUTOSIZE_USEHEADER))); } { - PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS))); + PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast(wxLIST_RECT_BOUNDS))); } { - PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON))); + PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast(wxLIST_RECT_ICON))); } { - PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL))); + PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast(wxLIST_RECT_LABEL))); } { - PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP))); + PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast(wxLIST_FIND_UP))); } { - PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN))); + PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast(wxLIST_FIND_DOWN))); } { - PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT))); + PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast(wxLIST_FIND_LEFT))); } { - PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT))); + PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast(wxLIST_FIND_RIGHT))); } PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG)); @@ -37859,109 +38633,109 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set); { - PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS))); + PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast(wxTR_NO_BUTTONS))); } { - PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS))); + PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast(wxTR_HAS_BUTTONS))); } { - PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES))); + PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast(wxTR_NO_LINES))); } { - PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT))); + PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast(wxTR_LINES_AT_ROOT))); } { - PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE))); + PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast(wxTR_SINGLE))); } { - PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE))); + PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast(wxTR_MULTIPLE))); } { - PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED))); + PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast(wxTR_EXTENDED))); } { - PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT))); + PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast(wxTR_HAS_VARIABLE_ROW_HEIGHT))); } { - PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS))); + PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast(wxTR_EDIT_LABELS))); } { - PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT))); + PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast(wxTR_HIDE_ROOT))); } { - PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES))); + PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast(wxTR_ROW_LINES))); } { - PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT))); + PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast(wxTR_FULL_ROW_HIGHLIGHT))); } { - PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE))); + PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast(wxTR_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS))); + PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast(wxTR_TWIST_BUTTONS))); } { - PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS))); + PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast(wxTR_MAC_BUTTONS))); } { - PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS))); + PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast(wxTR_AQUA_BUTTONS))); } { - PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal))); + PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast(wxTreeItemIcon_Normal))); } { - PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected))); + PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast(wxTreeItemIcon_Selected))); } { - PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded))); + PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast(wxTreeItemIcon_Expanded))); } { - PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded))); + PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast(wxTreeItemIcon_SelectedExpanded))); } { - PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max))); + PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast(wxTreeItemIcon_Max))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE))); + PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast(wxTREE_HITTEST_ABOVE))); } { - PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW))); + PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast(wxTREE_HITTEST_BELOW))); } { - PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxTREE_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMBUTTON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMICON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMINDENT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMLABEL))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMRIGHT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMSTATEICON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT))); + PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast(wxTREE_HITTEST_TOLEFT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT))); + PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast(wxTREE_HITTEST_TORIGHT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMUPPERPART))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMLOWERPART))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEM))); } PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG)); PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG)); @@ -37991,25 +38765,25 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set); { - PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY))); + PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast(wxDIRCTRL_DIR_ONLY))); } { - PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST))); + PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast(wxDIRCTRL_SELECT_FIRST))); } { - PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS))); + PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast(wxDIRCTRL_SHOW_FILTERS))); } { - PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL))); + PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast(wxDIRCTRL_3D_INTERNAL))); } { - PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS))); + PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast(wxDIRCTRL_EDIT_LABELS))); } { - PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP))); + PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast(wxFRAME_EX_CONTEXTHELP))); } { - PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP))); + PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast(wxDIALOG_EX_CONTEXTHELP))); } PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP)); PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP)); @@ -38018,19 +38792,19 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set); { - PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT))); + PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast(wxDP_DEFAULT))); } { - PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN))); + PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast(wxDP_SPIN))); } { - PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN))); + PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast(wxDP_DROPDOWN))); } { - PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY))); + PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast(wxDP_SHOWCENTURY))); } { - PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE))); + PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast(wxDP_ALLOWNONE))); } } diff --git a/wxPython/src/gtk/_core.py b/wxPython/src/gtk/_core.py index d5db1b7c2c..f7ad0825f6 100644 --- a/wxPython/src/gtk/_core.py +++ b/wxPython/src/gtk/_core.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _core_ @@ -2937,6 +2937,16 @@ class Image(Object): """ return _core_.Image_Replace(*args, **kwargs) + def ConvertToGreyscale(*args, **kwargs): + """ + ConvertToGreyscale(self, double lr=0.299, double lg=0.587, double lb=0.114) -> Image + + Convert to greyscale image. Uses the luminance component (Y) of the + image. The luma value (YUV) is calculated using (R * lr) + (G * lg) + (B * lb), + defaults to ITU-T BT.601 + """ + return _core_.Image_ConvertToGreyscale(*args, **kwargs) + def ConvertToMono(*args, **kwargs): """ ConvertToMono(self, byte r, byte g, byte b) -> Image @@ -13626,3 +13636,4 @@ _core_._wxPyFixStockObjects() #---------------------------------------------------------------------------- + diff --git a/wxPython/src/gtk/_core_wrap.cpp b/wxPython/src/gtk/_core_wrap.cpp index 2c061cd298..cd0aae0eff 100644 --- a/wxPython/src/gtk/_core_wrap.cpp +++ b/wxPython/src/gtk/_core_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -26,15 +26,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +106,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) +# 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,139 +1431,142 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxLayoutConstraints swig_types[0] -#define SWIGTYPE_p_wxRealPoint swig_types[1] -#define SWIGTYPE_p_wxEventLoopActivator swig_types[2] -#define SWIGTYPE_p_wxSizerItem swig_types[3] -#define SWIGTYPE_p_wxGBSizerItem swig_types[4] -#define SWIGTYPE_p_wxScrollEvent swig_types[5] -#define SWIGTYPE_p_wxEventLoop swig_types[6] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[7] -#define SWIGTYPE_p_wxSizer swig_types[8] -#define SWIGTYPE_p_wxBoxSizer swig_types[9] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[10] -#define SWIGTYPE_p_wxGridBagSizer swig_types[11] -#define SWIGTYPE_p_wxAcceleratorEntry swig_types[12] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[13] -#define SWIGTYPE_p_wxEvent swig_types[14] -#define SWIGTYPE_p_buffer swig_types[15] -#define SWIGTYPE_p_wxMenu swig_types[16] -#define SWIGTYPE_p_wxGridSizer swig_types[17] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[18] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[19] -#define SWIGTYPE_p_wxItemContainer swig_types[20] -#define SWIGTYPE_p_wxPaintEvent swig_types[21] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[22] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[23] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[24] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[26] -#define SWIGTYPE_p_wxControl swig_types[27] -#define SWIGTYPE_p_wxFont swig_types[28] -#define SWIGTYPE_p_wxMenuBarBase swig_types[29] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[30] -#define SWIGTYPE_p_wxFSFile swig_types[31] -#define SWIGTYPE_p_wxCaret swig_types[32] -#define SWIGTYPE_ptrdiff_t swig_types[33] -#define SWIGTYPE_std__ptrdiff_t swig_types[34] -#define SWIGTYPE_p_wxRegion swig_types[35] -#define SWIGTYPE_p_wxPoint2D swig_types[36] -#define SWIGTYPE_p_wxImage_HSVValue swig_types[37] -#define SWIGTYPE_p_int swig_types[38] -#define SWIGTYPE_p_wxSize swig_types[39] -#define SWIGTYPE_p_wxDC swig_types[40] -#define SWIGTYPE_p_wxPySizer swig_types[41] -#define SWIGTYPE_p_wxVisualAttributes swig_types[42] -#define SWIGTYPE_p_wxImage_RGBValue swig_types[43] -#define SWIGTYPE_p_wxNotifyEvent swig_types[44] -#define SWIGTYPE_p_wxPyEvent swig_types[45] -#define SWIGTYPE_p_wxPropagationDisabler swig_types[46] -#define SWIGTYPE_p_form_ops_t swig_types[47] -#define SWIGTYPE_p_wxAppTraits swig_types[48] -#define SWIGTYPE_p_wxArrayString swig_types[49] -#define SWIGTYPE_p_wxShowEvent swig_types[50] -#define SWIGTYPE_p_wxToolTip swig_types[51] -#define SWIGTYPE_p_wxMoveEvent swig_types[52] -#define SWIGTYPE_p_wxSizeEvent swig_types[53] -#define SWIGTYPE_p_wxActivateEvent swig_types[54] -#define SWIGTYPE_p_wxIconizeEvent swig_types[55] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[56] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[57] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[58] -#define SWIGTYPE_p_wxIdleEvent swig_types[59] -#define SWIGTYPE_p_wxDateEvent swig_types[60] -#define SWIGTYPE_p_wxMenuItem swig_types[61] -#define SWIGTYPE_p_wxStaticBox swig_types[62] -#define SWIGTYPE_p_long swig_types[63] -#define SWIGTYPE_p_wxDuplexMode swig_types[64] -#define SWIGTYPE_p_wxTIFFHandler swig_types[65] -#define SWIGTYPE_p_wxXPMHandler swig_types[66] -#define SWIGTYPE_p_wxPNMHandler swig_types[67] -#define SWIGTYPE_p_wxJPEGHandler swig_types[68] -#define SWIGTYPE_p_wxPCXHandler swig_types[69] -#define SWIGTYPE_p_wxGIFHandler swig_types[70] -#define SWIGTYPE_p_wxPNGHandler swig_types[71] -#define SWIGTYPE_p_wxANIHandler swig_types[72] -#define SWIGTYPE_p_wxPyImageHandler swig_types[73] -#define SWIGTYPE_p_wxMemoryFSHandler swig_types[74] -#define SWIGTYPE_p_wxZipFSHandler swig_types[75] -#define SWIGTYPE_p_wxInternetFSHandler swig_types[76] -#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[77] -#define SWIGTYPE_p_wxEvtHandler swig_types[78] -#define SWIGTYPE_p_wxCURHandler swig_types[79] -#define SWIGTYPE_p_wxICOHandler swig_types[80] -#define SWIGTYPE_p_wxBMPHandler swig_types[81] -#define SWIGTYPE_p_wxImageHandler swig_types[82] -#define SWIGTYPE_p_wxFileSystemHandler swig_types[83] -#define SWIGTYPE_p_wxRect swig_types[84] -#define SWIGTYPE_p_wxButton swig_types[85] -#define SWIGTYPE_p_wxGBSpan swig_types[86] -#define SWIGTYPE_p_wxPropagateOnce swig_types[87] -#define SWIGTYPE_p_wxAcceleratorTable swig_types[88] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[89] -#define SWIGTYPE_p_char swig_types[90] -#define SWIGTYPE_p_wxGBPosition swig_types[91] -#define SWIGTYPE_p_wxImage swig_types[92] -#define SWIGTYPE_p_wxFrame swig_types[93] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[94] -#define SWIGTYPE_p_wxPaperSize swig_types[95] -#define SWIGTYPE_p_wxImageHistogram swig_types[96] -#define SWIGTYPE_p_wxPoint swig_types[97] -#define SWIGTYPE_p_wxCursor swig_types[98] -#define SWIGTYPE_p_wxObject swig_types[99] -#define SWIGTYPE_p_wxInputStream swig_types[100] -#define SWIGTYPE_p_wxOutputStream swig_types[101] -#define SWIGTYPE_p_wxPyInputStream swig_types[102] -#define SWIGTYPE_p_wxDateTime swig_types[103] -#define SWIGTYPE_p_wxKeyEvent swig_types[104] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[106] -#define SWIGTYPE_p_unsigned_long swig_types[107] -#define SWIGTYPE_p_wxWindow swig_types[108] -#define SWIGTYPE_p_wxMenuBar swig_types[109] -#define SWIGTYPE_p_wxFileSystem swig_types[110] -#define SWIGTYPE_p_wxBitmap swig_types[111] -#define SWIGTYPE_unsigned_int swig_types[112] -#define SWIGTYPE_p_unsigned_int swig_types[113] -#define SWIGTYPE_p_wxMenuEvent swig_types[114] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[115] -#define SWIGTYPE_p_unsigned_char swig_types[116] -#define SWIGTYPE_p_wxMouseEvent swig_types[117] -#define SWIGTYPE_p_wxEraseEvent swig_types[118] -#define SWIGTYPE_p_wxCloseEvent swig_types[119] -#define SWIGTYPE_p_wxPyApp swig_types[120] -#define SWIGTYPE_p_wxCommandEvent swig_types[121] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[122] -#define SWIGTYPE_p_wxPyDropTarget swig_types[123] -#define SWIGTYPE_p_wxQuantize swig_types[124] -#define SWIGTYPE_p_wxFocusEvent swig_types[125] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[126] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[127] -#define SWIGTYPE_p_wxControlWithItems swig_types[128] -#define SWIGTYPE_p_wxColour swig_types[129] -#define SWIGTYPE_p_wxValidator swig_types[130] -#define SWIGTYPE_p_wxPyValidator swig_types[131] +#define SWIGTYPE_p_buffer swig_types[0] +#define SWIGTYPE_p_char swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_long swig_types[4] +#define SWIGTYPE_p_unsigned_char swig_types[5] +#define SWIGTYPE_p_unsigned_int swig_types[6] +#define SWIGTYPE_p_unsigned_long swig_types[7] +#define SWIGTYPE_p_wxANIHandler swig_types[8] +#define SWIGTYPE_p_wxAcceleratorEntry swig_types[9] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[10] +#define SWIGTYPE_p_wxActivateEvent swig_types[11] +#define SWIGTYPE_p_wxAppTraits swig_types[12] +#define SWIGTYPE_p_wxArrayString swig_types[13] +#define SWIGTYPE_p_wxBMPHandler swig_types[14] +#define SWIGTYPE_p_wxBitmap swig_types[15] +#define SWIGTYPE_p_wxBoxSizer swig_types[16] +#define SWIGTYPE_p_wxButton swig_types[17] +#define SWIGTYPE_p_wxCURHandler swig_types[18] +#define SWIGTYPE_p_wxCaret swig_types[19] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[20] +#define SWIGTYPE_p_wxCloseEvent swig_types[21] +#define SWIGTYPE_p_wxColour swig_types[22] +#define SWIGTYPE_p_wxCommandEvent swig_types[23] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[24] +#define SWIGTYPE_p_wxControl swig_types[25] +#define SWIGTYPE_p_wxControlWithItems swig_types[26] +#define SWIGTYPE_p_wxCursor swig_types[27] +#define SWIGTYPE_p_wxDC swig_types[28] +#define SWIGTYPE_p_wxDateEvent swig_types[29] +#define SWIGTYPE_p_wxDateTime swig_types[30] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[32] +#define SWIGTYPE_p_wxDuplexMode swig_types[33] +#define SWIGTYPE_p_wxEraseEvent swig_types[34] +#define SWIGTYPE_p_wxEvent swig_types[35] +#define SWIGTYPE_p_wxEventLoop swig_types[36] +#define SWIGTYPE_p_wxEventLoopActivator swig_types[37] +#define SWIGTYPE_p_wxEvtHandler swig_types[38] +#define SWIGTYPE_p_wxFSFile swig_types[39] +#define SWIGTYPE_p_wxFileSystem swig_types[40] +#define SWIGTYPE_p_wxFileSystemHandler swig_types[41] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[42] +#define SWIGTYPE_p_wxFocusEvent swig_types[43] +#define SWIGTYPE_p_wxFont swig_types[44] +#define SWIGTYPE_p_wxFrame swig_types[45] +#define SWIGTYPE_p_wxGBPosition swig_types[46] +#define SWIGTYPE_p_wxGBSizerItem swig_types[47] +#define SWIGTYPE_p_wxGBSpan swig_types[48] +#define SWIGTYPE_p_wxGIFHandler swig_types[49] +#define SWIGTYPE_p_wxGridBagSizer swig_types[50] +#define SWIGTYPE_p_wxGridSizer swig_types[51] +#define SWIGTYPE_p_wxICOHandler swig_types[52] +#define SWIGTYPE_p_wxIconizeEvent swig_types[53] +#define SWIGTYPE_p_wxIdleEvent swig_types[54] +#define SWIGTYPE_p_wxImage swig_types[55] +#define SWIGTYPE_p_wxImageHandler swig_types[56] +#define SWIGTYPE_p_wxImageHistogram swig_types[57] +#define SWIGTYPE_p_wxImage_HSVValue swig_types[58] +#define SWIGTYPE_p_wxImage_RGBValue swig_types[59] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[61] +#define SWIGTYPE_p_wxInputStream swig_types[62] +#define SWIGTYPE_p_wxInternetFSHandler swig_types[63] +#define SWIGTYPE_p_wxItemContainer swig_types[64] +#define SWIGTYPE_p_wxJPEGHandler swig_types[65] +#define SWIGTYPE_p_wxKeyEvent swig_types[66] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[67] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[68] +#define SWIGTYPE_p_wxMemoryFSHandler swig_types[69] +#define SWIGTYPE_p_wxMenu swig_types[70] +#define SWIGTYPE_p_wxMenuBar swig_types[71] +#define SWIGTYPE_p_wxMenuBarBase swig_types[72] +#define SWIGTYPE_p_wxMenuEvent swig_types[73] +#define SWIGTYPE_p_wxMenuItem swig_types[74] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75] +#define SWIGTYPE_p_wxMouseEvent swig_types[76] +#define SWIGTYPE_p_wxMoveEvent swig_types[77] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[79] +#define SWIGTYPE_p_wxNotifyEvent swig_types[80] +#define SWIGTYPE_p_wxObject swig_types[81] +#define SWIGTYPE_p_wxOutputStream swig_types[82] +#define SWIGTYPE_p_wxPCXHandler swig_types[83] +#define SWIGTYPE_p_wxPNGHandler swig_types[84] +#define SWIGTYPE_p_wxPNMHandler swig_types[85] +#define SWIGTYPE_p_wxPaintEvent swig_types[86] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87] +#define SWIGTYPE_p_wxPaperSize swig_types[88] +#define SWIGTYPE_p_wxPoint swig_types[89] +#define SWIGTYPE_p_wxPoint2D swig_types[90] +#define SWIGTYPE_p_wxPropagateOnce swig_types[91] +#define SWIGTYPE_p_wxPropagationDisabler swig_types[92] +#define SWIGTYPE_p_wxPyApp swig_types[93] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[94] +#define SWIGTYPE_p_wxPyDropTarget swig_types[95] +#define SWIGTYPE_p_wxPyEvent swig_types[96] +#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97] +#define SWIGTYPE_p_wxPyImageHandler swig_types[98] +#define SWIGTYPE_p_wxPyInputStream swig_types[99] +#define SWIGTYPE_p_wxPySizer swig_types[100] +#define SWIGTYPE_p_wxPyValidator swig_types[101] +#define SWIGTYPE_p_wxQuantize swig_types[102] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103] +#define SWIGTYPE_p_wxRealPoint swig_types[104] +#define SWIGTYPE_p_wxRect swig_types[105] +#define SWIGTYPE_p_wxRegion swig_types[106] +#define SWIGTYPE_p_wxScrollEvent swig_types[107] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[108] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[109] +#define SWIGTYPE_p_wxShowEvent swig_types[110] +#define SWIGTYPE_p_wxSize swig_types[111] +#define SWIGTYPE_p_wxSizeEvent swig_types[112] +#define SWIGTYPE_p_wxSizer swig_types[113] +#define SWIGTYPE_p_wxSizerItem swig_types[114] +#define SWIGTYPE_p_wxStaticBox swig_types[115] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[116] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118] +#define SWIGTYPE_p_wxTIFFHandler swig_types[119] +#define SWIGTYPE_p_wxToolTip swig_types[120] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[121] +#define SWIGTYPE_p_wxValidator swig_types[122] +#define SWIGTYPE_p_wxVisualAttributes swig_types[123] +#define SWIGTYPE_p_wxWindow swig_types[124] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[125] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126] +#define SWIGTYPE_p_wxXPMHandler swig_types[127] +#define SWIGTYPE_p_wxZipFSHandler swig_types[128] +#define SWIGTYPE_ptrdiff_t swig_types[129] +#define SWIGTYPE_std__ptrdiff_t swig_types[130] +#define SWIGTYPE_unsigned_int swig_types[131] static swig_type_info *swig_types[133]; +static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0}; +#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) +#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) /* -------- TYPES TABLE (END) -------- */ @@ -1493,7 +1588,7 @@ static swig_type_info *swig_types[133]; // in the wrapper code. #include -WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap ); + WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap ); // Maintains a hashmap of className to swig_type_info pointers. Given the @@ -1699,7 +1794,7 @@ static wxPyCoreAPI API = { #endif - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_int PyInt_FromLong /*@@*/ @@ -1764,7 +1859,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; @@ -1778,7 +1873,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1786,7 +1881,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1800,7 +1895,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1829,7 +1924,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -1843,14 +1938,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 /*@@*/ @@ -1867,7 +1962,7 @@ static PyObject *wxRealPoint_Get(wxRealPoint *self){ return tup; } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1881,7 +1976,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1987,19 +2082,19 @@ static wxPyInputStream *new_wxPyInputStream(PyObject *p){ return NULL; } -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_char(char c) { return PyString_FromStringAndSize(&c,1); } -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_unsigned_SS_long(unsigned long value) { return (value > LONG_MAX) ? PyLong_FromUnsignedLong(value) - : PyInt_FromLong((long)(value)); + : PyInt_FromLong(static_cast(value)); } @@ -2069,7 +2164,7 @@ SWIGINTERN int long v; if (SWIG_AsVal_long(obj, &v)) { if (SWIG_CheckLongInRange(v, CHAR_MIN,CHAR_MAX, errmsg)) { - if (val) *val = (char)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2081,7 +2176,7 @@ SWIGINTERN int } -SWIGINTERNSHORT char +SWIGINTERNINLINE char SWIG_As_char(PyObject* obj) { char v; @@ -2095,14 +2190,14 @@ SWIG_As_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_char(PyObject* obj) { return SWIG_AsVal_char(obj, (char*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ @@ -2186,7 +2281,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -2200,13 +2295,13 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -static wxString FileSystem_URLToFileName(wxString const &url){ +static wxString wxFileSystem_URLToFileName(wxString const &url){ wxFileName fname = wxFileSystem::URLToFileName(url); return fname.GetFullPath(); } @@ -2256,7 +2351,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -2280,7 +2375,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) { - if (val) *val = (unsigned char)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2295,7 +2390,7 @@ SWIGINTERN int } -SWIGINTERNSHORT unsigned char +SWIGINTERNINLINE unsigned char SWIG_As_unsigned_SS_char(PyObject* obj) { unsigned char v; @@ -2309,20 +2404,20 @@ SWIG_As_unsigned_SS_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_char(PyObject* obj) { return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_char PyInt_FromLong /*@@*/ -SWIGINTERNSHORT unsigned long +SWIGINTERNINLINE unsigned long SWIG_As_unsigned_SS_long(PyObject* obj) { unsigned long v; @@ -2336,7 +2431,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -2522,7 +2617,7 @@ static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,byte red,byte green,by #include -static bool Quantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){ +static bool wxQuantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){ return wxQuantize::Quantize(src, dest, //NULL, // palette desiredNoColours, @@ -2576,11 +2671,11 @@ static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){ } #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif @@ -2594,7 +2689,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -2606,7 +2701,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -2614,7 +2709,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -2628,7 +2723,7 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); @@ -2661,7 +2756,7 @@ static wxPyApp *new_wxPyApp(){ wxPythonApp = new wxPyApp(); return wxPythonApp; } -static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; } +static int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; } void wxApp_CleanUp() { __wxPyCleanup(); @@ -2671,7 +2766,7 @@ static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; } wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsCharPtr(PyObject *obj, char **val) { if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { @@ -2691,7 +2786,7 @@ SWIG_FromCharPtr(const char* cptr) if (cptr) { size_t size = strlen(cptr); if (size > INT_MAX) { - return SWIG_NewPointerObj((char*)(cptr), + return SWIG_NewPointerObj(const_cast(cptr), SWIG_TypeQuery("char *"), 0); } else { if (size != 0) { @@ -2816,8 +2911,8 @@ static PyObject *wxMenu_GetMenuItems(wxMenu *self){ wxMenuItemList& list = self->GetMenuItems(); return wxPy_ConvertList(&list); } -static void MenuBar_SetAutoWindowMenu(bool enable){} -static bool MenuBar_GetAutoWindowMenu(){ return false; } +static void wxMenuBar_SetAutoWindowMenu(bool enable){} +static bool wxMenuBar_GetAutoWindowMenu(){ return false; } static void wxMenuItem_SetFont(wxMenuItem *self,wxFont const &font){} static wxFont wxMenuItem_GetFont(wxMenuItem *self){ return wxNullFont; } static void wxMenuItem_SetTextColour(wxMenuItem *self,wxColour const &colText){} @@ -2829,7 +2924,7 @@ static void wxMenuItem_SetDisabledBitmap(wxMenuItem *self,wxBitmap const &bmpDis static wxBitmap const &wxMenuItem_GetDisabledBitmap(wxMenuItem const *self){ return wxNullBitmap; } static void wxMenuItem_SetMarginWidth(wxMenuItem *self,int nWidth){} static int wxMenuItem_GetMarginWidth(wxMenuItem *self){ return 0; } -static int MenuItem_GetDefaultMarginWidth(){ return 0; } +static int wxMenuItem_GetDefaultMarginWidth(){ return 0; } static bool wxMenuItem_IsOwnerDrawn(wxMenuItem *self){ return false; } static void wxMenuItem_SetOwnerDrawn(wxMenuItem *self,bool ownerDrawn=true){} static void wxMenuItem_ResetOwnerDrawn(wxMenuItem *self){} @@ -2923,7 +3018,7 @@ SWIGINTERN int double v; if (SWIG_AsVal_double(obj, &v)) { if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { - if (val) *val = (float)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2938,7 +3033,7 @@ SWIGINTERN int } -SWIGINTERNSHORT float +SWIGINTERNINLINE float SWIG_As_float(PyObject* obj) { float v; @@ -2952,14 +3047,14 @@ SWIG_As_float(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_float(PyObject* obj) { return SWIG_AsVal_float(obj, (float*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_float PyFloat_FromDouble /*@@*/ @@ -3305,7 +3400,7 @@ static int _wrap_EmptyString_set(PyObject *) { static PyObject *_wrap_EmptyString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3319,7 +3414,7 @@ static PyObject *_wrap_EmptyString_get(void) { static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3351,7 +3446,7 @@ static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3383,7 +3478,7 @@ static PyObject * Object_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3396,7 +3491,7 @@ static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -3409,7 +3504,7 @@ static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3423,7 +3518,7 @@ static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwar result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3432,7 +3527,7 @@ static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3445,7 +3540,7 @@ static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -3458,7 +3553,7 @@ static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3472,7 +3567,7 @@ static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3481,7 +3576,7 @@ static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxSize *result; @@ -3494,13 +3589,13 @@ static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3519,7 +3614,7 @@ static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3544,7 +3639,7 @@ static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; bool result; @@ -3579,7 +3674,7 @@ static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; bool result; @@ -3614,7 +3709,7 @@ static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -3641,7 +3736,7 @@ static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3651,7 +3746,7 @@ static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -3678,7 +3773,7 @@ static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3688,7 +3783,7 @@ static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3720,7 +3815,7 @@ static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3752,7 +3847,7 @@ static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; int arg3 ; @@ -3767,11 +3862,11 @@ static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3789,7 +3884,7 @@ static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3802,7 +3897,7 @@ static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3820,7 +3915,7 @@ static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3833,7 +3928,7 @@ static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3851,7 +3946,7 @@ static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3870,7 +3965,7 @@ static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3879,7 +3974,7 @@ static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3898,7 +3993,7 @@ static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3907,7 +4002,7 @@ static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3935,7 +4030,7 @@ static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3967,7 +4062,7 @@ static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4000,7 +4095,7 @@ static PyObject * Size_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -4013,7 +4108,7 @@ static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -4026,7 +4121,7 @@ static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double result; PyObject * obj0 = 0 ; @@ -4040,7 +4135,7 @@ static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwa result = (double) ((arg1)->x); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -4049,7 +4144,7 @@ static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -4062,7 +4157,7 @@ static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -4075,7 +4170,7 @@ static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double result; PyObject * obj0 = 0 ; @@ -4089,7 +4184,7 @@ static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwa result = (double) ((arg1)->y); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -4098,7 +4193,7 @@ static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; wxRealPoint *result; @@ -4111,13 +4206,13 @@ static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4136,7 +4231,7 @@ static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4161,7 +4256,7 @@ static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; bool result; @@ -4196,7 +4291,7 @@ static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; bool result; @@ -4231,7 +4326,7 @@ static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; wxRealPoint result; @@ -4258,7 +4353,7 @@ static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *k } { wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &)(result)); + resultptr = new wxRealPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1); } return resultobj; @@ -4268,7 +4363,7 @@ static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; wxRealPoint result; @@ -4295,7 +4390,7 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *k } { wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &)(result)); + resultptr = new wxRealPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1); } return resultobj; @@ -4305,7 +4400,7 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; double arg3 ; @@ -4320,11 +4415,11 @@ static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4342,7 +4437,7 @@ static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4375,7 +4470,7 @@ static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4388,7 +4483,7 @@ static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -4401,7 +4496,7 @@ static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4415,7 +4510,7 @@ static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4424,7 +4519,7 @@ static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4437,7 +4532,7 @@ static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -4450,7 +4545,7 @@ static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4464,7 +4559,7 @@ static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4473,7 +4568,7 @@ static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxPoint *result; @@ -4486,13 +4581,13 @@ static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4511,7 +4606,7 @@ static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4536,7 +4631,7 @@ static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -4571,7 +4666,7 @@ static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -4606,7 +4701,7 @@ static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -4633,7 +4728,7 @@ static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwarg } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -4643,7 +4738,7 @@ static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -4670,7 +4765,7 @@ static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwarg } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -4680,7 +4775,7 @@ static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint *result; @@ -4716,7 +4811,7 @@ static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint *result; @@ -4752,7 +4847,7 @@ static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; long arg2 ; long arg3 ; @@ -4767,11 +4862,11 @@ static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4789,7 +4884,7 @@ static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4822,7 +4917,7 @@ static PyObject * Point_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -4839,25 +4934,25 @@ static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -4876,7 +4971,7 @@ static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxPoint *arg2 = 0 ; wxRect *result; @@ -4912,7 +5007,7 @@ static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxSize *arg2 = 0 ; wxRect *result; @@ -4948,7 +5043,7 @@ static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = 0 ; wxRect *result; wxSize temp1 ; @@ -4977,7 +5072,7 @@ static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5002,7 +5097,7 @@ static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5021,7 +5116,7 @@ static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5030,7 +5125,7 @@ static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5043,7 +5138,7 @@ static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5061,7 +5156,7 @@ static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5080,7 +5175,7 @@ static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5089,7 +5184,7 @@ static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5102,7 +5197,7 @@ static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5120,7 +5215,7 @@ static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5139,7 +5234,7 @@ static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5148,7 +5243,7 @@ static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5161,7 +5256,7 @@ static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5179,7 +5274,7 @@ static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5198,7 +5293,7 @@ static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5207,7 +5302,7 @@ static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5220,7 +5315,7 @@ static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5238,7 +5333,7 @@ static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5258,7 +5353,7 @@ static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kw } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5268,7 +5363,7 @@ static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5300,7 +5395,7 @@ static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -5320,7 +5415,7 @@ static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -5330,7 +5425,7 @@ static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -5362,7 +5457,7 @@ static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5390,7 +5485,7 @@ static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5410,7 +5505,7 @@ static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwa } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5420,7 +5515,7 @@ static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5452,7 +5547,7 @@ static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5472,7 +5567,7 @@ static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5482,7 +5577,7 @@ static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5514,7 +5609,7 @@ static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5533,7 +5628,7 @@ static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5542,7 +5637,7 @@ static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5561,7 +5656,7 @@ static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5570,7 +5665,7 @@ static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5589,7 +5684,7 @@ static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5598,7 +5693,7 @@ static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5617,7 +5712,7 @@ static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5626,7 +5721,7 @@ static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5639,7 +5734,7 @@ static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5657,7 +5752,7 @@ static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5670,7 +5765,7 @@ static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5688,7 +5783,7 @@ static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5701,7 +5796,7 @@ static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5719,7 +5814,7 @@ static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5732,7 +5827,7 @@ static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5750,7 +5845,7 @@ static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5766,11 +5861,11 @@ static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5791,7 +5886,7 @@ static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5807,11 +5902,11 @@ static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5832,7 +5927,7 @@ static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5847,11 +5942,11 @@ static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5869,7 +5964,7 @@ static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5901,7 +5996,7 @@ static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5928,7 +6023,7 @@ static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwar } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5938,7 +6033,7 @@ static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5965,7 +6060,7 @@ static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5975,7 +6070,7 @@ static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -6002,7 +6097,7 @@ static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -6012,7 +6107,7 @@ static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect *result; @@ -6048,7 +6143,7 @@ static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6083,7 +6178,7 @@ static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6118,7 +6213,7 @@ static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -6134,11 +6229,11 @@ static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6158,7 +6253,7 @@ static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -6193,7 +6288,7 @@ static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6228,7 +6323,7 @@ static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6241,7 +6336,7 @@ static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -6254,7 +6349,7 @@ static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6268,7 +6363,7 @@ static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6277,7 +6372,7 @@ static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6290,7 +6385,7 @@ static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -6303,7 +6398,7 @@ static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6317,7 +6412,7 @@ static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6326,7 +6421,7 @@ static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6339,7 +6434,7 @@ static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->width = arg2; @@ -6352,7 +6447,7 @@ static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6366,7 +6461,7 @@ static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwar result = (int) ((arg1)->width); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6375,7 +6470,7 @@ static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6388,7 +6483,7 @@ static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->height = arg2; @@ -6401,7 +6496,7 @@ static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6415,7 +6510,7 @@ static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->height); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6424,7 +6519,7 @@ static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -6444,25 +6539,25 @@ static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -6481,7 +6576,7 @@ static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -6514,7 +6609,7 @@ static PyObject * Rect_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = (wxRect *) 0 ; PyObject *result; @@ -6545,7 +6640,7 @@ static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; wxPoint2D *result; @@ -6558,13 +6653,13 @@ static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -6583,7 +6678,7 @@ static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = 0 ; wxPoint2D *result; wxPoint2D temp1 ; @@ -6612,7 +6707,7 @@ static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxPoint2D *result; wxPoint temp1 ; @@ -6641,7 +6736,7 @@ static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6678,7 +6773,7 @@ static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6715,7 +6810,7 @@ static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -6734,7 +6829,7 @@ static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6743,7 +6838,7 @@ static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -6762,7 +6857,7 @@ static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6771,7 +6866,7 @@ static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -6784,7 +6879,7 @@ static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6802,7 +6897,7 @@ static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -6815,7 +6910,7 @@ static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6833,7 +6928,7 @@ static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6859,7 +6954,7 @@ static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6868,7 +6963,7 @@ static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6894,7 +6989,7 @@ static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6903,7 +6998,7 @@ static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyO static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6929,7 +7024,7 @@ static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6938,7 +7033,7 @@ static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6964,7 +7059,7 @@ static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6973,7 +7068,7 @@ static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D result; PyObject * obj0 = 0 ; @@ -6993,7 +7088,7 @@ static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwa } { wxPoint2D * resultptr; - resultptr = new wxPoint2D((wxPoint2D &)(result)); + resultptr = new wxPoint2D(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1); } return resultobj; @@ -7003,7 +7098,7 @@ static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7039,7 +7134,7 @@ static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7075,7 +7170,7 @@ static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7111,7 +7206,7 @@ static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7147,7 +7242,7 @@ static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; bool result; @@ -7182,7 +7277,7 @@ static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; bool result; @@ -7217,7 +7312,7 @@ static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -7230,7 +7325,7 @@ static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -7243,7 +7338,7 @@ static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -7257,7 +7352,7 @@ static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwarg result = (double) ((arg1)->m_x); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7266,7 +7361,7 @@ static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -7279,7 +7374,7 @@ static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -7292,7 +7387,7 @@ static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -7306,7 +7401,7 @@ static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwarg result = (double) ((arg1)->m_y); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7315,7 +7410,7 @@ static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 = (double) 0 ; double arg3 = (double) 0 ; @@ -7331,13 +7426,13 @@ static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7356,7 +7451,7 @@ static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -7395,7 +7490,7 @@ static int _wrap_DefaultPosition_set(PyObject *) { static PyObject *_wrap_DefaultPosition_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0); return pyobj; @@ -7409,7 +7504,7 @@ static int _wrap_DefaultSize_set(PyObject *) { static PyObject *_wrap_DefaultSize_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0); return pyobj; @@ -7417,7 +7512,7 @@ static PyObject *_wrap_DefaultSize_get(void) { static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxPyInputStream *result; PyObject * obj0 = 0 ; @@ -7442,7 +7537,7 @@ static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7467,7 +7562,7 @@ static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7492,7 +7587,7 @@ static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7517,7 +7612,7 @@ static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7545,7 +7640,7 @@ static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7560,7 +7655,7 @@ static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7579,7 +7674,7 @@ static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7594,7 +7689,7 @@ static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7613,7 +7708,7 @@ static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7628,7 +7723,7 @@ static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7647,7 +7742,7 @@ static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 ; int arg3 = (int) 0 ; @@ -7662,12 +7757,12 @@ static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7686,7 +7781,7 @@ static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7705,7 +7800,7 @@ static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7714,7 +7809,7 @@ static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char result; PyObject * obj0 = 0 ; @@ -7733,7 +7828,7 @@ static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_char((char)(result)); + resultobj = SWIG_From_char(static_cast(result)); } return resultobj; fail: @@ -7742,7 +7837,7 @@ static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char result; PyObject * obj0 = 0 ; @@ -7761,7 +7856,7 @@ static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_char((char)(result)); + resultobj = SWIG_From_char(static_cast(result)); } return resultobj; fail: @@ -7770,7 +7865,7 @@ static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -7789,7 +7884,7 @@ static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -7798,7 +7893,7 @@ static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7826,7 +7921,7 @@ static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7854,7 +7949,7 @@ static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char arg2 ; bool result; @@ -7868,7 +7963,7 @@ static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (char)(SWIG_As_char(obj1)); + arg2 = static_cast(SWIG_As_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7888,7 +7983,7 @@ static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; long arg2 ; wxSeekMode arg3 = (wxSeekMode) wxFromStart ; @@ -7904,24 +7999,24 @@ static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxSeekMode)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3); + result = (long)(arg1)->SeekI(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7930,7 +8025,7 @@ static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; long result; PyObject * obj0 = 0 ; @@ -7949,7 +8044,7 @@ static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7965,7 +8060,7 @@ static PyObject * InputStream_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxOutputStream *arg1 = (wxOutputStream *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -8000,7 +8095,7 @@ static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = (wxInputStream *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -8099,7 +8194,7 @@ static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8124,7 +8219,7 @@ static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -8157,7 +8252,7 @@ static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8192,7 +8287,7 @@ static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8227,7 +8322,7 @@ static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8262,7 +8357,7 @@ static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -8282,7 +8377,7 @@ static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, Py } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -8306,7 +8401,7 @@ static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *result; char *kwnames[] = { NULL @@ -8328,7 +8423,7 @@ static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8359,7 +8454,7 @@ static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject * static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8403,7 +8498,7 @@ static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -8457,7 +8552,7 @@ static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -8480,7 +8575,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8513,7 +8608,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, P static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8545,7 +8640,7 @@ static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8593,7 +8688,7 @@ static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8641,7 +8736,7 @@ static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *a static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8689,7 +8784,7 @@ static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, P static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8737,7 +8832,7 @@ static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject * static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8792,7 +8887,7 @@ static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *result; char *kwnames[] = { NULL @@ -8816,7 +8911,7 @@ static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8841,7 +8936,7 @@ static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -8863,7 +8958,7 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8890,7 +8985,7 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8922,7 +9017,7 @@ static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; wxFSFile *result; @@ -8966,7 +9061,7 @@ static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -8989,7 +9084,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9022,7 +9117,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9054,7 +9149,7 @@ static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9079,7 +9174,7 @@ static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9100,7 +9195,7 @@ static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -9144,7 +9239,7 @@ static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -9161,7 +9256,7 @@ static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyOb } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = FileSystem_URLToFileName((wxString const &)*arg1); + result = wxFileSystem_URLToFileName((wxString const &)*arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9195,7 +9290,7 @@ static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *result; char *kwnames[] = { NULL @@ -9217,7 +9312,7 @@ static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9261,7 +9356,7 @@ static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyO static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9322,7 +9417,7 @@ static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *result; char *kwnames[] = { NULL @@ -9344,7 +9439,7 @@ static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9388,7 +9483,7 @@ static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9442,7 +9537,7 @@ static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -9465,7 +9560,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9498,7 +9593,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9537,7 +9632,7 @@ static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxImage *arg2 = 0 ; long arg3 ; @@ -9564,7 +9659,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9590,7 +9685,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBitmap *arg2 = 0 ; long arg3 ; @@ -9617,7 +9712,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9643,7 +9738,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; PyObject *arg2 = (PyObject *) 0 ; bool temp1 = false ; @@ -9683,7 +9778,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *ar static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *result; char *kwnames[] = { NULL @@ -9705,7 +9800,7 @@ static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9742,7 +9837,7 @@ static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, Py static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9786,7 +9881,7 @@ static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9840,7 +9935,7 @@ static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -9863,7 +9958,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9896,7 +9991,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyO static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9935,7 +10030,7 @@ static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9967,7 +10062,7 @@ static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9999,7 +10094,7 @@ static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyO static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; long result; PyObject * obj0 = 0 ; @@ -10018,7 +10113,7 @@ static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -10027,7 +10122,7 @@ static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10059,7 +10154,7 @@ static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -10103,7 +10198,7 @@ static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10144,7 +10239,7 @@ static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10185,7 +10280,7 @@ static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyO static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -10198,7 +10293,7 @@ static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10216,7 +10311,7 @@ static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10264,7 +10359,7 @@ static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyImageHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyImageHandler *result; char *kwnames[] = { NULL @@ -10286,7 +10381,7 @@ static PyObject *_wrap_new_PyImageHandler(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyImageHandler__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyImageHandler *arg1 = (wxPyImageHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -10321,7 +10416,7 @@ static PyObject * PyImageHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *result; char *kwnames[] = { NULL @@ -10343,7 +10438,7 @@ static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; byte arg1 ; byte arg2 ; byte arg3 ; @@ -10357,15 +10452,15 @@ static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (byte)(SWIG_As_unsigned_SS_char(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_char(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10376,7 +10471,7 @@ static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10385,7 +10480,7 @@ static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; byte *arg2 = (byte *) 0 ; byte *arg3 = (byte *) 0 ; @@ -10416,19 +10511,19 @@ static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj2) { { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj3) { { - arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -10455,7 +10550,7 @@ static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; unsigned long arg2 ; unsigned long result; @@ -10469,7 +10564,7 @@ static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10480,7 +10575,7 @@ static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10489,7 +10584,7 @@ static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; byte arg2 ; byte arg3 ; @@ -10507,15 +10602,15 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -10526,7 +10621,7 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10535,7 +10630,7 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; wxColour *arg2 = 0 ; unsigned long result; @@ -10561,7 +10656,7 @@ static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10577,7 +10672,7 @@ static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; byte arg1 = (byte) 0 ; byte arg2 = (byte) 0 ; byte arg3 = (byte) 0 ; @@ -10592,19 +10687,19 @@ static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_RGBValue",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (byte)(SWIG_As_unsigned_SS_char(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_char(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10623,7 +10718,7 @@ static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte arg2 ; PyObject * obj0 = 0 ; @@ -10636,7 +10731,7 @@ static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->red = arg2; @@ -10649,7 +10744,7 @@ static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -10663,7 +10758,7 @@ static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObje result = (byte) ((arg1)->red); { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -10672,7 +10767,7 @@ static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte arg2 ; PyObject * obj0 = 0 ; @@ -10685,7 +10780,7 @@ static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->green = arg2; @@ -10698,7 +10793,7 @@ static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -10712,7 +10807,7 @@ static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyOb result = (byte) ((arg1)->green); { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -10721,7 +10816,7 @@ static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte arg2 ; PyObject * obj0 = 0 ; @@ -10734,7 +10829,7 @@ static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->blue = arg2; @@ -10747,7 +10842,7 @@ static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Image_RGBValue_blue_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -10761,7 +10856,7 @@ static PyObject *_wrap_Image_RGBValue_blue_get(PyObject *, PyObject *args, PyObj result = (byte) ((arg1)->blue); { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -10777,7 +10872,7 @@ static PyObject * Image_RGBValue_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; double arg3 = (double) 0.0 ; @@ -10792,19 +10887,19 @@ static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_HSVValue",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10823,7 +10918,7 @@ static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -10836,7 +10931,7 @@ static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->hue = arg2; @@ -10849,7 +10944,7 @@ static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double result; PyObject * obj0 = 0 ; @@ -10863,7 +10958,7 @@ static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObje result = (double) ((arg1)->hue); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -10872,7 +10967,7 @@ static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -10885,7 +10980,7 @@ static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->saturation = arg2; @@ -10898,7 +10993,7 @@ static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double result; PyObject * obj0 = 0 ; @@ -10912,7 +11007,7 @@ static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, result = (double) ((arg1)->saturation); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -10921,7 +11016,7 @@ static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -10934,7 +11029,7 @@ static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->value = arg2; @@ -10947,7 +11042,7 @@ static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_HSVValue_value_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double result; PyObject * obj0 = 0 ; @@ -10961,7 +11056,7 @@ static PyObject *_wrap_Image_HSVValue_value_get(PyObject *, PyObject *args, PyOb result = (double) ((arg1)->value); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -10977,7 +11072,7 @@ static PyObject * Image_HSVValue_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; @@ -10998,13 +11093,13 @@ static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11031,7 +11126,7 @@ static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11056,7 +11151,7 @@ static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -11083,7 +11178,7 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *k } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11118,7 +11213,7 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; @@ -11149,13 +11244,13 @@ static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11180,7 +11275,7 @@ static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -11217,7 +11312,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11250,7 +11345,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObj static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; bool arg3 = (bool) true ; @@ -11265,19 +11360,19 @@ static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11296,7 +11391,7 @@ static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxImage *result; PyObject * obj0 = 0 ; @@ -11329,7 +11424,7 @@ static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; buffer arg3 ; @@ -11344,11 +11439,11 @@ static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11369,7 +11464,7 @@ static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; buffer arg3 ; @@ -11387,11 +11482,11 @@ static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11415,7 +11510,7 @@ static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, Py static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11432,16 +11527,16 @@ static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -11460,7 +11555,7 @@ static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11485,7 +11580,7 @@ static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11501,11 +11596,11 @@ static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11517,7 +11612,7 @@ static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -11527,7 +11622,7 @@ static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11543,11 +11638,11 @@ static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11559,7 +11654,7 @@ static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwar } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -11569,7 +11664,7 @@ static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11585,11 +11680,11 @@ static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11610,7 +11705,7 @@ static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -11643,19 +11738,19 @@ static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -11677,7 +11772,7 @@ static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11698,23 +11793,23 @@ static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj5)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -11732,7 +11827,7 @@ static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxRect *arg2 = 0 ; byte arg3 ; @@ -11756,15 +11851,15 @@ static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kw if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -11782,7 +11877,7 @@ static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11798,11 +11893,11 @@ static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11813,7 +11908,7 @@ static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11822,7 +11917,7 @@ static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11838,11 +11933,11 @@ static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11853,7 +11948,7 @@ static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11862,7 +11957,7 @@ static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11878,11 +11973,11 @@ static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11893,7 +11988,7 @@ static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11902,7 +11997,7 @@ static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11919,15 +12014,15 @@ static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -11945,7 +12040,7 @@ static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11961,11 +12056,11 @@ static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11976,7 +12071,7 @@ static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11985,7 +12080,7 @@ static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12013,7 +12108,7 @@ static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12038,7 +12133,7 @@ static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -12056,16 +12151,16 @@ static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (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 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12086,7 +12181,7 @@ static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte *arg2 = (byte *) 0 ; byte *arg3 = (byte *) 0 ; @@ -12117,19 +12212,19 @@ static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, P if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj2) { { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj3) { { - arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -12156,7 +12251,7 @@ static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, P static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 = (byte) wxIMAGE_ALPHA_THRESHOLD ; bool result; @@ -12171,7 +12266,7 @@ static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -12192,7 +12287,7 @@ static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -12210,15 +12305,15 @@ static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -12238,7 +12333,7 @@ static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, Py static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImage *arg2 = 0 ; byte arg3 ; @@ -12266,15 +12361,15 @@ static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -12294,7 +12389,7 @@ static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -12334,7 +12429,7 @@ static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int result; @@ -12353,7 +12448,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -12365,7 +12460,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -12382,7 +12477,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) wxBITMAP_TYPE_ANY ; @@ -12407,13 +12502,13 @@ static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12442,7 +12537,7 @@ static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12473,7 +12568,7 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject * } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12510,7 +12605,7 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -12532,7 +12627,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwar temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -12560,7 +12655,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12620,7 +12715,7 @@ static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; bool result; wxPyInputStream *temp1 ; @@ -12668,7 +12763,7 @@ static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxInputStream *arg2 = 0 ; long arg3 = (long) wxBITMAP_TYPE_ANY ; @@ -12703,13 +12798,13 @@ static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12736,7 +12831,7 @@ static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxInputStream *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12777,7 +12872,7 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12812,7 +12907,7 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12840,7 +12935,7 @@ static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12859,7 +12954,7 @@ static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12868,7 +12963,7 @@ static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12887,7 +12982,7 @@ static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12896,7 +12991,7 @@ static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -12916,7 +13011,7 @@ static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -12926,7 +13021,7 @@ static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxRect *arg2 = 0 ; SwigValueWrapper result; @@ -12953,7 +13048,7 @@ static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *k } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -12963,7 +13058,7 @@ static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -12996,19 +13091,19 @@ static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -13021,7 +13116,7 @@ static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13031,7 +13126,7 @@ static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -13051,7 +13146,7 @@ static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13061,7 +13156,7 @@ static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImage *arg2 = 0 ; int arg3 ; @@ -13086,11 +13181,11 @@ static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13108,7 +13203,7 @@ static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -13134,7 +13229,7 @@ static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -13165,7 +13260,7 @@ static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -13191,7 +13286,7 @@ static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -13222,7 +13317,7 @@ static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -13248,7 +13343,7 @@ static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -13279,7 +13374,7 @@ static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -13305,7 +13400,7 @@ static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -13336,7 +13431,7 @@ static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -13353,15 +13448,15 @@ static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13379,7 +13474,7 @@ static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte *arg2 = (byte *) 0 ; byte *arg3 = (byte *) 0 ; @@ -13422,7 +13517,7 @@ static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyO static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -13441,7 +13536,7 @@ static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -13450,7 +13545,7 @@ static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -13469,7 +13564,7 @@ static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -13478,7 +13573,7 @@ static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -13497,7 +13592,7 @@ static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -13506,7 +13601,7 @@ static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -13520,7 +13615,7 @@ static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13539,7 +13634,7 @@ static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13567,7 +13662,7 @@ static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; double arg2 ; wxPoint *arg3 = 0 ; @@ -13588,7 +13683,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13597,7 +13692,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13614,7 +13709,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13624,7 +13719,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; SwigValueWrapper result; @@ -13639,7 +13734,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13652,7 +13747,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwar } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13662,7 +13757,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; SwigValueWrapper result; @@ -13677,7 +13772,7 @@ static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13690,7 +13785,7 @@ static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13700,7 +13795,7 @@ static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -13723,27 +13818,27 @@ static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj5)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (byte)(SWIG_As_unsigned_SS_char(obj6)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -13760,8 +13855,62 @@ static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwarg } +static PyObject *_wrap_Image_ConvertToGreyscale(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage *arg1 = (wxImage *) 0 ; + double arg2 = (double) 0.299 ; + double arg3 = (double) 0.587 ; + double arg4 = (double) 0.114 ; + SwigValueWrapper result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = static_cast(SWIG_As_double(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_double(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_double(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxImage const *)arg1)->ConvertToGreyscale(arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxImage * resultptr; + resultptr = new wxImage(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); + } + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -13779,15 +13928,15 @@ static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13799,7 +13948,7 @@ static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13809,7 +13958,7 @@ static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -13866,7 +14015,7 @@ static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -13887,7 +14036,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject * temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13913,7 +14062,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -13961,7 +14110,7 @@ static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int result; @@ -13988,7 +14137,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -14005,7 +14154,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; bool result; @@ -14049,7 +14198,7 @@ static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; unsigned long arg2 = (unsigned long) (unsigned long) -1 ; unsigned long result; @@ -14064,7 +14213,7 @@ static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -14076,7 +14225,7 @@ static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -14085,7 +14234,7 @@ static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImageHistogram *arg2 = 0 ; unsigned long result; @@ -14114,7 +14263,7 @@ static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -14123,7 +14272,7 @@ static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14148,7 +14297,7 @@ static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14173,7 +14322,7 @@ static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -14213,7 +14362,7 @@ static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -14241,7 +14390,7 @@ static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyO static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 = (int) -1 ; wxBitmap result; @@ -14256,7 +14405,7 @@ static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -14270,7 +14419,7 @@ static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObjec } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -14280,7 +14429,7 @@ static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -14298,15 +14447,15 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -14319,7 +14468,7 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -14329,7 +14478,7 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO static PyObject *_wrap_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -14342,7 +14491,7 @@ static PyObject *_wrap_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14360,7 +14509,7 @@ static PyObject *_wrap_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue arg1 ; wxImage_HSVValue result; PyObject * obj0 = 0 ; @@ -14388,7 +14537,7 @@ static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwar } { wxImage_HSVValue * resultptr; - resultptr = new wxImage_HSVValue((wxImage_HSVValue &)(result)); + resultptr = new wxImage_HSVValue(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_HSVValue, 1); } return resultobj; @@ -14398,7 +14547,7 @@ static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_HSVtoRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue arg1 ; wxImage_RGBValue result; PyObject * obj0 = 0 ; @@ -14426,7 +14575,7 @@ static PyObject *_wrap_Image_HSVtoRGB(PyObject *, PyObject *args, PyObject *kwar } { wxImage_RGBValue * resultptr; - resultptr = new wxImage_RGBValue((wxImage_RGBValue &)(result)); + resultptr = new wxImage_RGBValue(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_RGBValue, 1); } return resultobj; @@ -14449,7 +14598,7 @@ static int _wrap_NullImage_set(PyObject *) { static PyObject *_wrap_NullImage_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0); return pyobj; @@ -14463,7 +14612,7 @@ static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_FILENAME_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14483,7 +14632,7 @@ static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14503,7 +14652,7 @@ static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14523,7 +14672,7 @@ static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14543,7 +14692,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14563,7 +14712,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14583,7 +14732,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14603,7 +14752,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14623,7 +14772,7 @@ static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14643,7 +14792,7 @@ static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14663,7 +14812,7 @@ static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14683,7 +14832,7 @@ static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_COMPRESSION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14703,7 +14852,7 @@ static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14723,7 +14872,7 @@ static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14743,7 +14892,7 @@ static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14757,7 +14906,7 @@ static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) { static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBMPHandler *result; char *kwnames[] = { NULL @@ -14786,7 +14935,7 @@ static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxICOHandler *result; char *kwnames[] = { NULL @@ -14815,7 +14964,7 @@ static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCURHandler *result; char *kwnames[] = { NULL @@ -14844,7 +14993,7 @@ static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxANIHandler *result; char *kwnames[] = { NULL @@ -14873,7 +15022,7 @@ static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPNGHandler *result; char *kwnames[] = { NULL @@ -14902,7 +15051,7 @@ static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFHandler *result; char *kwnames[] = { NULL @@ -14931,7 +15080,7 @@ static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPCXHandler *result; char *kwnames[] = { NULL @@ -14960,7 +15109,7 @@ static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJPEGHandler *result; char *kwnames[] = { NULL @@ -14989,7 +15138,7 @@ static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPNMHandler *result; char *kwnames[] = { NULL @@ -15018,7 +15167,7 @@ static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXPMHandler *result; char *kwnames[] = { NULL @@ -15047,7 +15196,7 @@ static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTIFFHandler *result; char *kwnames[] = { NULL @@ -15076,7 +15225,7 @@ static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = 0 ; wxImage *arg2 = 0 ; int arg3 = (int) 236 ; @@ -15109,19 +15258,19 @@ static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *k } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4); + result = (bool)wxQuantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -15143,7 +15292,7 @@ static PyObject * Quantize_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *result; char *kwnames[] = { NULL @@ -15165,7 +15314,7 @@ static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -15193,7 +15342,7 @@ static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -15221,7 +15370,7 @@ static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -15250,7 +15399,7 @@ static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -15279,7 +15428,7 @@ static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15307,7 +15456,7 @@ static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15320,7 +15469,7 @@ static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15338,7 +15487,7 @@ static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; bool result; @@ -15376,7 +15525,7 @@ static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -15411,7 +15560,7 @@ static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, Py static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15436,7 +15585,7 @@ static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; int arg2 ; int arg3 ; @@ -15455,15 +15604,15 @@ static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } arg5 = obj4; @@ -15482,7 +15631,7 @@ static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; int arg2 ; int arg3 = (int) -1 ; @@ -15500,18 +15649,18 @@ static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxEventType)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -15532,7 +15681,7 @@ static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool arg3 = (bool) true ; @@ -15549,7 +15698,7 @@ static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObje arg2 = obj1; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -15575,7 +15724,7 @@ static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType result; char *kwnames[] = { NULL @@ -15590,7 +15739,7 @@ static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15599,7 +15748,7 @@ static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15624,7 +15773,7 @@ static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEventType arg2 ; PyObject * obj0 = 0 ; @@ -15637,7 +15786,7 @@ static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15655,7 +15804,7 @@ static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEventType result; PyObject * obj0 = 0 ; @@ -15674,7 +15823,7 @@ static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15683,7 +15832,7 @@ static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxObject *result; PyObject * obj0 = 0 ; @@ -15711,7 +15860,7 @@ static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxObject *arg2 = (wxObject *) 0 ; PyObject * obj0 = 0 ; @@ -15740,7 +15889,7 @@ static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -15759,7 +15908,7 @@ static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -15768,7 +15917,7 @@ static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; long arg2 = (long) 0 ; PyObject * obj0 = 0 ; @@ -15782,7 +15931,7 @@ static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15801,7 +15950,7 @@ static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15820,7 +15969,7 @@ static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15829,7 +15978,7 @@ static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15842,7 +15991,7 @@ static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15860,7 +16009,7 @@ static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15888,7 +16037,7 @@ static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -15902,7 +16051,7 @@ static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15921,7 +16070,7 @@ static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15949,7 +16098,7 @@ static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15977,7 +16126,7 @@ static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15996,7 +16145,7 @@ static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16005,7 +16154,7 @@ static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16018,7 +16167,7 @@ static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16036,7 +16185,7 @@ static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -16069,7 +16218,7 @@ static PyObject * Event_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = 0 ; wxPropagationDisabler *result; PyObject * obj0 = 0 ; @@ -16101,7 +16250,7 @@ static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObj static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16133,7 +16282,7 @@ static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = 0 ; wxPropagateOnce *result; PyObject * obj0 = 0 ; @@ -16165,7 +16314,7 @@ static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16197,7 +16346,7 @@ static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxCommandEvent *result; @@ -16210,13 +16359,13 @@ static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16235,7 +16384,7 @@ static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16254,7 +16403,7 @@ static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16263,7 +16412,7 @@ static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16304,7 +16453,7 @@ static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -16336,7 +16485,7 @@ static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16364,7 +16513,7 @@ static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16392,7 +16541,7 @@ static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -16405,7 +16554,7 @@ static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16423,7 +16572,7 @@ static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -16442,7 +16591,7 @@ static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -16451,7 +16600,7 @@ static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16464,7 +16613,7 @@ static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16482,7 +16631,7 @@ static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -16501,7 +16650,7 @@ static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -16510,7 +16659,7 @@ static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -16543,7 +16692,7 @@ static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxNotifyEvent *result; @@ -16556,13 +16705,13 @@ static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16581,7 +16730,7 @@ static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16606,7 +16755,7 @@ static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16631,7 +16780,7 @@ static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16666,7 +16815,7 @@ static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -16683,25 +16832,25 @@ static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -16720,7 +16869,7 @@ static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16739,7 +16888,7 @@ static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16748,7 +16897,7 @@ static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16767,7 +16916,7 @@ static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16776,7 +16925,7 @@ static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16789,7 +16938,7 @@ static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16807,7 +16956,7 @@ static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16820,7 +16969,7 @@ static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16845,7 +16994,7 @@ static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -16860,19 +17009,19 @@ static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -16891,7 +17040,7 @@ static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16910,7 +17059,7 @@ static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16919,7 +17068,7 @@ static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16938,7 +17087,7 @@ static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16947,7 +17096,7 @@ static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16960,7 +17109,7 @@ static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16978,7 +17127,7 @@ static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16991,7 +17140,7 @@ static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17016,7 +17165,7 @@ static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; wxMouseEvent *result; PyObject * obj0 = 0 ; @@ -17027,7 +17176,7 @@ static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -17048,7 +17197,7 @@ static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17076,7 +17225,7 @@ static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -17091,7 +17240,7 @@ static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17112,7 +17261,7 @@ static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -17127,7 +17276,7 @@ static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17148,7 +17297,7 @@ static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -17163,7 +17312,7 @@ static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17184,7 +17333,7 @@ static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; bool result; @@ -17198,7 +17347,7 @@ static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17218,7 +17367,7 @@ static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; bool result; @@ -17232,7 +17381,7 @@ static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17252,7 +17401,7 @@ static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17271,7 +17420,7 @@ static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17280,7 +17429,7 @@ static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17308,7 +17457,7 @@ static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17336,7 +17485,7 @@ static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17364,7 +17513,7 @@ static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17392,7 +17541,7 @@ static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17420,7 +17569,7 @@ static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17448,7 +17597,7 @@ static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17476,7 +17625,7 @@ static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17504,7 +17653,7 @@ static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17532,7 +17681,7 @@ static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17560,7 +17709,7 @@ static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17588,7 +17737,7 @@ static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17616,7 +17765,7 @@ static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17644,7 +17793,7 @@ static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17672,7 +17821,7 @@ static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17700,7 +17849,7 @@ static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17728,7 +17877,7 @@ static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17756,7 +17905,7 @@ static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17784,7 +17933,7 @@ static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17812,7 +17961,7 @@ static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17840,7 +17989,7 @@ static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17868,7 +18017,7 @@ static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -17888,7 +18037,7 @@ static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObje } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -17898,7 +18047,7 @@ static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -17935,7 +18084,7 @@ static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; wxDC *arg2 = 0 ; wxPoint result; @@ -17965,7 +18114,7 @@ static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -17975,7 +18124,7 @@ static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17994,7 +18143,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18003,7 +18152,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18022,7 +18171,7 @@ static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18031,7 +18180,7 @@ static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18050,7 +18199,7 @@ static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18059,7 +18208,7 @@ static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18078,7 +18227,7 @@ static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18087,7 +18236,7 @@ static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18106,7 +18255,7 @@ static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18115,7 +18264,7 @@ static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18143,7 +18292,7 @@ static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18156,7 +18305,7 @@ static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -18169,7 +18318,7 @@ static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18183,7 +18332,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject * result = (int) ((arg1)->m_x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18192,7 +18341,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18205,7 +18354,7 @@ static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -18218,7 +18367,7 @@ static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18232,7 +18381,7 @@ static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject * result = (int) ((arg1)->m_y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18241,7 +18390,7 @@ static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18254,7 +18403,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_leftDown = arg2; @@ -18267,7 +18416,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18290,7 +18439,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18303,7 +18452,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_middleDown = arg2; @@ -18316,7 +18465,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18339,7 +18488,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18352,7 +18501,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rightDown = arg2; @@ -18365,7 +18514,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18388,7 +18537,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18401,7 +18550,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_controlDown = arg2; @@ -18414,7 +18563,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18437,7 +18586,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18450,7 +18599,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_shiftDown = arg2; @@ -18463,7 +18612,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18486,7 +18635,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18499,7 +18648,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_altDown = arg2; @@ -18512,7 +18661,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18535,7 +18684,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18548,7 +18697,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_metaDown = arg2; @@ -18561,7 +18710,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18584,7 +18733,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18597,7 +18746,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_wheelRotation = arg2; @@ -18610,7 +18759,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18624,7 +18773,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args result = (int) ((arg1)->m_wheelRotation); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18633,7 +18782,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18646,7 +18795,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_wheelDelta = arg2; @@ -18659,7 +18808,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18673,7 +18822,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, P result = (int) ((arg1)->m_wheelDelta); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18682,7 +18831,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18695,7 +18844,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_linesPerAction = arg2; @@ -18708,7 +18857,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *arg static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18722,7 +18871,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *arg result = (int) ((arg1)->m_linesPerAction); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18738,7 +18887,7 @@ static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxSetCursorEvent *result; @@ -18751,13 +18900,13 @@ static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -18776,7 +18925,7 @@ static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18795,7 +18944,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18804,7 +18953,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18823,7 +18972,7 @@ static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18832,7 +18981,7 @@ static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; wxCursor *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -18867,7 +19016,7 @@ static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; wxCursor *result; PyObject * obj0 = 0 ; @@ -18899,7 +19048,7 @@ static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18934,7 +19083,7 @@ static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; wxKeyEvent *result; PyObject * obj0 = 0 ; @@ -18945,7 +19094,7 @@ static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -18964,7 +19113,7 @@ static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18992,7 +19141,7 @@ static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19020,7 +19169,7 @@ static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19048,7 +19197,7 @@ static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19076,7 +19225,7 @@ static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19104,7 +19253,7 @@ static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19132,7 +19281,7 @@ static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19151,7 +19300,7 @@ static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19160,7 +19309,7 @@ static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19179,7 +19328,7 @@ static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19188,7 +19337,7 @@ static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19207,7 +19356,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19216,7 +19365,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19235,7 +19384,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19244,7 +19393,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -19264,7 +19413,7 @@ static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -19274,7 +19423,7 @@ static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -19311,7 +19460,7 @@ static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyO static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19330,7 +19479,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19339,7 +19488,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19358,7 +19507,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19367,7 +19516,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -19380,7 +19529,7 @@ static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -19393,7 +19542,7 @@ static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19407,7 +19556,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kw result = (int) ((arg1)->m_x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19416,7 +19565,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -19429,7 +19578,7 @@ static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -19442,7 +19591,7 @@ static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19456,7 +19605,7 @@ static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kw result = (int) ((arg1)->m_y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19465,7 +19614,7 @@ static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -19478,7 +19627,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_keyCode = arg2; @@ -19491,7 +19640,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -19505,7 +19654,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObje result = (long) ((arg1)->m_keyCode); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -19514,7 +19663,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19527,7 +19676,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_controlDown = arg2; @@ -19540,7 +19689,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19563,7 +19712,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19576,7 +19725,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_shiftDown = arg2; @@ -19589,7 +19738,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19612,7 +19761,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19625,7 +19774,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_altDown = arg2; @@ -19638,7 +19787,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19661,7 +19810,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19674,7 +19823,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_metaDown = arg2; @@ -19687,7 +19836,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19710,7 +19859,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19723,7 +19872,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_scanCode = arg2; @@ -19736,7 +19885,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19759,7 +19908,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -19772,7 +19921,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rawCode = arg2; @@ -19785,7 +19934,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19799,7 +19948,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObje result = (unsigned int) ((arg1)->m_rawCode); { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19808,7 +19957,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -19821,7 +19970,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rawFlags = arg2; @@ -19834,7 +19983,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19848,7 +19997,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObj result = (unsigned int) ((arg1)->m_rawFlags); { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19864,7 +20013,7 @@ static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize const &arg1_defvalue = wxDefaultSize ; wxSize *arg1 = (wxSize *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -19885,7 +20034,7 @@ static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwarg } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -19904,7 +20053,7 @@ static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19924,7 +20073,7 @@ static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19934,7 +20083,7 @@ static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -19954,7 +20103,7 @@ static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -19964,7 +20113,7 @@ static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect arg2 ; PyObject * obj0 = 0 ; @@ -20001,7 +20150,7 @@ static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize arg2 ; PyObject * obj0 = 0 ; @@ -20038,7 +20187,7 @@ static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize *arg2 = (wxSize *) 0 ; PyObject * obj0 = 0 ; @@ -20062,7 +20211,7 @@ static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -20083,7 +20232,7 @@ static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect *arg2 = (wxRect *) 0 ; PyObject * obj0 = 0 ; @@ -20107,7 +20256,7 @@ static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect *result; PyObject * obj0 = 0 ; @@ -20135,7 +20284,7 @@ static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint const &arg1_defvalue = wxDefaultPosition ; wxPoint *arg1 = (wxPoint *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -20156,7 +20305,7 @@ static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwarg } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20175,7 +20324,7 @@ static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -20195,7 +20344,7 @@ static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -20205,7 +20354,7 @@ static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -20225,7 +20374,7 @@ static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -20235,7 +20384,7 @@ static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -20267,7 +20416,7 @@ static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -20306,7 +20455,7 @@ static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxPaintEvent *result; PyObject * obj0 = 0 ; @@ -20317,7 +20466,7 @@ static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20343,7 +20492,7 @@ static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxNcPaintEvent *result; PyObject * obj0 = 0 ; @@ -20354,7 +20503,7 @@ static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20380,7 +20529,7 @@ static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxDC *arg2 = (wxDC *) NULL ; wxEraseEvent *result; @@ -20393,7 +20542,7 @@ static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20416,7 +20565,7 @@ static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEraseEvent *arg1 = (wxEraseEvent *) 0 ; wxDC *result; PyObject * obj0 = 0 ; @@ -20451,7 +20600,7 @@ static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxFocusEvent *result; @@ -20464,13 +20613,13 @@ static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20489,7 +20638,7 @@ static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFocusEvent *arg1 = (wxFocusEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -20517,7 +20666,7 @@ static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFocusEvent *arg1 = (wxFocusEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -20553,7 +20702,7 @@ static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxChildFocusEvent *result; PyObject * obj0 = 0 ; @@ -20581,7 +20730,7 @@ static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -20616,7 +20765,7 @@ static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; bool arg2 = (bool) true ; int arg3 = (int) 0 ; @@ -20631,19 +20780,19 @@ static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -20662,7 +20811,7 @@ static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxActivateEvent *arg1 = (wxActivateEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20697,7 +20846,7 @@ static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxInitDialogEvent *result; PyObject * obj0 = 0 ; @@ -20708,7 +20857,7 @@ static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20734,7 +20883,7 @@ static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxMenu *arg3 = (wxMenu *) NULL ; @@ -20749,13 +20898,13 @@ static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20778,7 +20927,7 @@ static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20797,7 +20946,7 @@ static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20806,7 +20955,7 @@ static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20834,7 +20983,7 @@ static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -20869,7 +21018,7 @@ static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxCloseEvent *result; @@ -20882,13 +21031,13 @@ static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20907,7 +21056,7 @@ static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20920,7 +21069,7 @@ static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20938,7 +21087,7 @@ static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20966,7 +21115,7 @@ static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -20980,7 +21129,7 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20999,7 +21148,7 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21027,7 +21176,7 @@ static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21040,7 +21189,7 @@ static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21058,7 +21207,7 @@ static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21093,7 +21242,7 @@ static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; bool arg2 = (bool) false ; wxShowEvent *result; @@ -21106,13 +21255,13 @@ static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21131,7 +21280,7 @@ static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShowEvent *arg1 = (wxShowEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21144,7 +21293,7 @@ static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21162,7 +21311,7 @@ static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShowEvent *arg1 = (wxShowEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21197,7 +21346,7 @@ static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; bool arg2 = (bool) true ; wxIconizeEvent *result; @@ -21210,13 +21359,13 @@ static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21235,7 +21384,7 @@ static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21270,7 +21419,7 @@ static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxMaximizeEvent *result; PyObject * obj0 = 0 ; @@ -21281,7 +21430,7 @@ static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21307,7 +21456,7 @@ static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -21327,7 +21476,7 @@ static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, Py } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -21337,7 +21486,7 @@ static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -21356,7 +21505,7 @@ static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -21365,7 +21514,7 @@ static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *arg static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -21398,7 +21547,7 @@ static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxUpdateUIEvent *result; PyObject * obj0 = 0 ; @@ -21409,7 +21558,7 @@ static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21428,7 +21577,7 @@ static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21456,7 +21605,7 @@ static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21484,7 +21633,7 @@ static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -21516,7 +21665,7 @@ static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21544,7 +21693,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21572,7 +21721,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, P static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21600,7 +21749,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, P static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21613,7 +21762,7 @@ static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21631,7 +21780,7 @@ static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21644,7 +21793,7 @@ static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21662,7 +21811,7 @@ static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -21703,7 +21852,7 @@ static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21712,7 +21861,7 @@ static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -21730,7 +21879,7 @@ static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *arg static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -21745,7 +21894,7 @@ static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -21754,7 +21903,7 @@ static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *arg static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21782,7 +21931,7 @@ static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObj static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -21803,7 +21952,7 @@ static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIMode arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21812,12 +21961,12 @@ static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail; { - arg1 = (wxUpdateUIMode)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1); + wxUpdateUIEvent::SetMode(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21830,7 +21979,7 @@ static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIMode result; char *kwnames[] = { NULL @@ -21859,7 +22008,7 @@ static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSysColourChangedEvent *result; char *kwnames[] = { NULL @@ -21888,7 +22037,7 @@ static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxMouseCaptureChangedEvent *result; @@ -21901,7 +22050,7 @@ static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21924,7 +22073,7 @@ static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21959,7 +22108,7 @@ static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *ar return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplayChangedEvent *result; char *kwnames[] = { NULL @@ -21988,7 +22137,7 @@ static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxPaletteChangedEvent *result; PyObject * obj0 = 0 ; @@ -21999,7 +22148,7 @@ static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -22018,7 +22167,7 @@ static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -22047,7 +22196,7 @@ static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -22082,7 +22231,7 @@ static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxQueryNewPaletteEvent *result; PyObject * obj0 = 0 ; @@ -22093,7 +22242,7 @@ static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -22112,7 +22261,7 @@ static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22125,7 +22274,7 @@ static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22143,7 +22292,7 @@ static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObj static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22178,7 +22327,7 @@ static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *result; char *kwnames[] = { NULL @@ -22200,7 +22349,7 @@ static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22228,7 +22377,7 @@ static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *arg static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22241,7 +22390,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22259,7 +22408,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *arg static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22287,7 +22436,7 @@ static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *a static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22300,7 +22449,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22318,7 +22467,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject * static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22346,7 +22495,7 @@ static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22359,7 +22508,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22377,7 +22526,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22390,7 +22539,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22408,7 +22557,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, P static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -22436,7 +22585,7 @@ static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject * static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -22472,7 +22621,7 @@ static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowCreateEvent *result; PyObject * obj0 = 0 ; @@ -22500,7 +22649,7 @@ static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -22535,7 +22684,7 @@ static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowDestroyEvent *result; PyObject * obj0 = 0 ; @@ -22563,7 +22712,7 @@ static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -22598,7 +22747,7 @@ static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -22615,13 +22764,13 @@ static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22646,7 +22795,7 @@ static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -22675,7 +22824,7 @@ static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -22714,7 +22863,7 @@ static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *result; char *kwnames[] = { NULL @@ -22736,7 +22885,7 @@ static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -22750,7 +22899,7 @@ static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22769,7 +22918,7 @@ static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22797,7 +22946,7 @@ static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObj static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleMode arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22806,12 +22955,12 @@ static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail; { - arg1 = (wxIdleMode)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxIdleEvent::SetMode((wxIdleMode )arg1); + wxIdleEvent::SetMode(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -22824,7 +22973,7 @@ static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleMode result; char *kwnames[] = { NULL @@ -22846,7 +22995,7 @@ static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22881,7 +23030,7 @@ static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxEventType arg2 = (wxEventType) wxEVT_NULL ; wxPyEvent *result; @@ -22894,13 +23043,13 @@ static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22919,7 +23068,7 @@ static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22944,7 +23093,7 @@ static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -22972,7 +23121,7 @@ static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -23005,7 +23154,7 @@ static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPyCommandEvent *result; @@ -23018,13 +23167,13 @@ static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -23043,7 +23192,7 @@ static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23068,7 +23217,7 @@ static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -23096,7 +23245,7 @@ static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -23129,7 +23278,7 @@ static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDateTime *arg2 = 0 ; wxEventType arg3 ; @@ -23153,7 +23302,7 @@ static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (wxEventType)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -23171,7 +23320,7 @@ static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateEvent *arg1 = (wxDateEvent *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -23200,7 +23349,7 @@ static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateEvent *arg1 = (wxDateEvent *) 0 ; wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -23242,7 +23391,7 @@ static PyObject * DateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *result; char *kwnames[] = { NULL @@ -23264,7 +23413,7 @@ static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23289,7 +23438,7 @@ static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -23308,7 +23457,7 @@ static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObje arg2 = obj1; arg3 = obj2; { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -23326,7 +23475,7 @@ static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -23358,7 +23507,7 @@ static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -23399,7 +23548,7 @@ static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -23431,7 +23580,7 @@ static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -23472,7 +23621,7 @@ static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -23507,7 +23656,7 @@ static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -23548,7 +23697,7 @@ static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxAppTraits *result; PyObject * obj0 = 0 ; @@ -23574,7 +23723,7 @@ static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23599,7 +23748,7 @@ static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 = (bool) false ; bool result; @@ -23614,7 +23763,7 @@ static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -23635,7 +23784,7 @@ static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23660,7 +23809,7 @@ static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -23684,7 +23833,7 @@ static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23703,7 +23852,7 @@ static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23712,7 +23861,7 @@ static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23737,7 +23886,7 @@ static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23762,7 +23911,7 @@ static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23790,7 +23939,7 @@ static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23818,7 +23967,7 @@ static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23846,7 +23995,7 @@ static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxIdleEvent *arg3 = 0 ; @@ -23888,7 +24037,7 @@ static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23916,7 +24065,7 @@ static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -23945,7 +24094,7 @@ static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -23973,7 +24122,7 @@ static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23986,7 +24135,7 @@ static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24004,7 +24153,7 @@ static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24032,7 +24181,7 @@ static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -24045,7 +24194,7 @@ static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24063,7 +24212,7 @@ static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24091,7 +24240,7 @@ static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -24104,7 +24253,7 @@ static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24122,7 +24271,7 @@ static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24141,7 +24290,7 @@ static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24150,7 +24299,7 @@ static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -24163,7 +24312,7 @@ static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24181,7 +24330,7 @@ static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24200,7 +24349,7 @@ static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24209,7 +24358,7 @@ static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -24233,7 +24382,7 @@ static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject * static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -24248,7 +24397,7 @@ static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -24257,7 +24406,7 @@ static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, P static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -24272,7 +24421,7 @@ static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -24281,7 +24430,7 @@ static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *a static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -24296,7 +24445,7 @@ static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -24305,7 +24454,7 @@ static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -24333,7 +24482,7 @@ static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24342,7 +24491,7 @@ static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24360,7 +24509,7 @@ static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject * static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24369,7 +24518,7 @@ static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, P if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24387,7 +24536,7 @@ static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, P static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24396,7 +24545,7 @@ static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24414,7 +24563,7 @@ static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *a static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24423,7 +24572,7 @@ static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24441,7 +24590,7 @@ static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -24478,7 +24627,7 @@ static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24503,7 +24652,7 @@ static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -24512,13 +24661,13 @@ static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)PyApp_GetComCtl32Version(); + result = (int)wxPyApp_GetComCtl32Version(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24534,7 +24683,7 @@ static PyObject * PyApp_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -24555,7 +24704,7 @@ static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -24579,7 +24728,7 @@ static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -24603,7 +24752,7 @@ static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; bool arg2 = (bool) false ; bool result; @@ -24620,7 +24769,7 @@ static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -24641,7 +24790,7 @@ static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -24662,7 +24811,7 @@ static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -24697,7 +24846,7 @@ static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -24718,7 +24867,7 @@ static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *result; char *kwnames[] = { NULL @@ -24742,7 +24891,7 @@ static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *arg1 = (char *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24768,7 +24917,7 @@ static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *result; char *kwnames[] = { NULL @@ -24790,7 +24939,7 @@ static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *result; char *kwnames[] = { NULL @@ -24812,7 +24961,7 @@ static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24837,7 +24986,7 @@ static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24856,7 +25005,7 @@ static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24865,7 +25014,7 @@ static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; int arg2 = (int) 0 ; PyObject * obj0 = 0 ; @@ -24879,7 +25028,7 @@ static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -24898,7 +25047,7 @@ static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24926,7 +25075,7 @@ static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24954,7 +25103,7 @@ static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24982,7 +25131,7 @@ static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *result; char *kwnames[] = { NULL @@ -25004,7 +25153,7 @@ static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25036,7 +25185,7 @@ static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; wxEventLoopActivator *result; PyObject * obj0 = 0 ; @@ -25062,7 +25211,7 @@ static PyObject *_wrap_new_EventLoopActivator(PyObject *, PyObject *args, PyObje static PyObject *_wrap_delete_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoopActivator *arg1 = (wxEventLoopActivator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25094,7 +25243,7 @@ static PyObject * EventLoopActivator_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -25109,19 +25258,19 @@ static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25140,7 +25289,7 @@ static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25165,7 +25314,7 @@ static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObj static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int arg2 ; int arg3 ; @@ -25182,15 +25331,15 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -25208,7 +25357,7 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25227,7 +25376,7 @@ static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25236,7 +25385,7 @@ static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyO static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25255,7 +25404,7 @@ static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25264,7 +25413,7 @@ static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, P static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25283,7 +25432,7 @@ static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25299,7 +25448,7 @@ static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; wxAcceleratorTable *result; @@ -25335,7 +25484,7 @@ static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25360,7 +25509,7 @@ static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObj static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25401,7 +25550,7 @@ static int _wrap_NullAcceleratorTable_set(PyObject *) { static PyObject *_wrap_NullAcceleratorTable_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0); return pyobj; @@ -25409,7 +25558,7 @@ static PyObject *_wrap_NullAcceleratorTable_get(void) { static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxAcceleratorEntry *result; bool temp1 = false ; @@ -25453,7 +25602,7 @@ static int _wrap_PanelNameStr_set(PyObject *) { static PyObject *_wrap_PanelNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -25467,7 +25616,7 @@ static PyObject *_wrap_PanelNameStr_get(void) { static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *result; char *kwnames[] = { NULL @@ -25489,7 +25638,7 @@ static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25514,7 +25663,7 @@ static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObj static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxFont *arg2 = (wxFont *) 0 ; PyObject * obj0 = 0 ; @@ -25538,7 +25687,7 @@ static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -25559,7 +25708,7 @@ static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *arg2 = (wxColour *) 0 ; PyObject * obj0 = 0 ; @@ -25583,7 +25732,7 @@ static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -25604,7 +25753,7 @@ static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *arg2 = (wxColour *) 0 ; PyObject * obj0 = 0 ; @@ -25628,7 +25777,7 @@ static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -25656,7 +25805,7 @@ static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -25685,7 +25834,7 @@ static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -25703,7 +25852,7 @@ static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -25738,7 +25887,7 @@ static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -25761,7 +25910,7 @@ static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -25794,7 +25943,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25812,7 +25961,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -25848,7 +25997,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) false ; bool result; @@ -25863,7 +26012,7 @@ static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -25884,7 +26033,7 @@ static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25912,7 +26061,7 @@ static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25940,7 +26089,7 @@ static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25968,7 +26117,7 @@ static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -26009,7 +26158,7 @@ static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -26041,7 +26190,7 @@ static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -26082,7 +26231,7 @@ static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -26114,7 +26263,7 @@ static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowVariant arg2 ; PyObject * obj0 = 0 ; @@ -26127,12 +26276,12 @@ static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxWindowVariant)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetWindowVariant((wxWindowVariant )arg2); + (arg1)->SetWindowVariant(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26145,7 +26294,7 @@ static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowVariant result; PyObject * obj0 = 0 ; @@ -26171,7 +26320,7 @@ static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -26184,7 +26333,7 @@ static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26202,7 +26351,7 @@ static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26221,7 +26370,7 @@ static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26230,7 +26379,7 @@ static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -26245,7 +26394,7 @@ static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26254,7 +26403,7 @@ static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -26264,7 +26413,7 @@ static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -26275,7 +26424,7 @@ static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26284,7 +26433,7 @@ static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -26294,7 +26443,7 @@ static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -26305,7 +26454,7 @@ static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26314,7 +26463,7 @@ static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -26346,7 +26495,7 @@ static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26367,24 +26516,24 @@ static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -26403,7 +26552,7 @@ static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; int arg3 = (int) wxSIZE_AUTO ; @@ -26424,7 +26573,7 @@ static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -26443,7 +26592,7 @@ static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26458,11 +26607,11 @@ static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -26480,7 +26629,7 @@ static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; int arg3 = (int) wxSIZE_USE_EXISTING ; @@ -26501,7 +26650,7 @@ static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -26520,7 +26669,7 @@ static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26537,16 +26686,16 @@ static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -26565,7 +26714,7 @@ static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize const &arg2_defvalue = wxDefaultSize ; wxSize *arg2 = (wxSize *) &arg2_defvalue ; @@ -26600,7 +26749,7 @@ static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26625,7 +26774,7 @@ static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26650,7 +26799,7 @@ static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -26682,7 +26831,7 @@ static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26697,11 +26846,11 @@ static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -26719,7 +26868,7 @@ static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -26751,7 +26900,7 @@ static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -26771,7 +26920,7 @@ static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject * } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -26781,7 +26930,7 @@ static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26818,7 +26967,7 @@ static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26838,7 +26987,7 @@ static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26848,7 +26997,7 @@ static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26885,7 +27034,7 @@ static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -26905,7 +27054,7 @@ static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwar } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -26915,7 +27064,7 @@ static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26935,7 +27084,7 @@ static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26945,7 +27094,7 @@ static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26982,7 +27131,7 @@ static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -27002,7 +27151,7 @@ static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, Py } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -27012,7 +27161,7 @@ static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -27032,7 +27181,7 @@ static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -27042,7 +27191,7 @@ static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27062,7 +27211,7 @@ static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject * } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27072,7 +27221,7 @@ static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -27109,7 +27258,7 @@ static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27134,7 +27283,7 @@ static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_CacheBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27166,7 +27315,7 @@ static PyObject *_wrap_Window_CacheBestSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27186,7 +27335,7 @@ static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27196,7 +27345,7 @@ static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27216,7 +27365,7 @@ static PyObject *_wrap_Window_GetAdjustedBestSize(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; @@ -27226,7 +27375,7 @@ static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -27240,7 +27389,7 @@ static PyObject *_wrap_Window_Center(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; } } @@ -27259,7 +27408,7 @@ static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -27273,7 +27422,7 @@ static PyObject *_wrap_Window_CenterOnScreen(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; } } @@ -27292,7 +27441,7 @@ static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -27306,7 +27455,7 @@ static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -27325,7 +27474,7 @@ static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27350,7 +27499,7 @@ static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27375,7 +27524,7 @@ static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -27398,34 +27547,34 @@ static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -27444,7 +27593,7 @@ static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize const &arg3_defvalue = wxDefaultSize ; @@ -27496,7 +27645,7 @@ static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -27515,22 +27664,22 @@ static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -27549,7 +27698,7 @@ static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize const &arg3_defvalue = wxDefaultSize ; @@ -27591,7 +27740,7 @@ static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27611,7 +27760,7 @@ static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27621,7 +27770,7 @@ static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27641,7 +27790,7 @@ static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27651,7 +27800,7 @@ static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27683,7 +27832,7 @@ static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27715,7 +27864,7 @@ static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27734,7 +27883,7 @@ static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27743,7 +27892,7 @@ static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27762,7 +27911,7 @@ static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27771,7 +27920,7 @@ static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27790,7 +27939,7 @@ static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27799,7 +27948,7 @@ static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27818,7 +27967,7 @@ static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27827,7 +27976,7 @@ static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27859,7 +28008,7 @@ static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -27874,11 +28023,11 @@ static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -27896,7 +28045,7 @@ static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27916,7 +28065,7 @@ static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObjec } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27926,7 +28075,7 @@ static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -27963,7 +28112,7 @@ static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27983,7 +28132,7 @@ static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27993,7 +28142,7 @@ static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; bool result; @@ -28008,7 +28157,7 @@ static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28029,7 +28178,7 @@ static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28057,7 +28206,7 @@ static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; bool result; @@ -28072,7 +28221,7 @@ static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28093,7 +28242,7 @@ static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28121,7 +28270,7 @@ static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28149,7 +28298,7 @@ static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28177,7 +28326,7 @@ static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -28190,7 +28339,7 @@ static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28208,7 +28357,7 @@ static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -28227,7 +28376,7 @@ static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -28236,7 +28385,7 @@ static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -28250,7 +28399,7 @@ static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28270,7 +28419,7 @@ static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28298,7 +28447,7 @@ static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -28311,7 +28460,7 @@ static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28329,7 +28478,7 @@ static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -28348,7 +28497,7 @@ static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -28357,7 +28506,7 @@ static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -28371,7 +28520,7 @@ static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28390,7 +28539,7 @@ static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -28403,7 +28552,7 @@ static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28421,7 +28570,7 @@ static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28449,7 +28598,7 @@ static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -28474,7 +28623,7 @@ static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -28499,7 +28648,7 @@ static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -28524,7 +28673,7 @@ static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28552,7 +28701,7 @@ static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28580,7 +28729,7 @@ static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *arg static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28608,7 +28757,7 @@ static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxWindow *result; @@ -28640,7 +28789,7 @@ static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28669,7 +28818,7 @@ static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxNavigationKeyEvent::IsForward ; bool result; @@ -28684,7 +28833,7 @@ static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28705,7 +28854,7 @@ static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28734,7 +28883,7 @@ static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28763,7 +28912,7 @@ static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, P static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -28789,7 +28938,7 @@ static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28817,7 +28966,7 @@ static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28845,7 +28994,7 @@ static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28873,7 +29022,7 @@ static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -28905,7 +29054,7 @@ static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28934,7 +29083,7 @@ static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28963,7 +29112,7 @@ static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; wxWindow *result; @@ -28977,7 +29126,7 @@ static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28997,7 +29146,7 @@ static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxWindow *result; @@ -29041,7 +29190,7 @@ static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -29069,7 +29218,7 @@ static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -29098,7 +29247,7 @@ static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -29127,7 +29276,7 @@ static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) false ; wxEvtHandler *result; @@ -29142,7 +29291,7 @@ static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -29163,7 +29312,7 @@ static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; bool result; @@ -29195,7 +29344,7 @@ static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxValidator *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -29230,7 +29379,7 @@ static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxValidator *result; PyObject * obj0 = 0 ; @@ -29258,7 +29407,7 @@ static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29286,7 +29435,7 @@ static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29314,7 +29463,7 @@ static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, P static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29342,7 +29491,7 @@ static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29367,7 +29516,7 @@ static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxAcceleratorTable *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -29402,7 +29551,7 @@ static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxAcceleratorTable *result; PyObject * obj0 = 0 ; @@ -29428,7 +29577,7 @@ static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -29446,15 +29595,15 @@ static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -29474,7 +29623,7 @@ static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -29488,7 +29637,7 @@ static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -29508,7 +29657,7 @@ static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -29535,7 +29684,7 @@ static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *a } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -29545,7 +29694,7 @@ static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *a static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -29572,7 +29721,7 @@ static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *ar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -29582,7 +29731,7 @@ static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *ar static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -29609,7 +29758,7 @@ static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -29619,7 +29768,7 @@ static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -29646,7 +29795,7 @@ static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -29656,7 +29805,7 @@ static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -29683,7 +29832,7 @@ static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *ar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -29693,7 +29842,7 @@ static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *ar static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -29720,7 +29869,7 @@ static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *arg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -29730,7 +29879,7 @@ static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *arg static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -29745,11 +29894,11 @@ static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -29767,7 +29916,7 @@ static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29792,7 +29941,7 @@ static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29817,7 +29966,7 @@ static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -29842,7 +29991,7 @@ static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29870,7 +30019,7 @@ static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; wxRect *arg3 = (wxRect *) NULL ; @@ -29886,7 +30035,7 @@ static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -29909,7 +30058,7 @@ static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; bool arg3 = (bool) true ; @@ -29930,7 +30079,7 @@ static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject * } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -29949,7 +30098,7 @@ static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29974,7 +30123,7 @@ static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29999,7 +30148,7 @@ static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30024,7 +30173,7 @@ static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30049,7 +30198,7 @@ static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDC *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30084,7 +30233,7 @@ static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRegion *result; PyObject * obj0 = 0 ; @@ -30113,7 +30262,7 @@ static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -30133,7 +30282,7 @@ static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, Py } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -30143,7 +30292,7 @@ static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -30163,22 +30312,22 @@ static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -30199,7 +30348,7 @@ static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -30234,7 +30383,7 @@ static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -30269,7 +30418,7 @@ static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -30289,7 +30438,7 @@ static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, P } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -30299,7 +30448,7 @@ static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, P static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -30310,21 +30459,21 @@ static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxWindow::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -30334,7 +30483,7 @@ static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *ar static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -30369,7 +30518,7 @@ static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -30401,7 +30550,7 @@ static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -30436,7 +30585,7 @@ static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -30468,7 +30617,7 @@ static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -30488,7 +30637,7 @@ static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, Py } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -30498,7 +30647,7 @@ static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -30518,7 +30667,7 @@ static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, Py } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -30528,7 +30677,7 @@ static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30556,7 +30705,7 @@ static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *arg static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30584,7 +30733,7 @@ static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBackgroundStyle arg2 ; bool result; @@ -30598,12 +30747,12 @@ static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxBackgroundStyle)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2); + result = (bool)(arg1)->SetBackgroundStyle(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -30618,7 +30767,7 @@ static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBackgroundStyle result; PyObject * obj0 = 0 ; @@ -30644,7 +30793,7 @@ static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30672,7 +30821,7 @@ static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *arg static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor *arg2 = 0 ; bool result; @@ -30710,7 +30859,7 @@ static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor result; PyObject * obj0 = 0 ; @@ -30730,7 +30879,7 @@ static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kw } { wxCursor * resultptr; - resultptr = new wxCursor((wxCursor &)(result)); + resultptr = new wxCursor(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); } return resultobj; @@ -30740,7 +30889,7 @@ static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont *arg2 = 0 ; bool result; @@ -30778,7 +30927,7 @@ static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30813,7 +30962,7 @@ static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -30833,7 +30982,7 @@ static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwar } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -30843,7 +30992,7 @@ static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCaret *arg2 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; @@ -30872,7 +31021,7 @@ static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCaret *result; PyObject * obj0 = 0 ; @@ -30898,7 +31047,7 @@ static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30917,7 +31066,7 @@ static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30926,7 +31075,7 @@ static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30945,7 +31094,7 @@ static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30954,7 +31103,7 @@ static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -31007,7 +31156,7 @@ static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -31078,7 +31227,7 @@ static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -31131,7 +31280,7 @@ static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -31184,7 +31333,7 @@ static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -31211,7 +31360,7 @@ static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -31221,7 +31370,7 @@ static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -31248,7 +31397,7 @@ static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -31258,7 +31407,7 @@ static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31274,11 +31423,11 @@ static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -31296,7 +31445,7 @@ static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxHitTest result; @@ -31329,7 +31478,7 @@ static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; wxBorder result; @@ -31340,7 +31489,7 @@ static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31358,7 +31507,7 @@ static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBorder result; PyObject * obj0 = 0 ; @@ -31429,7 +31578,7 @@ static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) { static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 = (long) wxUPDATE_UI_NONE ; PyObject * obj0 = 0 ; @@ -31443,7 +31592,7 @@ static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -31462,7 +31611,7 @@ static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; int arg3 = (int) -1 ; @@ -31483,13 +31632,13 @@ static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -31510,7 +31659,7 @@ static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -31552,7 +31701,7 @@ static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -31571,7 +31720,7 @@ static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -31580,7 +31729,7 @@ static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -31593,7 +31742,7 @@ static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31611,7 +31760,7 @@ static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31636,7 +31785,7 @@ static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31650,7 +31799,7 @@ static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31670,7 +31819,7 @@ static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31691,24 +31840,24 @@ static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -31727,7 +31876,7 @@ static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31744,16 +31893,16 @@ static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -31772,7 +31921,7 @@ static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31786,7 +31935,7 @@ static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31797,7 +31946,7 @@ static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31806,7 +31955,7 @@ static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31820,7 +31969,7 @@ static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31831,7 +31980,7 @@ static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31840,7 +31989,7 @@ static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31854,7 +32003,7 @@ static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31865,7 +32014,7 @@ static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31874,7 +32023,7 @@ static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31891,11 +32040,11 @@ static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -31917,7 +32066,7 @@ static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31931,7 +32080,7 @@ static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31951,7 +32100,7 @@ static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31965,7 +32114,7 @@ static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31985,7 +32134,7 @@ static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32013,7 +32162,7 @@ static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32041,7 +32190,7 @@ static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32069,7 +32218,7 @@ static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32097,7 +32246,7 @@ static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -32138,7 +32287,7 @@ static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -32179,7 +32328,7 @@ static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -32211,7 +32360,7 @@ static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -32252,7 +32401,7 @@ static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxToolTip *arg2 = (wxToolTip *) 0 ; PyObject * obj0 = 0 ; @@ -32281,7 +32430,7 @@ static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxToolTip *result; PyObject * obj0 = 0 ; @@ -32309,7 +32458,7 @@ static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; @@ -32338,7 +32487,7 @@ static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPyDropTarget *result; PyObject * obj0 = 0 ; @@ -32364,7 +32513,7 @@ static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -32377,7 +32526,7 @@ static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32395,7 +32544,7 @@ static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ; PyObject * obj0 = 0 ; @@ -32424,7 +32573,7 @@ static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxLayoutConstraints *result; PyObject * obj0 = 0 ; @@ -32450,7 +32599,7 @@ static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -32463,7 +32612,7 @@ static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32481,7 +32630,7 @@ static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32509,7 +32658,7 @@ static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32537,7 +32686,7 @@ static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; bool arg3 = (bool) true ; @@ -32555,7 +32704,7 @@ static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -32574,7 +32723,7 @@ static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; bool arg3 = (bool) true ; @@ -32592,7 +32741,7 @@ static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObjec 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; } } @@ -32611,7 +32760,7 @@ static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -32639,7 +32788,7 @@ static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; @@ -32668,7 +32817,7 @@ static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -32696,7 +32845,7 @@ static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -32721,7 +32870,7 @@ static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32756,7 +32905,7 @@ static PyObject * Window_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32768,7 +32917,7 @@ static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { @@ -32793,7 +32942,7 @@ static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32840,7 +32989,7 @@ static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32887,7 +33036,7 @@ static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; unsigned long arg2 ; wxWindow *result; @@ -32901,7 +33050,7 @@ static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32921,7 +33070,7 @@ static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *result; char *kwnames[] = { NULL @@ -32943,7 +33092,7 @@ static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *result; char *kwnames[] = { NULL @@ -32965,7 +33114,7 @@ static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxValidator *result; PyObject * obj0 = 0 ; @@ -32993,7 +33142,7 @@ static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -33025,7 +33174,7 @@ static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -33053,7 +33202,7 @@ static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, Py static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -33081,7 +33230,7 @@ static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -33109,7 +33258,7 @@ static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -33138,7 +33287,7 @@ static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -33162,7 +33311,7 @@ static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) true ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33172,7 +33321,7 @@ static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -33198,7 +33347,7 @@ static PyObject * Validator_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyValidator *result; char *kwnames[] = { NULL @@ -33220,7 +33369,7 @@ static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyValidator *arg1 = (wxPyValidator *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -33240,7 +33389,7 @@ static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -33272,7 +33421,7 @@ static int _wrap_DefaultValidator_set(PyObject *) { static PyObject *_wrap_DefaultValidator_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0); return pyobj; @@ -33280,7 +33429,7 @@ static PyObject *_wrap_DefaultValidator_get(void) { static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; long arg2 = (long) 0 ; @@ -33302,7 +33451,7 @@ static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -33330,7 +33479,7 @@ static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33353,7 +33502,7 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33370,13 +33519,13 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5); + result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33407,7 +33556,7 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *result; PyObject * obj0 = 0 ; @@ -33435,7 +33584,7 @@ static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33456,7 +33605,7 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33504,7 +33653,7 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33525,7 +33674,7 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33573,7 +33722,7 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33596,7 +33745,7 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33646,7 +33795,7 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -33678,7 +33827,7 @@ static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33703,7 +33852,7 @@ static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *arg3 = (wxMenuItem *) 0 ; @@ -33719,7 +33868,7 @@ static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); @@ -33741,7 +33890,7 @@ static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33766,11 +33915,11 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33787,13 +33936,13 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) } if (obj5) { { - arg6 = (wxItemKind)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6); + result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33824,7 +33973,7 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *result; @@ -33838,7 +33987,7 @@ static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33858,7 +34007,7 @@ static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33881,11 +34030,11 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33933,7 +34082,7 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33956,11 +34105,11 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34008,7 +34157,7 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -34033,11 +34182,11 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34087,7 +34236,7 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -34119,7 +34268,7 @@ static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34142,7 +34291,7 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34159,13 +34308,13 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5); + result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -34196,7 +34345,7 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *result; PyObject * obj0 = 0 ; @@ -34224,7 +34373,7 @@ static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34245,7 +34394,7 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34293,7 +34442,7 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34314,7 +34463,7 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34362,7 +34511,7 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34385,7 +34534,7 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34435,7 +34584,7 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxMenuItem *result; @@ -34449,7 +34598,7 @@ static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34469,7 +34618,7 @@ static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -34501,7 +34650,7 @@ static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34515,7 +34664,7 @@ static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34535,7 +34684,7 @@ static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; bool result; @@ -34567,7 +34716,7 @@ static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -34592,7 +34741,7 @@ static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34606,7 +34755,7 @@ static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34626,7 +34775,7 @@ static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; bool result; @@ -34658,7 +34807,7 @@ static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -34677,7 +34826,7 @@ static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -34686,7 +34835,7 @@ static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -34712,7 +34861,7 @@ static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; int result; @@ -34739,7 +34888,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -34756,7 +34905,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxMenuItem *result; @@ -34770,7 +34919,7 @@ static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34790,7 +34939,7 @@ static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *result; @@ -34804,7 +34953,7 @@ static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34824,7 +34973,7 @@ static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool arg3 ; @@ -34839,11 +34988,11 @@ static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34861,7 +35010,7 @@ static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34875,7 +35024,7 @@ static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34895,7 +35044,7 @@ static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool arg3 ; @@ -34910,11 +35059,11 @@ static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34932,7 +35081,7 @@ static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34946,7 +35095,7 @@ static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34966,7 +35115,7 @@ static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34982,7 +35131,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35013,7 +35162,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString result; @@ -35027,7 +35176,7 @@ static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35051,7 +35200,7 @@ static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -35067,7 +35216,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35098,7 +35247,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString result; @@ -35112,7 +35261,7 @@ static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35136,7 +35285,7 @@ static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -35177,7 +35326,7 @@ static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -35209,7 +35358,7 @@ static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -35238,7 +35387,7 @@ static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -35266,7 +35415,7 @@ static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -35295,7 +35444,7 @@ static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -35323,7 +35472,7 @@ static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; long result; PyObject * obj0 = 0 ; @@ -35342,7 +35491,7 @@ static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -35351,7 +35500,7 @@ static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) NULL ; PyObject * obj0 = 0 ; @@ -35382,7 +35531,7 @@ static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -35410,7 +35559,7 @@ static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ; PyObject * obj0 = 0 ; @@ -35439,7 +35588,7 @@ static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -35464,7 +35613,7 @@ static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -35492,7 +35641,7 @@ static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -35521,7 +35670,7 @@ static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -35556,7 +35705,7 @@ static PyObject * Menu_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 = (long) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -35567,7 +35716,7 @@ static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -35587,7 +35736,7 @@ static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; wxString *arg3 = 0 ; @@ -35635,7 +35784,7 @@ static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *arg3 = (wxMenu *) 0 ; @@ -35654,7 +35803,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -35689,7 +35838,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -35708,7 +35857,7 @@ static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -35717,7 +35866,7 @@ static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *result; @@ -35731,7 +35880,7 @@ static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35751,7 +35900,7 @@ static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *arg3 = (wxMenu *) 0 ; @@ -35770,7 +35919,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -35805,7 +35954,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *result; @@ -35819,7 +35968,7 @@ static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35839,7 +35988,7 @@ static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; bool arg3 ; @@ -35854,11 +36003,11 @@ static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -35876,7 +36025,7 @@ static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; bool result; @@ -35890,7 +36039,7 @@ static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35910,7 +36059,7 @@ static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -35926,7 +36075,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35957,7 +36106,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString result; @@ -35971,7 +36120,7 @@ static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35995,7 +36144,7 @@ static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -36030,7 +36179,7 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -36055,7 +36204,7 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxMenuItem *result; @@ -36069,7 +36218,7 @@ static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36089,7 +36238,7 @@ static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; int result; @@ -36116,7 +36265,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -36133,7 +36282,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool arg3 ; @@ -36148,11 +36297,11 @@ static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -36170,7 +36319,7 @@ static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool arg3 ; @@ -36185,11 +36334,11 @@ static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -36207,7 +36356,7 @@ static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool result; @@ -36221,7 +36370,7 @@ static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36241,7 +36390,7 @@ static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool result; @@ -36255,7 +36404,7 @@ static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36275,7 +36424,7 @@ static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -36291,7 +36440,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36322,7 +36471,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString result; @@ -36336,7 +36485,7 @@ static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36360,7 +36509,7 @@ static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -36376,7 +36525,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36407,7 +36556,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString result; @@ -36421,7 +36570,7 @@ static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36445,7 +36594,7 @@ static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -36473,7 +36622,7 @@ static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36501,7 +36650,7 @@ static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; PyObject * obj0 = 0 ; @@ -36530,7 +36679,7 @@ static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -36555,7 +36704,7 @@ static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -36564,12 +36713,12 @@ static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - MenuBar_SetAutoWindowMenu(arg1); + wxMenuBar_SetAutoWindowMenu(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -36582,7 +36731,7 @@ static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyO static PyObject *_wrap_MenuBar_GetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -36591,7 +36740,7 @@ static PyObject *_wrap_MenuBar_GetAutoWindowMenu(PyObject *, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuBar_GetAutoWindowMenu",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)MenuBar_GetAutoWindowMenu(); + result = (bool)wxMenuBar_GetAutoWindowMenu(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -36613,7 +36762,7 @@ static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) NULL ; int arg2 = (int) wxID_ANY ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -36642,7 +36791,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -36662,7 +36811,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -36672,7 +36821,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6); + result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -36703,7 +36852,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -36731,7 +36880,7 @@ static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -36760,7 +36909,7 @@ static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -36773,7 +36922,7 @@ static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36791,7 +36940,7 @@ static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -36810,7 +36959,7 @@ static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -36819,7 +36968,7 @@ static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36847,7 +36996,7 @@ static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -36888,7 +37037,7 @@ static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -36920,7 +37069,7 @@ static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -36955,7 +37104,7 @@ static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -36999,7 +37148,7 @@ static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyO static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxItemKind result; PyObject * obj0 = 0 ; @@ -37025,7 +37174,7 @@ static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxItemKind arg2 ; PyObject * obj0 = 0 ; @@ -37038,12 +37187,12 @@ static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxItemKind)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetKind((wxItemKind )arg2); + (arg1)->SetKind(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -37056,7 +37205,7 @@ static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -37069,7 +37218,7 @@ static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -37087,7 +37236,7 @@ static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37115,7 +37264,7 @@ static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37143,7 +37292,7 @@ static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -37172,7 +37321,7 @@ static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -37200,7 +37349,7 @@ static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -37214,7 +37363,7 @@ static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -37233,7 +37382,7 @@ static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37261,7 +37410,7 @@ static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -37275,7 +37424,7 @@ static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -37294,7 +37443,7 @@ static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37322,7 +37471,7 @@ static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -37347,7 +37496,7 @@ static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -37388,7 +37537,7 @@ static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -37423,7 +37572,7 @@ static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxAcceleratorEntry *result; PyObject * obj0 = 0 ; @@ -37449,7 +37598,7 @@ static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; PyObject * obj0 = 0 ; @@ -37478,7 +37627,7 @@ static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -37513,7 +37662,7 @@ static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -37545,7 +37694,7 @@ static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -37580,7 +37729,7 @@ static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -37600,7 +37749,7 @@ static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kw } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -37610,7 +37759,7 @@ static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -37642,7 +37791,7 @@ static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -37662,7 +37811,7 @@ static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -37672,7 +37821,7 @@ static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -37704,7 +37853,7 @@ static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -37724,7 +37873,7 @@ static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -37734,7 +37883,7 @@ static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -37782,7 +37931,7 @@ static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -37817,7 +37966,7 @@ static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -37849,7 +37998,7 @@ static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -37862,7 +38011,7 @@ static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -37880,7 +38029,7 @@ static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -37899,7 +38048,7 @@ static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -37908,7 +38057,7 @@ static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -37917,13 +38066,13 @@ static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)MenuItem_GetDefaultMarginWidth(); + result = (int)wxMenuItem_GetDefaultMarginWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -37932,7 +38081,7 @@ static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37960,7 +38109,7 @@ static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -37974,7 +38123,7 @@ static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -37993,7 +38142,7 @@ static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -38031,7 +38180,7 @@ static int _wrap_ControlNameStr_set(PyObject *) { static PyObject *_wrap_ControlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -38045,7 +38194,7 @@ static PyObject *_wrap_ControlNameStr_get(void) { static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -38077,7 +38226,7 @@ static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -38095,7 +38244,7 @@ static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -38140,7 +38289,7 @@ static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *result; char *kwnames[] = { NULL @@ -38163,7 +38312,7 @@ static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -38199,7 +38348,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -38217,7 +38366,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -38263,7 +38412,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxCommandEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -38298,7 +38447,7 @@ static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -38330,7 +38479,7 @@ static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -38371,7 +38520,7 @@ static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -38382,21 +38531,21 @@ static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxControl::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -38413,7 +38562,7 @@ static PyObject * Control_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; PyObject *arg3 = (PyObject *) NULL ; @@ -38445,7 +38594,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -38462,7 +38611,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxArrayString *arg2 = 0 ; bool temp2 = false ; @@ -38513,7 +38662,7 @@ static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyO static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -38537,7 +38686,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -38551,7 +38700,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -38568,7 +38717,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -38593,7 +38742,7 @@ static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38606,7 +38755,7 @@ static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38624,7 +38773,7 @@ static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject *result; @@ -38638,7 +38787,7 @@ static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38656,7 +38805,7 @@ static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, P static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -38671,7 +38820,7 @@ static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } arg3 = obj2; @@ -38690,7 +38839,7 @@ static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, P static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -38709,7 +38858,7 @@ static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -38718,7 +38867,7 @@ static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -38746,7 +38895,7 @@ static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString result; @@ -38760,7 +38909,7 @@ static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38784,7 +38933,7 @@ static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxArrayString result; PyObject * obj0 = 0 ; @@ -38812,7 +38961,7 @@ static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -38828,7 +38977,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38859,7 +39008,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int result; @@ -38886,7 +39035,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -38903,7 +39052,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38916,7 +39065,7 @@ static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38934,7 +39083,7 @@ static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -38953,7 +39102,7 @@ static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -38962,7 +39111,7 @@ static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; bool result; @@ -39006,7 +39155,7 @@ static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *ar static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -39038,7 +39187,7 @@ static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *ar static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39051,7 +39200,7 @@ static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39083,7 +39232,7 @@ static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *result; char *kwnames[] = { NULL @@ -39105,7 +39254,7 @@ static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -39125,15 +39274,15 @@ static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { @@ -39154,7 +39303,7 @@ static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 ; @@ -39174,23 +39323,23 @@ static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -39211,7 +39360,7 @@ static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; int arg3 ; @@ -39231,15 +39380,15 @@ static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { @@ -39260,7 +39409,7 @@ static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -39285,7 +39434,7 @@ static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -39310,7 +39459,7 @@ static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39330,7 +39479,7 @@ static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -39340,7 +39489,7 @@ static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39360,7 +39509,7 @@ static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -39370,7 +39519,7 @@ static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxPoint arg2 ; wxSize arg3 ; @@ -39419,7 +39568,7 @@ static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39439,7 +39588,7 @@ static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -39449,7 +39598,7 @@ static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39469,7 +39618,7 @@ static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -39479,7 +39628,7 @@ static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; int arg3 ; @@ -39494,11 +39643,11 @@ static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -39516,7 +39665,7 @@ static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; int arg3 ; @@ -39531,11 +39680,11 @@ static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -39553,7 +39702,7 @@ static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -39585,7 +39734,7 @@ static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; float arg2 ; PyObject * obj0 = 0 ; @@ -39598,7 +39747,7 @@ static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (float)(SWIG_As_float(obj1)); + arg2 = static_cast(SWIG_As_float(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39616,7 +39765,7 @@ static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; float result; PyObject * obj0 = 0 ; @@ -39635,7 +39784,7 @@ static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_float((float)(result)); + resultobj = SWIG_From_float(static_cast(result)); } return resultobj; fail: @@ -39644,7 +39793,7 @@ static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -39664,7 +39813,7 @@ static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -39674,7 +39823,7 @@ static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39702,7 +39851,7 @@ static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39730,7 +39879,7 @@ static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39758,7 +39907,7 @@ static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39771,7 +39920,7 @@ static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39789,7 +39938,7 @@ static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39808,7 +39957,7 @@ static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39817,7 +39966,7 @@ static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39830,7 +39979,7 @@ static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39848,7 +39997,7 @@ static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39867,7 +40016,7 @@ static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39876,7 +40025,7 @@ static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39889,7 +40038,7 @@ static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39907,7 +40056,7 @@ static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39926,7 +40075,7 @@ static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39935,7 +40084,7 @@ static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -39963,7 +40112,7 @@ static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -39992,7 +40141,7 @@ static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -40020,7 +40169,7 @@ static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; @@ -40049,7 +40198,7 @@ static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -40078,7 +40227,7 @@ static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -40110,7 +40259,7 @@ static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -40123,7 +40272,7 @@ static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -40141,7 +40290,7 @@ static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -40169,7 +40318,7 @@ static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -40189,7 +40338,7 @@ static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -40199,7 +40348,7 @@ static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -40225,7 +40374,7 @@ static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_SetUserData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -40260,7 +40409,7 @@ static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -40288,7 +40437,7 @@ static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; int arg3 = (int) 0 ; @@ -40312,19 +40461,19 @@ static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { arg2 = obj1; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -40346,7 +40495,7 @@ static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -40370,25 +40519,25 @@ static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -40410,7 +40559,7 @@ static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; int arg3 = (int) 0 ; @@ -40434,19 +40583,19 @@ static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwarg arg2 = obj1; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -40468,7 +40617,7 @@ static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -40499,7 +40648,7 @@ static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -40530,7 +40679,7 @@ static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxSizerItem *result; @@ -40559,7 +40708,7 @@ static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxSize *arg3 = 0 ; @@ -40594,7 +40743,7 @@ static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSizerItem *arg2 = (wxSizerItem *) 0 ; wxSizerItem *result; @@ -40624,7 +40773,7 @@ static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; size_t arg2 ; wxSizerItem *arg3 = (wxSizerItem *) 0 ; @@ -40640,7 +40789,7 @@ static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); @@ -40660,7 +40809,7 @@ static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSizerItem *arg2 = (wxSizerItem *) 0 ; wxSizerItem *result; @@ -40690,7 +40839,7 @@ static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; int arg3 ; @@ -40709,19 +40858,19 @@ static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -40739,7 +40888,7 @@ static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -40771,7 +40920,7 @@ static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40791,7 +40940,7 @@ static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40801,7 +40950,7 @@ static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -40821,7 +40970,7 @@ static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *k } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -40831,7 +40980,7 @@ static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40851,7 +41000,7 @@ static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kw } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40861,7 +41010,7 @@ static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -40886,7 +41035,7 @@ static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40906,7 +41055,7 @@ static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40916,7 +41065,7 @@ static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -40941,7 +41090,7 @@ static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxSize result; @@ -40965,7 +41114,7 @@ static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40975,7 +41124,7 @@ static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -41004,7 +41153,7 @@ static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -41033,7 +41182,7 @@ static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -41062,7 +41211,7 @@ static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyO static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; bool arg2 = (bool) false ; PyObject * obj0 = 0 ; @@ -41076,7 +41225,7 @@ static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -41095,7 +41244,7 @@ static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -41120,7 +41269,7 @@ static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -41146,7 +41295,7 @@ static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool arg3 = (bool) true ; @@ -41166,13 +41315,13 @@ static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) arg2 = obj1; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -41193,7 +41342,7 @@ static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -41224,7 +41373,7 @@ static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -41237,7 +41386,7 @@ static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41262,7 +41411,7 @@ static PyObject * Sizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPySizer *result; char *kwnames[] = { NULL @@ -41284,7 +41433,7 @@ static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPySizer *arg1 = (wxPySizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -41322,7 +41471,7 @@ static PyObject * PySizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxHORIZONTAL ; wxBoxSizer *result; PyObject * obj0 = 0 ; @@ -41333,7 +41482,7 @@ static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -41352,7 +41501,7 @@ static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBoxSizer *arg1 = (wxBoxSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41371,7 +41520,7 @@ static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41380,7 +41529,7 @@ static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBoxSizer *arg1 = (wxBoxSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41393,7 +41542,7 @@ static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41418,7 +41567,7 @@ static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBox *arg1 = (wxStaticBox *) 0 ; int arg2 = (int) wxHORIZONTAL ; wxStaticBoxSizer *result; @@ -41433,7 +41582,7 @@ static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -41452,7 +41601,7 @@ static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ; wxStaticBox *result; PyObject * obj0 = 0 ; @@ -41487,7 +41636,7 @@ static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -41504,25 +41653,25 @@ static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -41541,7 +41690,7 @@ static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41554,7 +41703,7 @@ static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41572,7 +41721,7 @@ static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41585,7 +41734,7 @@ static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41603,7 +41752,7 @@ static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41616,7 +41765,7 @@ static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41634,7 +41783,7 @@ static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41647,7 +41796,7 @@ static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41665,7 +41814,7 @@ static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41684,7 +41833,7 @@ static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41693,7 +41842,7 @@ static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41712,7 +41861,7 @@ static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41721,7 +41870,7 @@ static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41740,7 +41889,7 @@ static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41749,7 +41898,7 @@ static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41768,7 +41917,7 @@ static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41784,7 +41933,7 @@ static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -41801,25 +41950,25 @@ static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -41838,7 +41987,7 @@ static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; int arg3 = (int) 0 ; @@ -41853,12 +42002,12 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -41877,7 +42026,7 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -41890,7 +42039,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41908,7 +42057,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *arg static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; int arg3 = (int) 0 ; @@ -41923,12 +42072,12 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -41947,7 +42096,7 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -41960,7 +42109,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41978,7 +42127,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *arg static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41991,7 +42140,7 @@ static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42009,7 +42158,7 @@ static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject * static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42028,7 +42177,7 @@ static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42037,7 +42186,7 @@ static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject * static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxFlexSizerGrowMode arg2 ; PyObject * obj0 = 0 ; @@ -42050,12 +42199,12 @@ static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFlexSizerGrowMode)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2); + (arg1)->SetNonFlexibleGrowMode(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -42068,7 +42217,7 @@ static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxFlexSizerGrowMode result; PyObject * obj0 = 0 ; @@ -42094,7 +42243,7 @@ static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -42131,7 +42280,7 @@ static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, P static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -42175,7 +42324,7 @@ static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *result; char *kwnames[] = { NULL @@ -42197,7 +42346,7 @@ static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -42226,7 +42375,7 @@ static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -42251,7 +42400,7 @@ static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -42280,7 +42429,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyO static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -42309,7 +42458,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObje static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -42338,7 +42487,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42366,7 +42515,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyO static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42394,7 +42543,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42422,7 +42571,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObje static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42450,7 +42599,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42485,7 +42634,7 @@ static PyObject * StdDialogButtonSizer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGBPosition *result; @@ -42498,13 +42647,13 @@ static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -42523,7 +42672,7 @@ static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42542,7 +42691,7 @@ static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42551,7 +42700,7 @@ static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42570,7 +42719,7 @@ static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42579,7 +42728,7 @@ static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42592,7 +42741,7 @@ static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42610,7 +42759,7 @@ static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42623,7 +42772,7 @@ static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42641,7 +42790,7 @@ static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -42676,7 +42825,7 @@ static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -42711,7 +42860,7 @@ static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -42727,13 +42876,13 @@ static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -42752,7 +42901,7 @@ static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -42785,7 +42934,7 @@ static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 1 ; wxGBSpan *result; @@ -42798,13 +42947,13 @@ static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -42823,7 +42972,7 @@ static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42842,7 +42991,7 @@ static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42851,7 +43000,7 @@ static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42870,7 +43019,7 @@ static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42879,7 +43028,7 @@ static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42892,7 +43041,7 @@ static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42910,7 +43059,7 @@ static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42923,7 +43072,7 @@ static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42941,7 +43090,7 @@ static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42976,7 +43125,7 @@ static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -43011,7 +43160,7 @@ static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 = (int) 1 ; int arg3 = (int) 1 ; @@ -43027,13 +43176,13 @@ static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -43052,7 +43201,7 @@ static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -43091,7 +43240,7 @@ static int _wrap_DefaultSpan_set(PyObject *) { static PyObject *_wrap_DefaultSpan_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0); return pyobj; @@ -43099,7 +43248,7 @@ static PyObject *_wrap_DefaultSpan_get(void) { static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *result; char *kwnames[] = { NULL @@ -43121,7 +43270,7 @@ static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -43153,11 +43302,11 @@ static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObjec if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -43178,7 +43327,7 @@ static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -43210,11 +43359,11 @@ static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -43235,7 +43384,7 @@ static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; wxGBPosition *arg3 = 0 ; @@ -43259,11 +43408,11 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -43275,11 +43424,11 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } if (obj6) { @@ -43300,7 +43449,7 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; @@ -43320,7 +43469,7 @@ static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject * } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43330,7 +43479,7 @@ static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSpan result; PyObject * obj0 = 0 ; @@ -43350,7 +43499,7 @@ static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -43360,7 +43509,7 @@ static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -43395,7 +43544,7 @@ static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -43430,7 +43579,7 @@ static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSizerItem *arg2 = 0 ; bool result; @@ -43468,7 +43617,7 @@ static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -43510,7 +43659,7 @@ static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyO static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; @@ -43530,7 +43679,7 @@ static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObjec } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43540,7 +43689,7 @@ static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGridBagSizer *result; PyObject * obj0 = 0 ; @@ -43566,7 +43715,7 @@ static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ; PyObject * obj0 = 0 ; @@ -43602,7 +43751,7 @@ static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGridBagSizer *result; @@ -43615,13 +43764,13 @@ static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -43640,7 +43789,7 @@ static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxGBPosition *arg3 = 0 ; @@ -43679,13 +43828,13 @@ static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kw } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -43707,7 +43856,7 @@ static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ; wxGBSizerItem *result; @@ -43737,7 +43886,7 @@ static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; int arg2 ; int arg3 ; @@ -43753,11 +43902,11 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -43769,7 +43918,7 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -43779,7 +43928,7 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -43799,7 +43948,7 @@ static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -43809,7 +43958,7 @@ static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -43841,7 +43990,7 @@ static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBPosition result; @@ -43862,7 +44011,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43872,7 +44021,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBPosition result; @@ -43893,7 +44042,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43903,7 +44052,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBPosition result; @@ -43914,7 +44063,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -43926,7 +44075,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -44021,7 +44170,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBPosition *arg3 = 0 ; @@ -44057,7 +44206,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBPosition *arg3 = 0 ; @@ -44093,7 +44242,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBPosition *arg3 = 0 ; @@ -44107,7 +44256,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44231,7 +44380,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSpan result; @@ -44252,7 +44401,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -44262,7 +44411,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSpan result; @@ -44283,7 +44432,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -44293,7 +44442,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBSpan result; @@ -44304,7 +44453,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44316,7 +44465,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -44411,7 +44560,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSpan *arg3 = 0 ; @@ -44447,7 +44596,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSpan *arg3 = 0 ; @@ -44483,7 +44632,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBSpan *arg3 = 0 ; @@ -44497,7 +44646,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44621,7 +44770,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSizerItem *result; @@ -44648,7 +44797,7 @@ static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSizerItem *result; @@ -44742,7 +44891,7 @@ static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) { static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSizerItem *result; @@ -44775,7 +44924,7 @@ static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *arg static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxPoint *arg2 = 0 ; wxGBSizerItem *result; @@ -44808,7 +44957,7 @@ static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ; wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ; @@ -44846,7 +44995,7 @@ static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *a static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -44901,7 +45050,7 @@ static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -44922,30 +45071,30 @@ static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxRelationship)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(3)) SWIG_fail; { - arg4 = (wxEdge)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6); + (arg1)->Set(arg2,arg3,arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -44958,7 +45107,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44976,7 +45125,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *a if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -44995,7 +45144,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *a static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -45013,7 +45162,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject * if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -45032,7 +45181,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -45050,7 +45199,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *ar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -45069,7 +45218,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *ar static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -45087,7 +45236,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *ar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -45106,7 +45255,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *ar static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxEdge arg3 ; @@ -45125,18 +45274,18 @@ static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (wxEdge)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SameAs(arg2,(wxEdge )arg3,arg4); + (arg1)->SameAs(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -45149,7 +45298,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *a static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxEdge arg3 ; @@ -45168,16 +45317,16 @@ static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (wxEdge)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4); + (arg1)->PercentOf(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -45190,7 +45339,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -45203,7 +45352,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -45221,7 +45370,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -45246,7 +45395,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyOb static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -45271,7 +45420,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *arg static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -45299,7 +45448,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyO static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge result; PyObject * obj0 = 0 ; @@ -45325,7 +45474,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge arg2 ; PyObject * obj0 = 0 ; @@ -45338,12 +45487,12 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEdge)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetEdge((wxEdge )arg2); + (arg1)->SetEdge(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -45356,7 +45505,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -45369,7 +45518,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -45387,7 +45536,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -45406,7 +45555,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45415,7 +45564,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -45428,7 +45577,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -45446,7 +45595,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -45465,7 +45614,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45474,7 +45623,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -45493,7 +45642,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45502,7 +45651,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObjec static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -45521,7 +45670,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45530,7 +45679,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObj static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -45558,7 +45707,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -45571,7 +45720,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -45589,7 +45738,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship result; PyObject * obj0 = 0 ; @@ -45615,7 +45764,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, Py static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship arg2 ; PyObject * obj0 = 0 ; @@ -45628,12 +45777,12 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxRelationship)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetRelationship((wxRelationship )arg2); + (arg1)->SetRelationship(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -45646,7 +45795,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, Py static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -45678,7 +45827,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObjec static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -45714,7 +45863,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -45732,7 +45881,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEdge)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -45741,13 +45890,13 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject * if (SWIG_arg_fail(4)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4); + result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45763,7 +45912,7 @@ static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject * return Py_BuildValue((char *)""); } static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45784,7 +45933,7 @@ static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, Py static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45805,7 +45954,7 @@ static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45826,7 +45975,7 @@ static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, P static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45847,7 +45996,7 @@ static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45868,7 +46017,7 @@ static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, P static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45889,7 +46038,7 @@ static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45910,7 +46059,7 @@ static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45931,7 +46080,7 @@ static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *result; char *kwnames[] = { NULL @@ -45953,7 +46102,7 @@ static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int *arg3 = (int *) 0 ; @@ -45991,7 +46140,7 @@ static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -46337,6 +46486,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ConvertToGreyscale", (PyCFunction) _wrap_Image_ConvertToGreyscale, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -47879,273 +48029,540 @@ static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { return (void *)((wxValidator *) ((wxPyValidator *) x)); } -static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEventLoopActivator[] = {{"_p_wxEventLoopActivator", 0, "wxEventLoopActivator *", 0, 0, 0, 0},{"_p_wxEventLoopActivator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEventLoop[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_buffer[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage_HSVValue[] = {{"_p_wxImage_HSVValue", 0, "wxImage_HSVValue *", 0, 0, 0, 0},{"_p_wxImage_HSVValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage_RGBValue[] = {{"_p_wxImage_RGBValue", 0, "wxImage_RGBValue *", 0, 0, 0, 0},{"_p_wxImage_RGBValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyImageHandler[] = {{"_p_wxPyImageHandler", 0, "wxPyImageHandler *", 0, 0, 0, 0},{"_p_wxPyImageHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|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_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxQuantize[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxLayoutConstraints, -_swigt__p_wxRealPoint, -_swigt__p_wxEventLoopActivator, -_swigt__p_wxSizerItem, -_swigt__p_wxGBSizerItem, -_swigt__p_wxScrollEvent, -_swigt__p_wxEventLoop, -_swigt__p_wxIndividualLayoutConstraint, -_swigt__p_wxSizer, -_swigt__p_wxBoxSizer, -_swigt__p_wxStaticBoxSizer, -_swigt__p_wxGridBagSizer, -_swigt__p_wxAcceleratorEntry, -_swigt__p_wxUpdateUIEvent, -_swigt__p_wxEvent, -_swigt__p_buffer, -_swigt__p_wxMenu, -_swigt__p_wxGridSizer, -_swigt__p_wxFlexGridSizer, -_swigt__p_wxInitDialogEvent, -_swigt__p_wxItemContainer, -_swigt__p_wxPaintEvent, -_swigt__p_wxNcPaintEvent, -_swigt__p_wxSysColourChangedEvent, -_swigt__p_wxMouseCaptureChangedEvent, -_swigt__p_wxDisplayChangedEvent, -_swigt__p_wxPaletteChangedEvent, -_swigt__p_wxControl, -_swigt__p_wxFont, -_swigt__p_wxMenuBarBase, -_swigt__p_wxSetCursorEvent, -_swigt__p_wxFSFile, -_swigt__p_wxCaret, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxRegion, -_swigt__p_wxPoint2D, -_swigt__p_wxImage_HSVValue, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxDC, -_swigt__p_wxPySizer, -_swigt__p_wxVisualAttributes, -_swigt__p_wxImage_RGBValue, -_swigt__p_wxNotifyEvent, -_swigt__p_wxPyEvent, -_swigt__p_wxPropagationDisabler, -_swigt__p_form_ops_t, -_swigt__p_wxAppTraits, -_swigt__p_wxArrayString, -_swigt__p_wxShowEvent, -_swigt__p_wxToolTip, -_swigt__p_wxMoveEvent, -_swigt__p_wxSizeEvent, -_swigt__p_wxActivateEvent, -_swigt__p_wxIconizeEvent, -_swigt__p_wxMaximizeEvent, -_swigt__p_wxQueryNewPaletteEvent, -_swigt__p_wxWindowCreateEvent, -_swigt__p_wxIdleEvent, -_swigt__p_wxDateEvent, -_swigt__p_wxMenuItem, -_swigt__p_wxStaticBox, -_swigt__p_long, -_swigt__p_wxDuplexMode, -_swigt__p_wxTIFFHandler, -_swigt__p_wxXPMHandler, -_swigt__p_wxPNMHandler, -_swigt__p_wxJPEGHandler, -_swigt__p_wxPCXHandler, -_swigt__p_wxGIFHandler, -_swigt__p_wxPNGHandler, -_swigt__p_wxANIHandler, -_swigt__p_wxPyImageHandler, -_swigt__p_wxMemoryFSHandler, -_swigt__p_wxZipFSHandler, -_swigt__p_wxInternetFSHandler, -_swigt__p_wxPyFileSystemHandler, -_swigt__p_wxEvtHandler, -_swigt__p_wxCURHandler, -_swigt__p_wxICOHandler, -_swigt__p_wxBMPHandler, -_swigt__p_wxImageHandler, -_swigt__p_wxFileSystemHandler, -_swigt__p_wxRect, -_swigt__p_wxButton, -_swigt__p_wxGBSpan, -_swigt__p_wxPropagateOnce, -_swigt__p_wxAcceleratorTable, -_swigt__p_wxStdDialogButtonSizer, -_swigt__p_char, -_swigt__p_wxGBPosition, -_swigt__p_wxImage, -_swigt__p_wxFrame, -_swigt__p_wxScrollWinEvent, -_swigt__p_wxPaperSize, -_swigt__p_wxImageHistogram, -_swigt__p_wxPoint, -_swigt__p_wxCursor, -_swigt__p_wxObject, -_swigt__p_wxInputStream, -_swigt__p_wxOutputStream, -_swigt__p_wxPyInputStream, -_swigt__p_wxDateTime, -_swigt__p_wxKeyEvent, -_swigt__p_wxNavigationKeyEvent, -_swigt__p_wxWindowDestroyEvent, -_swigt__p_unsigned_long, -_swigt__p_wxWindow, -_swigt__p_wxMenuBar, -_swigt__p_wxFileSystem, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_wxMenuEvent, -_swigt__p_wxContextMenuEvent, -_swigt__p_unsigned_char, -_swigt__p_wxMouseEvent, -_swigt__p_wxEraseEvent, -_swigt__p_wxCloseEvent, -_swigt__p_wxPyApp, -_swigt__p_wxCommandEvent, -_swigt__p_wxPyCommandEvent, -_swigt__p_wxPyDropTarget, -_swigt__p_wxQuantize, -_swigt__p_wxFocusEvent, -_swigt__p_wxChildFocusEvent, -_swigt__p_wxDropFilesEvent, -_swigt__p_wxControlWithItems, -_swigt__p_wxColour, -_swigt__p_wxValidator, -_swigt__p_wxPyValidator, -0 +static swig_type_info _swigt__p_buffer = {"_p_buffer", "buffer *", 0, 0, 0}; +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", "wxANIHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorEntry = {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, 0}; +static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAppTraits = {"_p_wxAppTraits", "wxAppTraits *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", "wxCURHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", "wxDateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEventLoop = {"_p_wxEventLoop", "wxEventLoop *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEventLoopActivator = {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", "wxFSFile *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystemHandler = {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBPosition = {"_p_wxGBPosition", "wxGBPosition *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSpan = {"_p_wxGBSpan", "wxGBSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", "wxGridSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", "wxICOHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", "wxImageHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHistogram = {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage_HSVValue = {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage_RGBValue = {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInternetFSHandler = {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBarBase = {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", "wxMenuItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint2D = {"_p_wxPoint2D", "wxPoint2D *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPropagateOnce = {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPropagationDisabler = {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", "wxPyApp *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", "wxPyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyFileSystemHandler = {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyInputStream = {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", "wxPySizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", "wxPyValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxQuantize = {"_p_wxQuantize", "wxQuantize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRealPoint = {"_p_wxRealPoint", "wxRealPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", "wxShowEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxZipFSHandler = {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; + +static swig_type_info *swig_type_initial[] = { + &_swigt__p_buffer, + &_swigt__p_char, + &_swigt__p_form_ops_t, + &_swigt__p_int, + &_swigt__p_long, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorEntry, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxAppTraits, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxButton, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCaret, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDateTime, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEventLoop, + &_swigt__p_wxEventLoopActivator, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFileSystemHandler, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFrame, + &_swigt__p_wxGBPosition, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGBSpan, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageHistogram, + &_swigt__p_wxImage_HSVValue, + &_swigt__p_wxImage_RGBValue, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxInputStream, + &_swigt__p_wxInternetFSHandler, + &_swigt__p_wxItemContainer, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryFSHandler, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuBarBase, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxOutputStream, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPoint2D, + &_swigt__p_wxPropagateOnce, + &_swigt__p_wxPropagationDisabler, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyDropTarget, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyFileSystemHandler, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyInputStream, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQuantize, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRealPoint, + &_swigt__p_wxRect, + &_swigt__p_wxRegion, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBox, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxToolTip, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVisualAttributes, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxXPMHandler, + &_swigt__p_wxZipFSHandler, + &_swigt__ptrdiff_t, + &_swigt__std__ptrdiff_t, + &_swigt__unsigned_int, +}; + +static swig_cast_info _swigc__p_buffer[] = { {&_swigt__p_buffer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxANIHandler[] = { {&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorEntry[] = { {&_swigt__p_wxAcceleratorEntry, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = { {&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxActivateEvent[] = { {&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAppTraits[] = { {&_swigt__p_wxAppTraits, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = { {&_swigt__p_wxBMPHandler, 0, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBoxSizer[] = { {&_swigt__p_wxBoxSizer, 0, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCURHandler[] = { {&_swigt__p_wxCURHandler, 0, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxCURHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = { {&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCloseEvent[] = { {&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = { {&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateEvent[] = { {&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = { {&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = { {&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = { {&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEventLoop[] = { {&_swigt__p_wxEventLoop, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEventLoopActivator[] = { {&_swigt__p_wxEventLoopActivator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFSFile[] = { {&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystemHandler[] = { {&_swigt__p_wxFileSystemHandler, 0, 0, 0}, {&_swigt__p_wxPyFileSystemHandler, _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxInternetFSHandler, _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxZipFSHandler, _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxMemoryFSHandler, _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFlexGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = { {&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBPosition[] = { {&_swigt__p_wxGBPosition, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSizerItem[] = { {&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSpan[] = { {&_swigt__p_wxGBSpan, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFHandler[] = { {&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridBagSizer[] = { {&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0}, {&_swigt__p_wxGridSizer, 0, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = { {&_swigt__p_wxICOHandler, 0, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxICOHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxICOHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconizeEvent[] = { {&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIdleEvent[] = { {&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = { {&_swigt__p_wxImageHandler, 0, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHistogram[] = { {&_swigt__p_wxImageHistogram, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage_HSVValue[] = { {&_swigt__p_wxImage_HSVValue, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage_RGBValue[] = { {&_swigt__p_wxImage_RGBValue, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = { {&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInitDialogEvent[] = { {&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInputStream[] = { {&_swigt__p_wxInputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInternetFSHandler[] = { {&_swigt__p_wxInternetFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJPEGHandler[] = { {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLayoutConstraints[] = { {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMaximizeEvent[] = { {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryFSHandler[] = { {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBarBase[] = { {&_swigt__p_wxMenuBarBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = { {&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuItem[] = { {&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = { {&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMoveEvent[] = { {&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = { {&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNcPaintEvent[] = { {&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPCXHandler[] = { {&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNGHandler[] = { {&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = { {&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaintEvent[] = { {&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = { {&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint2D[] = { {&_swigt__p_wxPoint2D, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPropagateOnce[] = { {&_swigt__p_wxPropagateOnce, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPropagationDisabler[] = { {&_swigt__p_wxPropagationDisabler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = { {&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = { {&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyEvent[] = { {&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyFileSystemHandler[] = { {&_swigt__p_wxPyFileSystemHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = { {&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyInputStream[] = { {&_swigt__p_wxPyInputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPySizer[] = { {&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = { {&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQuantize[] = { {&_swigt__p_wxQuantize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = { {&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRealPoint[] = { {&_swigt__p_wxRealPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollEvent[] = { {&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSetCursorEvent[] = { {&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = { {&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizeEvent[] = { {&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizer[] = { {&_swigt__p_wxSizer, 0, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxSizer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizerItem[] = { {&_swigt__p_wxSizerItem, 0, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBoxSizer[] = { {&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = { {&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = { {&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxUpdateUIEvent[] = { {&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowCreateEvent[] = { {&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = { {&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = { {&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxZipFSHandler[] = { {&_swigt__p_wxZipFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_buffer, + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_long, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorEntry, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxAppTraits, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxButton, + _swigc__p_wxCURHandler, + _swigc__p_wxCaret, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDateTime, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEventLoop, + _swigc__p_wxEventLoopActivator, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFileSystemHandler, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFrame, + _swigc__p_wxGBPosition, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGBSpan, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageHistogram, + _swigc__p_wxImage_HSVValue, + _swigc__p_wxImage_RGBValue, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxInputStream, + _swigc__p_wxInternetFSHandler, + _swigc__p_wxItemContainer, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryFSHandler, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuBarBase, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxOutputStream, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPoint2D, + _swigc__p_wxPropagateOnce, + _swigc__p_wxPropagationDisabler, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyDropTarget, + _swigc__p_wxPyEvent, + _swigc__p_wxPyFileSystemHandler, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyInputStream, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQuantize, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRealPoint, + _swigc__p_wxRect, + _swigc__p_wxRegion, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBox, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxToolTip, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVisualAttributes, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__p_wxZipFSHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -48157,6 +48574,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 @@ -48174,7 +48802,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; @@ -48184,13 +48812,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; @@ -48203,7 +48831,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -48216,7 +48844,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) { @@ -48229,72 +48857,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; } @@ -48303,11 +48948,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); @@ -48344,7 +48989,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, @@ -48356,7 +49001,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]); @@ -48369,14 +49014,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; + } + } } } } @@ -48386,69 +49035,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 @@ -48457,42 +49043,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); @@ -48505,2003 +49070,2003 @@ SWIGEXPORT(void) SWIG_init(void) { #endif { - PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND))); + PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int(static_cast(wxNOT_FOUND))); } { - PyDict_SetItemString(d,"VSCROLL", SWIG_From_int((int)(wxVSCROLL))); + PyDict_SetItemString(d,"VSCROLL", SWIG_From_int(static_cast(wxVSCROLL))); } { - PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)(wxHSCROLL))); + PyDict_SetItemString(d,"HSCROLL", SWIG_From_int(static_cast(wxHSCROLL))); } { - PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)(wxCAPTION))); + PyDict_SetItemString(d,"CAPTION", SWIG_From_int(static_cast(wxCAPTION))); } { - PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER))); + PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int(static_cast(wxDOUBLE_BORDER))); } { - PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER))); + PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int(static_cast(wxSUNKEN_BORDER))); } { - PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER))); + PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int(static_cast(wxRAISED_BORDER))); } { - PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)(wxBORDER))); + PyDict_SetItemString(d,"BORDER", SWIG_From_int(static_cast(wxBORDER))); } { - PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER))); + PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int(static_cast(wxSIMPLE_BORDER))); } { - PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER))); + PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int(static_cast(wxSTATIC_BORDER))); } { - PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW))); + PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int(static_cast(wxTRANSPARENT_WINDOW))); } { - PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER))); + PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int(static_cast(wxNO_BORDER))); } { - PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER))); + PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int(static_cast(wxDEFAULT_CONTROL_BORDER))); } { - PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE))); + PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int(static_cast(wxDEFAULT_STATUSBAR_STYLE))); } { - PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL))); + PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int(static_cast(wxTAB_TRAVERSAL))); } { - PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS))); + PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int(static_cast(wxWANTS_CHARS))); } { - PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW))); + PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int(static_cast(wxPOPUP_WINDOW))); } { - PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME))); + PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int(static_cast(wxCENTER_FRAME))); } { - PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN))); + PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int(static_cast(wxCENTRE_ON_SCREEN))); } { - PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN))); + PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int(static_cast(wxCENTER_ON_SCREEN))); } { - PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN))); + PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int(static_cast(wxCLIP_CHILDREN))); } { - PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS))); + PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int(static_cast(wxCLIP_SIBLINGS))); } { - PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB))); + PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int(static_cast(wxALWAYS_SHOW_SB))); } { - PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)(wxRETAINED))); + PyDict_SetItemString(d,"RETAINED", SWIG_From_int(static_cast(wxRETAINED))); } { - PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE))); + PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int(static_cast(wxBACKINGSTORE))); } { - PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)(wxCOLOURED))); + PyDict_SetItemString(d,"COLOURED", SWIG_From_int(static_cast(wxCOLOURED))); } { - PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH))); + PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int(static_cast(wxFIXED_LENGTH))); } { - PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB))); + PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int(static_cast(wxLB_NEEDED_SB))); } { - PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB))); + PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int(static_cast(wxLB_ALWAYS_SB))); } { - PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)(wxLB_SORT))); + PyDict_SetItemString(d,"LB_SORT", SWIG_From_int(static_cast(wxLB_SORT))); } { - PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE))); + PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int(static_cast(wxLB_SINGLE))); } { - PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE))); + PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int(static_cast(wxLB_MULTIPLE))); } { - PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED))); + PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int(static_cast(wxLB_EXTENDED))); } { - PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW))); + PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int(static_cast(wxLB_OWNERDRAW))); } { - PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL))); + PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int(static_cast(wxLB_HSCROLL))); } { - PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER))); + PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int(static_cast(wxPROCESS_ENTER))); } { - PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)(wxPASSWORD))); + PyDict_SetItemString(d,"PASSWORD", SWIG_From_int(static_cast(wxPASSWORD))); } { - PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE))); + PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int(static_cast(wxCB_SIMPLE))); } { - PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN))); + PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int(static_cast(wxCB_DROPDOWN))); } { - PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)(wxCB_SORT))); + PyDict_SetItemString(d,"CB_SORT", SWIG_From_int(static_cast(wxCB_SORT))); } { - PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY))); + PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int(static_cast(wxCB_READONLY))); } { - PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL))); + PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int(static_cast(wxRA_HORIZONTAL))); } { - PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL))); + PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int(static_cast(wxRA_VERTICAL))); } { - PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS))); + PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int(static_cast(wxRA_SPECIFY_ROWS))); } { - PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS))); + PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int(static_cast(wxRA_SPECIFY_COLS))); } { - PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX))); + PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int(static_cast(wxRA_USE_CHECKBOX))); } { - PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP))); + PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int(static_cast(wxRB_GROUP))); } { - PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE))); + PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int(static_cast(wxRB_SINGLE))); } { - PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL))); + PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int(static_cast(wxSB_HORIZONTAL))); } { - PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL))); + PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int(static_cast(wxSB_VERTICAL))); } { - PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX))); + PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int(static_cast(wxRB_USE_CHECKBOX))); } { - PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP))); + PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int(static_cast(wxST_SIZEGRIP))); } { - PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE))); + PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int(static_cast(wxST_NO_AUTORESIZE))); } { - PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE))); + PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int(static_cast(wxFLOOD_SURFACE))); } { - PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER))); + PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int(static_cast(wxFLOOD_BORDER))); } { - PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE))); + PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int(static_cast(wxODDEVEN_RULE))); } { - PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE))); + PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int(static_cast(wxWINDING_RULE))); } { - PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP))); + PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int(static_cast(wxTOOL_TOP))); } { - PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM))); + PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int(static_cast(wxTOOL_BOTTOM))); } { - PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT))); + PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int(static_cast(wxTOOL_LEFT))); } { - PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT))); + PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int(static_cast(wxTOOL_RIGHT))); } { - PyDict_SetItemString(d,"OK", SWIG_From_int((int)(wxOK))); + PyDict_SetItemString(d,"OK", SWIG_From_int(static_cast(wxOK))); } { - PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)(wxYES_NO))); + PyDict_SetItemString(d,"YES_NO", SWIG_From_int(static_cast(wxYES_NO))); } { - PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)(wxCANCEL))); + PyDict_SetItemString(d,"CANCEL", SWIG_From_int(static_cast(wxCANCEL))); } { - PyDict_SetItemString(d,"YES", SWIG_From_int((int)(wxYES))); + PyDict_SetItemString(d,"YES", SWIG_From_int(static_cast(wxYES))); } { - PyDict_SetItemString(d,"NO", SWIG_From_int((int)(wxNO))); + PyDict_SetItemString(d,"NO", SWIG_From_int(static_cast(wxNO))); } { - PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT))); + PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int(static_cast(wxNO_DEFAULT))); } { - PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT))); + PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int(static_cast(wxYES_DEFAULT))); } { - PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION))); + PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int(static_cast(wxICON_EXCLAMATION))); } { - PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND))); + PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int(static_cast(wxICON_HAND))); } { - PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION))); + PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int(static_cast(wxICON_QUESTION))); } { - PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION))); + PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int(static_cast(wxICON_INFORMATION))); } { - PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP))); + PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int(static_cast(wxICON_STOP))); } { - PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK))); + PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int(static_cast(wxICON_ASTERISK))); } { - PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK))); + PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int(static_cast(wxICON_MASK))); } { - PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING))); + PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int(static_cast(wxICON_WARNING))); } { - PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR))); + PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int(static_cast(wxICON_ERROR))); } { - PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)(wxFORWARD))); + PyDict_SetItemString(d,"FORWARD", SWIG_From_int(static_cast(wxFORWARD))); } { - PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)(wxBACKWARD))); + PyDict_SetItemString(d,"BACKWARD", SWIG_From_int(static_cast(wxBACKWARD))); } { - PyDict_SetItemString(d,"RESET", SWIG_From_int((int)(wxRESET))); + PyDict_SetItemString(d,"RESET", SWIG_From_int(static_cast(wxRESET))); } { - PyDict_SetItemString(d,"HELP", SWIG_From_int((int)(wxHELP))); + PyDict_SetItemString(d,"HELP", SWIG_From_int(static_cast(wxHELP))); } { - PyDict_SetItemString(d,"MORE", SWIG_From_int((int)(wxMORE))); + PyDict_SetItemString(d,"MORE", SWIG_From_int(static_cast(wxMORE))); } { - PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)(wxSETUP))); + PyDict_SetItemString(d,"SETUP", SWIG_From_int(static_cast(wxSETUP))); } { - PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH))); + PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int(static_cast(wxSIZE_AUTO_WIDTH))); } { - PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT))); + PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int(static_cast(wxSIZE_AUTO_HEIGHT))); } { - PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO))); + PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int(static_cast(wxSIZE_AUTO))); } { - PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING))); + PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int(static_cast(wxSIZE_USE_EXISTING))); } { - PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE))); + PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int(static_cast(wxSIZE_ALLOW_MINUS_ONE))); } { - PyDict_SetItemString(d,"SIZE_FORCE", SWIG_From_int((int)(wxSIZE_FORCE))); + PyDict_SetItemString(d,"SIZE_FORCE", SWIG_From_int(static_cast(wxSIZE_FORCE))); } { - PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT))); + PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int(static_cast(wxPORTRAIT))); } { - PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE))); + PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int(static_cast(wxLANDSCAPE))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH))); + PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int(static_cast(wxPRINT_QUALITY_HIGH))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM))); + PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int(static_cast(wxPRINT_QUALITY_MEDIUM))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW))); + PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int(static_cast(wxPRINT_QUALITY_LOW))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT))); + PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int(static_cast(wxPRINT_QUALITY_DRAFT))); } { - PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)(wxID_ANY))); + PyDict_SetItemString(d,"ID_ANY", SWIG_From_int(static_cast(wxID_ANY))); } { - PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR))); + PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int(static_cast(wxID_SEPARATOR))); } { - PyDict_SetItemString(d,"ID_NONE", SWIG_From_int((int)(wxID_NONE))); + PyDict_SetItemString(d,"ID_NONE", SWIG_From_int(static_cast(wxID_NONE))); } { - PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST))); + PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int(static_cast(wxID_LOWEST))); } { - PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN))); + PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int(static_cast(wxID_OPEN))); } { - PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE))); + PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int(static_cast(wxID_CLOSE))); } { - PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)(wxID_NEW))); + PyDict_SetItemString(d,"ID_NEW", SWIG_From_int(static_cast(wxID_NEW))); } { - PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE))); + PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int(static_cast(wxID_SAVE))); } { - PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS))); + PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int(static_cast(wxID_SAVEAS))); } { - PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT))); + PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int(static_cast(wxID_REVERT))); } { - PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT))); + PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int(static_cast(wxID_EXIT))); } { - PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO))); + PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int(static_cast(wxID_UNDO))); } { - PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)(wxID_REDO))); + PyDict_SetItemString(d,"ID_REDO", SWIG_From_int(static_cast(wxID_REDO))); } { - PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)(wxID_HELP))); + PyDict_SetItemString(d,"ID_HELP", SWIG_From_int(static_cast(wxID_HELP))); } { - PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT))); + PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int(static_cast(wxID_PRINT))); } { - PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP))); + PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int(static_cast(wxID_PRINT_SETUP))); } { - PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW))); + PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int(static_cast(wxID_PREVIEW))); } { - PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT))); + PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int(static_cast(wxID_ABOUT))); } { - PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS))); + PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int(static_cast(wxID_HELP_CONTENTS))); } { - PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS))); + PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int(static_cast(wxID_HELP_COMMANDS))); } { - PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES))); + PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int(static_cast(wxID_HELP_PROCEDURES))); } { - PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT))); + PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int(static_cast(wxID_HELP_CONTEXT))); } { - PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL))); + PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int(static_cast(wxID_CLOSE_ALL))); } { - PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES))); + PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int(static_cast(wxID_PREFERENCES))); } { - PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)(wxID_CUT))); + PyDict_SetItemString(d,"ID_CUT", SWIG_From_int(static_cast(wxID_CUT))); } { - PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)(wxID_COPY))); + PyDict_SetItemString(d,"ID_COPY", SWIG_From_int(static_cast(wxID_COPY))); } { - PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE))); + PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int(static_cast(wxID_PASTE))); } { - PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR))); + PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int(static_cast(wxID_CLEAR))); } { - PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)(wxID_FIND))); + PyDict_SetItemString(d,"ID_FIND", SWIG_From_int(static_cast(wxID_FIND))); } { - PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE))); + PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int(static_cast(wxID_DUPLICATE))); } { - PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL))); + PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int(static_cast(wxID_SELECTALL))); } { - PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE))); + PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int(static_cast(wxID_DELETE))); } { - PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE))); + PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int(static_cast(wxID_REPLACE))); } { - PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL))); + PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int(static_cast(wxID_REPLACE_ALL))); } { - PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES))); + PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int(static_cast(wxID_PROPERTIES))); } { - PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS))); + PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int(static_cast(wxID_VIEW_DETAILS))); } { - PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS))); + PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int(static_cast(wxID_VIEW_LARGEICONS))); } { - PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS))); + PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int(static_cast(wxID_VIEW_SMALLICONS))); } { - PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST))); + PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int(static_cast(wxID_VIEW_LIST))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE))); + PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int(static_cast(wxID_VIEW_SORTDATE))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME))); + PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int(static_cast(wxID_VIEW_SORTNAME))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE))); + PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int(static_cast(wxID_VIEW_SORTSIZE))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE))); + PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int(static_cast(wxID_VIEW_SORTTYPE))); } { - PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1))); + PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int(static_cast(wxID_FILE1))); } { - PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2))); + PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int(static_cast(wxID_FILE2))); } { - PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3))); + PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int(static_cast(wxID_FILE3))); } { - PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4))); + PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int(static_cast(wxID_FILE4))); } { - PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5))); + PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int(static_cast(wxID_FILE5))); } { - PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6))); + PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int(static_cast(wxID_FILE6))); } { - PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7))); + PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int(static_cast(wxID_FILE7))); } { - PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8))); + PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int(static_cast(wxID_FILE8))); } { - PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9))); + PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int(static_cast(wxID_FILE9))); } { - PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)(wxID_OK))); + PyDict_SetItemString(d,"ID_OK", SWIG_From_int(static_cast(wxID_OK))); } { - PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL))); + PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int(static_cast(wxID_CANCEL))); } { - PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY))); + PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int(static_cast(wxID_APPLY))); } { - PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)(wxID_YES))); + PyDict_SetItemString(d,"ID_YES", SWIG_From_int(static_cast(wxID_YES))); } { - PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)(wxID_NO))); + PyDict_SetItemString(d,"ID_NO", SWIG_From_int(static_cast(wxID_NO))); } { - PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC))); + PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int(static_cast(wxID_STATIC))); } { - PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD))); + PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int(static_cast(wxID_FORWARD))); } { - PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD))); + PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int(static_cast(wxID_BACKWARD))); } { - PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT))); + PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int(static_cast(wxID_DEFAULT))); } { - PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)(wxID_MORE))); + PyDict_SetItemString(d,"ID_MORE", SWIG_From_int(static_cast(wxID_MORE))); } { - PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP))); + PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int(static_cast(wxID_SETUP))); } { - PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)(wxID_RESET))); + PyDict_SetItemString(d,"ID_RESET", SWIG_From_int(static_cast(wxID_RESET))); } { - PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP))); + PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int(static_cast(wxID_CONTEXT_HELP))); } { - PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL))); + PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int(static_cast(wxID_YESTOALL))); } { - PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL))); + PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int(static_cast(wxID_NOTOALL))); } { - PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT))); + PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int(static_cast(wxID_ABORT))); } { - PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY))); + PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int(static_cast(wxID_RETRY))); } { - PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE))); + PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int(static_cast(wxID_IGNORE))); } { - PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)(wxID_ADD))); + PyDict_SetItemString(d,"ID_ADD", SWIG_From_int(static_cast(wxID_ADD))); } { - PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE))); + PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int(static_cast(wxID_REMOVE))); } { - PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)(wxID_UP))); + PyDict_SetItemString(d,"ID_UP", SWIG_From_int(static_cast(wxID_UP))); } { - PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN))); + PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int(static_cast(wxID_DOWN))); } { - PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)(wxID_HOME))); + PyDict_SetItemString(d,"ID_HOME", SWIG_From_int(static_cast(wxID_HOME))); } { - PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH))); + PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int(static_cast(wxID_REFRESH))); } { - PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)(wxID_STOP))); + PyDict_SetItemString(d,"ID_STOP", SWIG_From_int(static_cast(wxID_STOP))); } { - PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX))); + PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int(static_cast(wxID_INDEX))); } { - PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD))); + PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int(static_cast(wxID_BOLD))); } { - PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC))); + PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int(static_cast(wxID_ITALIC))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER))); + PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int(static_cast(wxID_JUSTIFY_CENTER))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL))); + PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int(static_cast(wxID_JUSTIFY_FILL))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT))); + PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int(static_cast(wxID_JUSTIFY_RIGHT))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT))); + PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int(static_cast(wxID_JUSTIFY_LEFT))); } { - PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE))); + PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int(static_cast(wxID_UNDERLINE))); } { - PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT))); + PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int(static_cast(wxID_INDENT))); } { - PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT))); + PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int(static_cast(wxID_UNINDENT))); } { - PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100))); + PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int(static_cast(wxID_ZOOM_100))); } { - PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT))); + PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int(static_cast(wxID_ZOOM_FIT))); } { - PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN))); + PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int(static_cast(wxID_ZOOM_IN))); } { - PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT))); + PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int(static_cast(wxID_ZOOM_OUT))); } { - PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE))); + PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int(static_cast(wxID_UNDELETE))); } { - PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED))); + PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int(static_cast(wxID_REVERT_TO_SAVED))); } { - PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST))); + PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int(static_cast(wxID_HIGHEST))); } { - PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)(wxOPEN))); + PyDict_SetItemString(d,"OPEN", SWIG_From_int(static_cast(wxOPEN))); } { - PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)(wxSAVE))); + PyDict_SetItemString(d,"SAVE", SWIG_From_int(static_cast(wxSAVE))); } { - PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY))); + PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int(static_cast(wxHIDE_READONLY))); } { - PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT))); + PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int(static_cast(wxOVERWRITE_PROMPT))); } { - PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST))); + PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int(static_cast(wxFILE_MUST_EXIST))); } { - PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE))); + PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int(static_cast(wxMULTIPLE))); } { - PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR))); + PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int(static_cast(wxCHANGE_DIR))); } { - PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT))); + PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int(static_cast(wxACCEL_ALT))); } { - PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL))); + PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int(static_cast(wxACCEL_CTRL))); } { - PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT))); + PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int(static_cast(wxACCEL_SHIFT))); } { - PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL))); + PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int(static_cast(wxACCEL_NORMAL))); } { - PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE))); + PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int(static_cast(wxPD_AUTO_HIDE))); } { - PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL))); + PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int(static_cast(wxPD_APP_MODAL))); } { - PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT))); + PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int(static_cast(wxPD_CAN_ABORT))); } { - PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME))); + PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int(static_cast(wxPD_ELAPSED_TIME))); } { - PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME))); + PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int(static_cast(wxPD_ESTIMATED_TIME))); } { - PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME))); + PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int(static_cast(wxPD_REMAINING_TIME))); } { - PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH))); + PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int(static_cast(wxPD_SMOOTH))); } { - PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP))); + PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int(static_cast(wxPD_CAN_SKIP))); } { - PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON))); + PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int(static_cast(wxDD_NEW_DIR_BUTTON))); } { - PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE))); + PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int(static_cast(wxDD_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF))); + PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int(static_cast(wxMENU_TEAROFF))); } { - PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE))); + PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int(static_cast(wxMB_DOCKABLE))); } { - PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE))); + PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast(wxNO_FULL_REPAINT_ON_RESIZE))); } { - PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE))); + PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast(wxFULL_REPAINT_ON_RESIZE))); } { - PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL))); + PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int(static_cast(wxLI_HORIZONTAL))); } { - PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL))); + PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int(static_cast(wxLI_VERTICAL))); } { - PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY))); + PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int(static_cast(wxWS_EX_VALIDATE_RECURSIVELY))); } { - PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS))); + PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int(static_cast(wxWS_EX_BLOCK_EVENTS))); } { - PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT))); + PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int(static_cast(wxWS_EX_TRANSIENT))); } { - PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND))); + PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int(static_cast(wxWS_EX_THEMED_BACKGROUND))); } { - PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE))); + PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int(static_cast(wxWS_EX_PROCESS_IDLE))); } { - PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES))); + PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int(static_cast(wxWS_EX_PROCESS_UI_UPDATES))); } { - PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT))); + PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int(static_cast(wxMM_TEXT))); } { - PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC))); + PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int(static_cast(wxMM_LOMETRIC))); } { - PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC))); + PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int(static_cast(wxMM_HIMETRIC))); } { - PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH))); + PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int(static_cast(wxMM_LOENGLISH))); } { - PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH))); + PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int(static_cast(wxMM_HIENGLISH))); } { - PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS))); + PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int(static_cast(wxMM_TWIPS))); } { - PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC))); + PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int(static_cast(wxMM_ISOTROPIC))); } { - PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC))); + PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int(static_cast(wxMM_ANISOTROPIC))); } { - PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS))); + PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int(static_cast(wxMM_POINTS))); } { - PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC))); + PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int(static_cast(wxMM_METRIC))); } { - PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)(wxCENTRE))); + PyDict_SetItemString(d,"CENTRE", SWIG_From_int(static_cast(wxCENTRE))); } { - PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)(wxCENTER))); + PyDict_SetItemString(d,"CENTER", SWIG_From_int(static_cast(wxCENTER))); } { - PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL))); + PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int(static_cast(wxHORIZONTAL))); } { - PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)(wxVERTICAL))); + PyDict_SetItemString(d,"VERTICAL", SWIG_From_int(static_cast(wxVERTICAL))); } { - PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)(wxBOTH))); + PyDict_SetItemString(d,"BOTH", SWIG_From_int(static_cast(wxBOTH))); } { - PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)(wxLEFT))); + PyDict_SetItemString(d,"LEFT", SWIG_From_int(static_cast(wxLEFT))); } { - PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)(wxRIGHT))); + PyDict_SetItemString(d,"RIGHT", SWIG_From_int(static_cast(wxRIGHT))); } { - PyDict_SetItemString(d,"UP", SWIG_From_int((int)(wxUP))); + PyDict_SetItemString(d,"UP", SWIG_From_int(static_cast(wxUP))); } { - PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)(wxDOWN))); + PyDict_SetItemString(d,"DOWN", SWIG_From_int(static_cast(wxDOWN))); } { - PyDict_SetItemString(d,"TOP", SWIG_From_int((int)(wxTOP))); + PyDict_SetItemString(d,"TOP", SWIG_From_int(static_cast(wxTOP))); } { - PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)(wxBOTTOM))); + PyDict_SetItemString(d,"BOTTOM", SWIG_From_int(static_cast(wxBOTTOM))); } { - PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)(wxNORTH))); + PyDict_SetItemString(d,"NORTH", SWIG_From_int(static_cast(wxNORTH))); } { - PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)(wxSOUTH))); + PyDict_SetItemString(d,"SOUTH", SWIG_From_int(static_cast(wxSOUTH))); } { - PyDict_SetItemString(d,"WEST", SWIG_From_int((int)(wxWEST))); + PyDict_SetItemString(d,"WEST", SWIG_From_int(static_cast(wxWEST))); } { - PyDict_SetItemString(d,"EAST", SWIG_From_int((int)(wxEAST))); + PyDict_SetItemString(d,"EAST", SWIG_From_int(static_cast(wxEAST))); } { - PyDict_SetItemString(d,"ALL", SWIG_From_int((int)(wxALL))); + PyDict_SetItemString(d,"ALL", SWIG_From_int(static_cast(wxALL))); } { - PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT))); + PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int(static_cast(wxALIGN_NOT))); } { - PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL))); + PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int(static_cast(wxALIGN_CENTER_HORIZONTAL))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL))); + PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int(static_cast(wxALIGN_CENTRE_HORIZONTAL))); } { - PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT))); + PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int(static_cast(wxALIGN_LEFT))); } { - PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP))); + PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int(static_cast(wxALIGN_TOP))); } { - PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT))); + PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int(static_cast(wxALIGN_RIGHT))); } { - PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM))); + PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int(static_cast(wxALIGN_BOTTOM))); } { - PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL))); + PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int(static_cast(wxALIGN_CENTER_VERTICAL))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL))); + PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int(static_cast(wxALIGN_CENTRE_VERTICAL))); } { - PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER))); + PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int(static_cast(wxALIGN_CENTER))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE))); + PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int(static_cast(wxALIGN_CENTRE))); } { - PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK))); + PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int(static_cast(wxALIGN_MASK))); } { - PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT))); + PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int(static_cast(wxSTRETCH_NOT))); } { - PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)(wxSHRINK))); + PyDict_SetItemString(d,"SHRINK", SWIG_From_int(static_cast(wxSHRINK))); } { - PyDict_SetItemString(d,"GROW", SWIG_From_int((int)(wxGROW))); + PyDict_SetItemString(d,"GROW", SWIG_From_int(static_cast(wxGROW))); } { - PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)(wxEXPAND))); + PyDict_SetItemString(d,"EXPAND", SWIG_From_int(static_cast(wxEXPAND))); } { - PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)(wxSHAPED))); + PyDict_SetItemString(d,"SHAPED", SWIG_From_int(static_cast(wxSHAPED))); } { - PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE))); + PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int(static_cast(wxFIXED_MINSIZE))); } { - PyDict_SetItemString(d,"TILE", SWIG_From_int((int)(wxTILE))); + PyDict_SetItemString(d,"TILE", SWIG_From_int(static_cast(wxTILE))); } { - PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE))); + PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int(static_cast(wxADJUST_MINSIZE))); } { - PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT))); + PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int(static_cast(wxBORDER_DEFAULT))); } { - PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE))); + PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int(static_cast(wxBORDER_NONE))); } { - PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC))); + PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int(static_cast(wxBORDER_STATIC))); } { - PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE))); + PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int(static_cast(wxBORDER_SIMPLE))); } { - PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED))); + PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int(static_cast(wxBORDER_RAISED))); } { - PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN))); + PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int(static_cast(wxBORDER_SUNKEN))); } { - PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE))); + PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int(static_cast(wxBORDER_DOUBLE))); } { - PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK))); + PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int(static_cast(wxBORDER_MASK))); } { - PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM))); + PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int(static_cast(wxBG_STYLE_SYSTEM))); } { - PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR))); + PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int(static_cast(wxBG_STYLE_COLOUR))); } { - PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM))); + PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int(static_cast(wxBG_STYLE_CUSTOM))); } { - PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)(wxDEFAULT))); + PyDict_SetItemString(d,"DEFAULT", SWIG_From_int(static_cast(wxDEFAULT))); } { - PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE))); + PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int(static_cast(wxDECORATIVE))); } { - PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)(wxROMAN))); + PyDict_SetItemString(d,"ROMAN", SWIG_From_int(static_cast(wxROMAN))); } { - PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)(wxSCRIPT))); + PyDict_SetItemString(d,"SCRIPT", SWIG_From_int(static_cast(wxSCRIPT))); } { - PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)(wxSWISS))); + PyDict_SetItemString(d,"SWISS", SWIG_From_int(static_cast(wxSWISS))); } { - PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)(wxMODERN))); + PyDict_SetItemString(d,"MODERN", SWIG_From_int(static_cast(wxMODERN))); } { - PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)(wxTELETYPE))); + PyDict_SetItemString(d,"TELETYPE", SWIG_From_int(static_cast(wxTELETYPE))); } { - PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)(wxVARIABLE))); + PyDict_SetItemString(d,"VARIABLE", SWIG_From_int(static_cast(wxVARIABLE))); } { - PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)(wxFIXED))); + PyDict_SetItemString(d,"FIXED", SWIG_From_int(static_cast(wxFIXED))); } { - PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)(wxNORMAL))); + PyDict_SetItemString(d,"NORMAL", SWIG_From_int(static_cast(wxNORMAL))); } { - PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)(wxLIGHT))); + PyDict_SetItemString(d,"LIGHT", SWIG_From_int(static_cast(wxLIGHT))); } { - PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)(wxBOLD))); + PyDict_SetItemString(d,"BOLD", SWIG_From_int(static_cast(wxBOLD))); } { - PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)(wxITALIC))); + PyDict_SetItemString(d,"ITALIC", SWIG_From_int(static_cast(wxITALIC))); } { - PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)(wxSLANT))); + PyDict_SetItemString(d,"SLANT", SWIG_From_int(static_cast(wxSLANT))); } { - PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)(wxSOLID))); + PyDict_SetItemString(d,"SOLID", SWIG_From_int(static_cast(wxSOLID))); } { - PyDict_SetItemString(d,"DOT", SWIG_From_int((int)(wxDOT))); + PyDict_SetItemString(d,"DOT", SWIG_From_int(static_cast(wxDOT))); } { - PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH))); + PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int(static_cast(wxLONG_DASH))); } { - PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH))); + PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int(static_cast(wxSHORT_DASH))); } { - PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH))); + PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int(static_cast(wxDOT_DASH))); } { - PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH))); + PyDict_SetItemString(d,"USER_DASH", SWIG_From_int(static_cast(wxUSER_DASH))); } { - PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT))); + PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int(static_cast(wxTRANSPARENT))); } { - PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE))); + PyDict_SetItemString(d,"STIPPLE", SWIG_From_int(static_cast(wxSTIPPLE))); } { - PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK))); + PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int(static_cast(wxSTIPPLE_MASK))); } { - PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE))); + PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int(static_cast(wxSTIPPLE_MASK_OPAQUE))); } { - PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH))); + PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int(static_cast(wxBDIAGONAL_HATCH))); } { - PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH))); + PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int(static_cast(wxCROSSDIAG_HATCH))); } { - PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH))); + PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int(static_cast(wxFDIAGONAL_HATCH))); } { - PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH))); + PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int(static_cast(wxCROSS_HATCH))); } { - PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH))); + PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int(static_cast(wxHORIZONTAL_HATCH))); } { - PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH))); + PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int(static_cast(wxVERTICAL_HATCH))); } { - PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL))); + PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int(static_cast(wxJOIN_BEVEL))); } { - PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER))); + PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int(static_cast(wxJOIN_MITER))); } { - PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND))); + PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int(static_cast(wxJOIN_ROUND))); } { - PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND))); + PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int(static_cast(wxCAP_ROUND))); } { - PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING))); + PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int(static_cast(wxCAP_PROJECTING))); } { - PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT))); + PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int(static_cast(wxCAP_BUTT))); } { - PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)(wxCLEAR))); + PyDict_SetItemString(d,"CLEAR", SWIG_From_int(static_cast(wxCLEAR))); } { - PyDict_SetItemString(d,"XOR", SWIG_From_int((int)(wxXOR))); + PyDict_SetItemString(d,"XOR", SWIG_From_int(static_cast(wxXOR))); } { - PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)(wxINVERT))); + PyDict_SetItemString(d,"INVERT", SWIG_From_int(static_cast(wxINVERT))); } { - PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE))); + PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int(static_cast(wxOR_REVERSE))); } { - PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE))); + PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int(static_cast(wxAND_REVERSE))); } { - PyDict_SetItemString(d,"COPY", SWIG_From_int((int)(wxCOPY))); + PyDict_SetItemString(d,"COPY", SWIG_From_int(static_cast(wxCOPY))); } { - PyDict_SetItemString(d,"AND", SWIG_From_int((int)(wxAND))); + PyDict_SetItemString(d,"AND", SWIG_From_int(static_cast(wxAND))); } { - PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT))); + PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int(static_cast(wxAND_INVERT))); } { - PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)(wxNO_OP))); + PyDict_SetItemString(d,"NO_OP", SWIG_From_int(static_cast(wxNO_OP))); } { - PyDict_SetItemString(d,"NOR", SWIG_From_int((int)(wxNOR))); + PyDict_SetItemString(d,"NOR", SWIG_From_int(static_cast(wxNOR))); } { - PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)(wxEQUIV))); + PyDict_SetItemString(d,"EQUIV", SWIG_From_int(static_cast(wxEQUIV))); } { - PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT))); + PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int(static_cast(wxSRC_INVERT))); } { - PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT))); + PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int(static_cast(wxOR_INVERT))); } { - PyDict_SetItemString(d,"NAND", SWIG_From_int((int)(wxNAND))); + PyDict_SetItemString(d,"NAND", SWIG_From_int(static_cast(wxNAND))); } { - PyDict_SetItemString(d,"OR", SWIG_From_int((int)(wxOR))); + PyDict_SetItemString(d,"OR", SWIG_From_int(static_cast(wxOR))); } { - PyDict_SetItemString(d,"SET", SWIG_From_int((int)(wxSET))); + PyDict_SetItemString(d,"SET", SWIG_From_int(static_cast(wxSET))); } { - PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)(WXK_BACK))); + PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int(static_cast(WXK_BACK))); } { - PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)(WXK_TAB))); + PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int(static_cast(WXK_TAB))); } { - PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN))); + PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int(static_cast(WXK_RETURN))); } { - PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE))); + PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int(static_cast(WXK_ESCAPE))); } { - PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE))); + PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int(static_cast(WXK_SPACE))); } { - PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE))); + PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int(static_cast(WXK_DELETE))); } { - PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)(WXK_START))); + PyDict_SetItemString(d,"WXK_START", SWIG_From_int(static_cast(WXK_START))); } { - PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON))); + PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int(static_cast(WXK_LBUTTON))); } { - PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON))); + PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int(static_cast(WXK_RBUTTON))); } { - PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL))); + PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int(static_cast(WXK_CANCEL))); } { - PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON))); + PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int(static_cast(WXK_MBUTTON))); } { - PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR))); + PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int(static_cast(WXK_CLEAR))); } { - PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT))); + PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int(static_cast(WXK_SHIFT))); } { - PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)(WXK_ALT))); + PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int(static_cast(WXK_ALT))); } { - PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL))); + PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int(static_cast(WXK_CONTROL))); } { - PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)(WXK_MENU))); + PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int(static_cast(WXK_MENU))); } { - PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE))); + PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int(static_cast(WXK_PAUSE))); } { - PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL))); + PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int(static_cast(WXK_CAPITAL))); } { - PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR))); + PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int(static_cast(WXK_PRIOR))); } { - PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT))); + PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int(static_cast(WXK_NEXT))); } { - PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)(WXK_END))); + PyDict_SetItemString(d,"WXK_END", SWIG_From_int(static_cast(WXK_END))); } { - PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)(WXK_HOME))); + PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int(static_cast(WXK_HOME))); } { - PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT))); + PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int(static_cast(WXK_LEFT))); } { - PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)(WXK_UP))); + PyDict_SetItemString(d,"WXK_UP", SWIG_From_int(static_cast(WXK_UP))); } { - PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT))); + PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int(static_cast(WXK_RIGHT))); } { - PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN))); + PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int(static_cast(WXK_DOWN))); } { - PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT))); + PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int(static_cast(WXK_SELECT))); } { - PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT))); + PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int(static_cast(WXK_PRINT))); } { - PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE))); + PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int(static_cast(WXK_EXECUTE))); } { - PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT))); + PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int(static_cast(WXK_SNAPSHOT))); } { - PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT))); + PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int(static_cast(WXK_INSERT))); } { - PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)(WXK_HELP))); + PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int(static_cast(WXK_HELP))); } { - PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0))); + PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int(static_cast(WXK_NUMPAD0))); } { - PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1))); + PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int(static_cast(WXK_NUMPAD1))); } { - PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2))); + PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int(static_cast(WXK_NUMPAD2))); } { - PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3))); + PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int(static_cast(WXK_NUMPAD3))); } { - PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4))); + PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int(static_cast(WXK_NUMPAD4))); } { - PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5))); + PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int(static_cast(WXK_NUMPAD5))); } { - PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6))); + PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int(static_cast(WXK_NUMPAD6))); } { - PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7))); + PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int(static_cast(WXK_NUMPAD7))); } { - PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8))); + PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int(static_cast(WXK_NUMPAD8))); } { - PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9))); + PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int(static_cast(WXK_NUMPAD9))); } { - PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY))); + PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int(static_cast(WXK_MULTIPLY))); } { - PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)(WXK_ADD))); + PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int(static_cast(WXK_ADD))); } { - PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR))); + PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int(static_cast(WXK_SEPARATOR))); } { - PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT))); + PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int(static_cast(WXK_SUBTRACT))); } { - PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL))); + PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int(static_cast(WXK_DECIMAL))); } { - PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE))); + PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int(static_cast(WXK_DIVIDE))); } { - PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)(WXK_F1))); + PyDict_SetItemString(d,"WXK_F1", SWIG_From_int(static_cast(WXK_F1))); } { - PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)(WXK_F2))); + PyDict_SetItemString(d,"WXK_F2", SWIG_From_int(static_cast(WXK_F2))); } { - PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)(WXK_F3))); + PyDict_SetItemString(d,"WXK_F3", SWIG_From_int(static_cast(WXK_F3))); } { - PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)(WXK_F4))); + PyDict_SetItemString(d,"WXK_F4", SWIG_From_int(static_cast(WXK_F4))); } { - PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)(WXK_F5))); + PyDict_SetItemString(d,"WXK_F5", SWIG_From_int(static_cast(WXK_F5))); } { - PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)(WXK_F6))); + PyDict_SetItemString(d,"WXK_F6", SWIG_From_int(static_cast(WXK_F6))); } { - PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)(WXK_F7))); + PyDict_SetItemString(d,"WXK_F7", SWIG_From_int(static_cast(WXK_F7))); } { - PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)(WXK_F8))); + PyDict_SetItemString(d,"WXK_F8", SWIG_From_int(static_cast(WXK_F8))); } { - PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)(WXK_F9))); + PyDict_SetItemString(d,"WXK_F9", SWIG_From_int(static_cast(WXK_F9))); } { - PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)(WXK_F10))); + PyDict_SetItemString(d,"WXK_F10", SWIG_From_int(static_cast(WXK_F10))); } { - PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)(WXK_F11))); + PyDict_SetItemString(d,"WXK_F11", SWIG_From_int(static_cast(WXK_F11))); } { - PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)(WXK_F12))); + PyDict_SetItemString(d,"WXK_F12", SWIG_From_int(static_cast(WXK_F12))); } { - PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)(WXK_F13))); + PyDict_SetItemString(d,"WXK_F13", SWIG_From_int(static_cast(WXK_F13))); } { - PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)(WXK_F14))); + PyDict_SetItemString(d,"WXK_F14", SWIG_From_int(static_cast(WXK_F14))); } { - PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)(WXK_F15))); + PyDict_SetItemString(d,"WXK_F15", SWIG_From_int(static_cast(WXK_F15))); } { - PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)(WXK_F16))); + PyDict_SetItemString(d,"WXK_F16", SWIG_From_int(static_cast(WXK_F16))); } { - PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)(WXK_F17))); + PyDict_SetItemString(d,"WXK_F17", SWIG_From_int(static_cast(WXK_F17))); } { - PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)(WXK_F18))); + PyDict_SetItemString(d,"WXK_F18", SWIG_From_int(static_cast(WXK_F18))); } { - PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)(WXK_F19))); + PyDict_SetItemString(d,"WXK_F19", SWIG_From_int(static_cast(WXK_F19))); } { - PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)(WXK_F20))); + PyDict_SetItemString(d,"WXK_F20", SWIG_From_int(static_cast(WXK_F20))); } { - PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)(WXK_F21))); + PyDict_SetItemString(d,"WXK_F21", SWIG_From_int(static_cast(WXK_F21))); } { - PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)(WXK_F22))); + PyDict_SetItemString(d,"WXK_F22", SWIG_From_int(static_cast(WXK_F22))); } { - PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)(WXK_F23))); + PyDict_SetItemString(d,"WXK_F23", SWIG_From_int(static_cast(WXK_F23))); } { - PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)(WXK_F24))); + PyDict_SetItemString(d,"WXK_F24", SWIG_From_int(static_cast(WXK_F24))); } { - PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK))); + PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int(static_cast(WXK_NUMLOCK))); } { - PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL))); + PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int(static_cast(WXK_SCROLL))); } { - PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP))); + PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int(static_cast(WXK_PAGEUP))); } { - PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN))); + PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int(static_cast(WXK_PAGEDOWN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE))); + PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int(static_cast(WXK_NUMPAD_SPACE))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB))); + PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int(static_cast(WXK_NUMPAD_TAB))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER))); + PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int(static_cast(WXK_NUMPAD_ENTER))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1))); + PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int(static_cast(WXK_NUMPAD_F1))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2))); + PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int(static_cast(WXK_NUMPAD_F2))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3))); + PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int(static_cast(WXK_NUMPAD_F3))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4))); + PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int(static_cast(WXK_NUMPAD_F4))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME))); + PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int(static_cast(WXK_NUMPAD_HOME))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT))); + PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int(static_cast(WXK_NUMPAD_LEFT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP))); + PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int(static_cast(WXK_NUMPAD_UP))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT))); + PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int(static_cast(WXK_NUMPAD_RIGHT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int(static_cast(WXK_NUMPAD_DOWN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR))); + PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int(static_cast(WXK_NUMPAD_PRIOR))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP))); + PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int(static_cast(WXK_NUMPAD_PAGEUP))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT))); + PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int(static_cast(WXK_NUMPAD_NEXT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int(static_cast(WXK_NUMPAD_PAGEDOWN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END))); + PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int(static_cast(WXK_NUMPAD_END))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN))); + PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int(static_cast(WXK_NUMPAD_BEGIN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT))); + PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int(static_cast(WXK_NUMPAD_INSERT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE))); + PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int(static_cast(WXK_NUMPAD_DELETE))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL))); + PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int(static_cast(WXK_NUMPAD_EQUAL))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY))); + PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int(static_cast(WXK_NUMPAD_MULTIPLY))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD))); + PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int(static_cast(WXK_NUMPAD_ADD))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR))); + PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int(static_cast(WXK_NUMPAD_SEPARATOR))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT))); + PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int(static_cast(WXK_NUMPAD_SUBTRACT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL))); + PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int(static_cast(WXK_NUMPAD_DECIMAL))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE))); + PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int(static_cast(WXK_NUMPAD_DIVIDE))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT))); + PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int(static_cast(WXK_WINDOWS_LEFT))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT))); + PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int(static_cast(WXK_WINDOWS_RIGHT))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU))); + PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int(static_cast(WXK_WINDOWS_MENU))); } { - PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND))); + PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int(static_cast(WXK_COMMAND))); } { - PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1))); + PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int(static_cast(WXK_SPECIAL1))); } { - PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2))); + PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int(static_cast(WXK_SPECIAL2))); } { - PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3))); + PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int(static_cast(WXK_SPECIAL3))); } { - PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4))); + PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int(static_cast(WXK_SPECIAL4))); } { - PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5))); + PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int(static_cast(WXK_SPECIAL5))); } { - PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6))); + PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int(static_cast(WXK_SPECIAL6))); } { - PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7))); + PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int(static_cast(WXK_SPECIAL7))); } { - PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8))); + PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int(static_cast(WXK_SPECIAL8))); } { - PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9))); + PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int(static_cast(WXK_SPECIAL9))); } { - PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10))); + PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int(static_cast(WXK_SPECIAL10))); } { - PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11))); + PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int(static_cast(WXK_SPECIAL11))); } { - PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12))); + PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int(static_cast(WXK_SPECIAL12))); } { - PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13))); + PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int(static_cast(WXK_SPECIAL13))); } { - PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14))); + PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int(static_cast(WXK_SPECIAL14))); } { - PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15))); + PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int(static_cast(WXK_SPECIAL15))); } { - PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16))); + PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int(static_cast(WXK_SPECIAL16))); } { - PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17))); + PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int(static_cast(WXK_SPECIAL17))); } { - PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18))); + PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int(static_cast(WXK_SPECIAL18))); } { - PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19))); + PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int(static_cast(WXK_SPECIAL19))); } { - PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20))); + PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int(static_cast(WXK_SPECIAL20))); } { - PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE))); + PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int(static_cast(wxPAPER_NONE))); } { - PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER))); + PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int(static_cast(wxPAPER_LETTER))); } { - PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL))); + PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int(static_cast(wxPAPER_LEGAL))); } { - PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4))); + PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int(static_cast(wxPAPER_A4))); } { - PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET))); + PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int(static_cast(wxPAPER_CSHEET))); } { - PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET))); + PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int(static_cast(wxPAPER_DSHEET))); } { - PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET))); + PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int(static_cast(wxPAPER_ESHEET))); } { - PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL))); + PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int(static_cast(wxPAPER_LETTERSMALL))); } { - PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID))); + PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int(static_cast(wxPAPER_TABLOID))); } { - PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER))); + PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int(static_cast(wxPAPER_LEDGER))); } { - PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT))); + PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int(static_cast(wxPAPER_STATEMENT))); } { - PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE))); + PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int(static_cast(wxPAPER_EXECUTIVE))); } { - PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3))); + PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int(static_cast(wxPAPER_A3))); } { - PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL))); + PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int(static_cast(wxPAPER_A4SMALL))); } { - PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5))); + PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int(static_cast(wxPAPER_A5))); } { - PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4))); + PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int(static_cast(wxPAPER_B4))); } { - PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5))); + PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int(static_cast(wxPAPER_B5))); } { - PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO))); + PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int(static_cast(wxPAPER_FOLIO))); } { - PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO))); + PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int(static_cast(wxPAPER_QUARTO))); } { - PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14))); + PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int(static_cast(wxPAPER_10X14))); } { - PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17))); + PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int(static_cast(wxPAPER_11X17))); } { - PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE))); + PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int(static_cast(wxPAPER_NOTE))); } { - PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9))); + PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int(static_cast(wxPAPER_ENV_9))); } { - PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10))); + PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int(static_cast(wxPAPER_ENV_10))); } { - PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11))); + PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int(static_cast(wxPAPER_ENV_11))); } { - PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12))); + PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int(static_cast(wxPAPER_ENV_12))); } { - PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14))); + PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int(static_cast(wxPAPER_ENV_14))); } { - PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL))); + PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int(static_cast(wxPAPER_ENV_DL))); } { - PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5))); + PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int(static_cast(wxPAPER_ENV_C5))); } { - PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3))); + PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int(static_cast(wxPAPER_ENV_C3))); } { - PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4))); + PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int(static_cast(wxPAPER_ENV_C4))); } { - PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6))); + PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int(static_cast(wxPAPER_ENV_C6))); } { - PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65))); + PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int(static_cast(wxPAPER_ENV_C65))); } { - PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4))); + PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int(static_cast(wxPAPER_ENV_B4))); } { - PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5))); + PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int(static_cast(wxPAPER_ENV_B5))); } { - PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6))); + PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int(static_cast(wxPAPER_ENV_B6))); } { - PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY))); + PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int(static_cast(wxPAPER_ENV_ITALY))); } { - PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH))); + PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int(static_cast(wxPAPER_ENV_MONARCH))); } { - PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL))); + PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int(static_cast(wxPAPER_ENV_PERSONAL))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US))); + PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int(static_cast(wxPAPER_FANFOLD_US))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN))); + PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int(static_cast(wxPAPER_FANFOLD_STD_GERMAN))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN))); + PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int(static_cast(wxPAPER_FANFOLD_LGL_GERMAN))); } { - PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4))); + PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int(static_cast(wxPAPER_ISO_B4))); } { - PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD))); + PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int(static_cast(wxPAPER_JAPANESE_POSTCARD))); } { - PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11))); + PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int(static_cast(wxPAPER_9X11))); } { - PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11))); + PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int(static_cast(wxPAPER_10X11))); } { - PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11))); + PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int(static_cast(wxPAPER_15X11))); } { - PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE))); + PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int(static_cast(wxPAPER_ENV_INVITE))); } { - PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA))); + PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int(static_cast(wxPAPER_LETTER_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA))); + PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int(static_cast(wxPAPER_LEGAL_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA))); + PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int(static_cast(wxPAPER_TABLOID_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA))); + PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int(static_cast(wxPAPER_A4_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_LETTER_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A4_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_LETTER_EXTRA_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS))); + PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int(static_cast(wxPAPER_A_PLUS))); } { - PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS))); + PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int(static_cast(wxPAPER_B_PLUS))); } { - PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS))); + PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int(static_cast(wxPAPER_LETTER_PLUS))); } { - PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS))); + PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int(static_cast(wxPAPER_A4_PLUS))); } { - PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A5_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_B5_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA))); + PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int(static_cast(wxPAPER_A3_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA))); + PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int(static_cast(wxPAPER_A5_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA))); + PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int(static_cast(wxPAPER_B5_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2))); + PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int(static_cast(wxPAPER_A2))); } { - PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A3_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A3_EXTRA_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD))); + PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int(static_cast(wxPAPER_DBL_JAPANESE_POSTCARD))); } { - PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6))); + PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int(static_cast(wxPAPER_A6))); } { - PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU2))); } { - PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU3))); } { - PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU3))); } { - PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU4))); } { - PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED))); + PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int(static_cast(wxPAPER_LETTER_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED))); + PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int(static_cast(wxPAPER_A3_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED))); + PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int(static_cast(wxPAPER_A4_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED))); + PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int(static_cast(wxPAPER_A5_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED))); + PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B4_JIS_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED))); + PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B5_JIS_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED))); + PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast(wxPAPER_JAPANESE_POSTCARD_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED))); + PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED))); + PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int(static_cast(wxPAPER_A6_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU2_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU3_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU3_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU4_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS))); + PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int(static_cast(wxPAPER_B6_JIS))); } { - PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED))); + PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B6_JIS_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11))); + PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int(static_cast(wxPAPER_12X11))); } { - PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4))); + PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int(static_cast(wxPAPER_JENV_YOU4))); } { - PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_YOU4_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K))); + PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int(static_cast(wxPAPER_P16K))); } { - PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K))); + PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int(static_cast(wxPAPER_P32K))); } { - PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG))); + PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int(static_cast(wxPAPER_P32KBIG))); } { - PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1))); + PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int(static_cast(wxPAPER_PENV_1))); } { - PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2))); + PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int(static_cast(wxPAPER_PENV_2))); } { - PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3))); + PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int(static_cast(wxPAPER_PENV_3))); } { - PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4))); + PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int(static_cast(wxPAPER_PENV_4))); } { - PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5))); + PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int(static_cast(wxPAPER_PENV_5))); } { - PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6))); + PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int(static_cast(wxPAPER_PENV_6))); } { - PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7))); + PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int(static_cast(wxPAPER_PENV_7))); } { - PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8))); + PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int(static_cast(wxPAPER_PENV_8))); } { - PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9))); + PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int(static_cast(wxPAPER_PENV_9))); } { - PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10))); + PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int(static_cast(wxPAPER_PENV_10))); } { - PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED))); + PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int(static_cast(wxPAPER_P16K_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED))); + PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int(static_cast(wxPAPER_P32K_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED))); + PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int(static_cast(wxPAPER_P32KBIG_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_1_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_2_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_3_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_4_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_5_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_6_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_7_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_8_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_9_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_10_ROTATED))); } { - PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX))); + PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int(static_cast(wxDUPLEX_SIMPLEX))); } { - PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL))); + PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int(static_cast(wxDUPLEX_HORIZONTAL))); } { - PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL))); + PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int(static_cast(wxDUPLEX_VERTICAL))); } { - PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR))); + PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int(static_cast(wxITEM_SEPARATOR))); } { - PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL))); + PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int(static_cast(wxITEM_NORMAL))); } { - PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK))); + PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int(static_cast(wxITEM_CHECK))); } { - PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO))); + PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int(static_cast(wxITEM_RADIO))); } { - PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX))); + PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int(static_cast(wxITEM_MAX))); } { - PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE))); + PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int(static_cast(wxHT_NOWHERE))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST))); + PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int(static_cast(wxHT_SCROLLBAR_FIRST))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1))); + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_LINE_1))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2))); + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_LINE_2))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1))); + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_PAGE_1))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2))); + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_PAGE_2))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB))); + PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int(static_cast(wxHT_SCROLLBAR_THUMB))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1))); + PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_BAR_1))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2))); + PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_BAR_2))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST))); + PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int(static_cast(wxHT_SCROLLBAR_LAST))); } { - PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE))); + PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int(static_cast(wxHT_WINDOW_OUTSIDE))); } { - PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE))); + PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int(static_cast(wxHT_WINDOW_INSIDE))); } { - PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR))); + PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int(static_cast(wxHT_WINDOW_VERT_SCROLLBAR))); } { - PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR))); + PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int(static_cast(wxHT_WINDOW_HORZ_SCROLLBAR))); } { - PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER))); + PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int(static_cast(wxHT_WINDOW_CORNER))); } { - PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)(wxHT_MAX))); + PyDict_SetItemString(d,"HT_MAX", SWIG_From_int(static_cast(wxHT_MAX))); } { - PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE))); + PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int(static_cast(wxMOD_NONE))); } { - PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT))); + PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int(static_cast(wxMOD_ALT))); } { - PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL))); + PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int(static_cast(wxMOD_CONTROL))); } { - PyDict_SetItemString(d,"MOD_ALTGR", SWIG_From_int((int)(wxMOD_ALTGR))); + PyDict_SetItemString(d,"MOD_ALTGR", SWIG_From_int(static_cast(wxMOD_ALTGR))); } { - PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT))); + PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int(static_cast(wxMOD_SHIFT))); } { - PyDict_SetItemString(d,"MOD_META", SWIG_From_int((int)(wxMOD_META))); + PyDict_SetItemString(d,"MOD_META", SWIG_From_int(static_cast(wxMOD_META))); } { - PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN))); + PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int(static_cast(wxMOD_WIN))); } { - PyDict_SetItemString(d,"MOD_CMD", SWIG_From_int((int)(wxMOD_CMD))); + PyDict_SetItemString(d,"MOD_CMD", SWIG_From_int(static_cast(wxMOD_CMD))); } { - PyDict_SetItemString(d,"MOD_ALL", SWIG_From_int((int)(wxMOD_ALL))); + PyDict_SetItemString(d,"MOD_ALL", SWIG_From_int(static_cast(wxMOD_ALL))); } { - PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE))); + PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int(static_cast(wxUPDATE_UI_NONE))); } { - PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE))); + PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int(static_cast(wxUPDATE_UI_RECURSE))); } { - PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE))); + PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int(static_cast(wxUPDATE_UI_FROMIDLE))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set); { - PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID))); + PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int(static_cast(wxBITMAP_TYPE_INVALID))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP))); + PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int(static_cast(wxBITMAP_TYPE_BMP))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO))); + PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int(static_cast(wxBITMAP_TYPE_ICO))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR))); + PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int(static_cast(wxBITMAP_TYPE_CUR))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM))); + PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int(static_cast(wxBITMAP_TYPE_XBM))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA))); + PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int(static_cast(wxBITMAP_TYPE_XBM_DATA))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM))); + PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int(static_cast(wxBITMAP_TYPE_XPM))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA))); + PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int(static_cast(wxBITMAP_TYPE_XPM_DATA))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF))); + PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int(static_cast(wxBITMAP_TYPE_TIF))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF))); + PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int(static_cast(wxBITMAP_TYPE_GIF))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG))); + PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int(static_cast(wxBITMAP_TYPE_PNG))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG))); + PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int(static_cast(wxBITMAP_TYPE_JPEG))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM))); + PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int(static_cast(wxBITMAP_TYPE_PNM))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX))); + PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int(static_cast(wxBITMAP_TYPE_PCX))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT))); + PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int(static_cast(wxBITMAP_TYPE_PICT))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON))); + PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int(static_cast(wxBITMAP_TYPE_ICON))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI))); + PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int(static_cast(wxBITMAP_TYPE_ANI))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF))); + PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int(static_cast(wxBITMAP_TYPE_IFF))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR))); + PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int(static_cast(wxBITMAP_TYPE_MACCURSOR))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY))); + PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int(static_cast(wxBITMAP_TYPE_ANY))); } { - PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE))); + PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int(static_cast(wxCURSOR_NONE))); } { - PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW))); + PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int(static_cast(wxCURSOR_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW))); + PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int(static_cast(wxCURSOR_RIGHT_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE))); + PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int(static_cast(wxCURSOR_BULLSEYE))); } { - PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR))); + PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int(static_cast(wxCURSOR_CHAR))); } { - PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS))); + PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int(static_cast(wxCURSOR_CROSS))); } { - PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND))); + PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int(static_cast(wxCURSOR_HAND))); } { - PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM))); + PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int(static_cast(wxCURSOR_IBEAM))); } { - PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON))); + PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int(static_cast(wxCURSOR_LEFT_BUTTON))); } { - PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER))); + PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int(static_cast(wxCURSOR_MAGNIFIER))); } { - PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON))); + PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int(static_cast(wxCURSOR_MIDDLE_BUTTON))); } { - PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY))); + PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int(static_cast(wxCURSOR_NO_ENTRY))); } { - PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH))); + PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int(static_cast(wxCURSOR_PAINT_BRUSH))); } { - PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL))); + PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int(static_cast(wxCURSOR_PENCIL))); } { - PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT))); + PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int(static_cast(wxCURSOR_POINT_LEFT))); } { - PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT))); + PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int(static_cast(wxCURSOR_POINT_RIGHT))); } { - PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW))); + PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int(static_cast(wxCURSOR_QUESTION_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON))); + PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int(static_cast(wxCURSOR_RIGHT_BUTTON))); } { - PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW))); + PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int(static_cast(wxCURSOR_SIZENESW))); } { - PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS))); + PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int(static_cast(wxCURSOR_SIZENS))); } { - PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE))); + PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int(static_cast(wxCURSOR_SIZENWSE))); } { - PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE))); + PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int(static_cast(wxCURSOR_SIZEWE))); } { - PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING))); + PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int(static_cast(wxCURSOR_SIZING))); } { - PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN))); + PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int(static_cast(wxCURSOR_SPRAYCAN))); } { - PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT))); + PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int(static_cast(wxCURSOR_WAIT))); } { - PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH))); + PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int(static_cast(wxCURSOR_WATCH))); } { - PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK))); + PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int(static_cast(wxCURSOR_BLANK))); } { - PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT))); + PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int(static_cast(wxCURSOR_DEFAULT))); } { - PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW))); + PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int(static_cast(wxCURSOR_COPY_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT))); + PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int(static_cast(wxCURSOR_ARROWWAIT))); } { - PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX))); + PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int(static_cast(wxCURSOR_MAX))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set); { - PyDict_SetItemString(d,"FromStart", SWIG_From_int((int)(wxFromStart))); + PyDict_SetItemString(d,"FromStart", SWIG_From_int(static_cast(wxFromStart))); } { - PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)(wxFromCurrent))); + PyDict_SetItemString(d,"FromCurrent", SWIG_From_int(static_cast(wxFromCurrent))); } { - PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)(wxFromEnd))); + PyDict_SetItemString(d,"FromEnd", SWIG_From_int(static_cast(wxFromEnd))); } wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream"); @@ -50510,13 +51075,13 @@ SWIGEXPORT(void) SWIG_init(void) { wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler"); { - PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT))); + PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int(static_cast(wxIMAGE_ALPHA_TRANSPARENT))); } { - PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD))); + PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int(static_cast(wxIMAGE_ALPHA_THRESHOLD))); } { - PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE))); + PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int(static_cast(wxIMAGE_ALPHA_OPAQUE))); } SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get, _wrap_IMAGE_OPTION_FILENAME_set); @@ -50529,10 +51094,10 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set); { - PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES))); + PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int(static_cast(wxIMAGE_RESOLUTION_INCHES))); } { - PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM))); + PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int(static_cast(wxIMAGE_RESOLUTION_CM))); } SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set); @@ -50541,52 +51106,52 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get, _wrap_IMAGE_OPTION_PNG_FORMAT_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set); { - PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR))); + PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int(static_cast(wxPNG_TYPE_COLOUR))); } { - PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY))); + PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int(static_cast(wxPNG_TYPE_GREY))); } { - PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED))); + PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int(static_cast(wxPNG_TYPE_GREY_RED))); } { - PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP))); + PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int(static_cast(wxBMP_24BPP))); } { - PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP))); + PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int(static_cast(wxBMP_8BPP))); } { - PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY))); + PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int(static_cast(wxBMP_8BPP_GREY))); } { - PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY))); + PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int(static_cast(wxBMP_8BPP_GRAY))); } { - PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED))); + PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int(static_cast(wxBMP_8BPP_RED))); } { - PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE))); + PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int(static_cast(wxBMP_8BPP_PALETTE))); } { - PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP))); + PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int(static_cast(wxBMP_4BPP))); } { - PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP))); + PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int(static_cast(wxBMP_1BPP))); } { - PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW))); + PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int(static_cast(wxBMP_1BPP_BW))); } { - PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS))); + PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int(static_cast(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS))); } { - PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE))); + PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int(static_cast(wxQUANTIZE_FILL_DESTINATION_IMAGE))); } { - PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE))); + PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int(static_cast(wxEVENT_PROPAGATE_NONE))); } { - PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX))); + PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int(static_cast(wxEVENT_PROPAGATE_MAX))); } PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL)); PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST)); @@ -50704,148 +51269,148 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER)); { - PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY))); + PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int(static_cast(wxMOUSE_BTN_ANY))); } { - PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE))); + PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int(static_cast(wxMOUSE_BTN_NONE))); } { - PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT))); + PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int(static_cast(wxMOUSE_BTN_LEFT))); } { - PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE))); + PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int(static_cast(wxMOUSE_BTN_MIDDLE))); } { - PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT))); + PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int(static_cast(wxMOUSE_BTN_RIGHT))); } { - PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL))); + PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int(static_cast(wxUPDATE_UI_PROCESS_ALL))); } { - PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED))); + PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int(static_cast(wxUPDATE_UI_PROCESS_SPECIFIED))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward))); + PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int(static_cast(wxNavigationKeyEvent::IsBackward))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward))); + PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int(static_cast(wxNavigationKeyEvent::IsForward))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange))); + PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int(static_cast(wxNavigationKeyEvent::WinChange))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab))); + PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int(static_cast(wxNavigationKeyEvent::FromTab))); } { - PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL))); + PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int(static_cast(wxIDLE_PROCESS_ALL))); } { - PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED))); + PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int(static_cast(wxIDLE_PROCESS_SPECIFIED))); } PyDict_SetItemString(d, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED)); { - PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS))); + PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int(static_cast(wxPYAPP_ASSERT_SUPPRESS))); } { - PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION))); + PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int(static_cast(wxPYAPP_ASSERT_EXCEPTION))); } { - PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG))); + PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int(static_cast(wxPYAPP_ASSERT_DIALOG))); } { - PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG))); + PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int(static_cast(wxPYAPP_ASSERT_LOG))); } { - PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS))); + PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int(static_cast(wxPRINT_WINDOWS))); } { - PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT))); + PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int(static_cast(wxPRINT_POSTSCRIPT))); } SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set); SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set); { - PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL))); + PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int(static_cast(wxWINDOW_VARIANT_NORMAL))); } { - PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL))); + PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int(static_cast(wxWINDOW_VARIANT_SMALL))); } { - PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI))); + PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int(static_cast(wxWINDOW_VARIANT_MINI))); } { - PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE))); + PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int(static_cast(wxWINDOW_VARIANT_LARGE))); } { - PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX))); + PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int(static_cast(wxWINDOW_VARIANT_MAX))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set); SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set); { - PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE))); + PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int(static_cast(wxFLEX_GROWMODE_NONE))); } { - PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED))); + PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int(static_cast(wxFLEX_GROWMODE_SPECIFIED))); } { - PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL))); + PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int(static_cast(wxFLEX_GROWMODE_ALL))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set); { - PyDict_SetItemString(d,"Left", SWIG_From_int((int)(wxLeft))); + PyDict_SetItemString(d,"Left", SWIG_From_int(static_cast(wxLeft))); } { - PyDict_SetItemString(d,"Top", SWIG_From_int((int)(wxTop))); + PyDict_SetItemString(d,"Top", SWIG_From_int(static_cast(wxTop))); } { - PyDict_SetItemString(d,"Right", SWIG_From_int((int)(wxRight))); + PyDict_SetItemString(d,"Right", SWIG_From_int(static_cast(wxRight))); } { - PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)(wxBottom))); + PyDict_SetItemString(d,"Bottom", SWIG_From_int(static_cast(wxBottom))); } { - PyDict_SetItemString(d,"Width", SWIG_From_int((int)(wxWidth))); + PyDict_SetItemString(d,"Width", SWIG_From_int(static_cast(wxWidth))); } { - PyDict_SetItemString(d,"Height", SWIG_From_int((int)(wxHeight))); + PyDict_SetItemString(d,"Height", SWIG_From_int(static_cast(wxHeight))); } { - PyDict_SetItemString(d,"Centre", SWIG_From_int((int)(wxCentre))); + PyDict_SetItemString(d,"Centre", SWIG_From_int(static_cast(wxCentre))); } { - PyDict_SetItemString(d,"Center", SWIG_From_int((int)(wxCenter))); + PyDict_SetItemString(d,"Center", SWIG_From_int(static_cast(wxCenter))); } { - PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)(wxCentreX))); + PyDict_SetItemString(d,"CentreX", SWIG_From_int(static_cast(wxCentreX))); } { - PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)(wxCentreY))); + PyDict_SetItemString(d,"CentreY", SWIG_From_int(static_cast(wxCentreY))); } { - PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)(wxUnconstrained))); + PyDict_SetItemString(d,"Unconstrained", SWIG_From_int(static_cast(wxUnconstrained))); } { - PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)(wxAsIs))); + PyDict_SetItemString(d,"AsIs", SWIG_From_int(static_cast(wxAsIs))); } { - PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)(wxPercentOf))); + PyDict_SetItemString(d,"PercentOf", SWIG_From_int(static_cast(wxPercentOf))); } { - PyDict_SetItemString(d,"Above", SWIG_From_int((int)(wxAbove))); + PyDict_SetItemString(d,"Above", SWIG_From_int(static_cast(wxAbove))); } { - PyDict_SetItemString(d,"Below", SWIG_From_int((int)(wxBelow))); + PyDict_SetItemString(d,"Below", SWIG_From_int(static_cast(wxBelow))); } { - PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)(wxLeftOf))); + PyDict_SetItemString(d,"LeftOf", SWIG_From_int(static_cast(wxLeftOf))); } { - PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)(wxRightOf))); + PyDict_SetItemString(d,"RightOf", SWIG_From_int(static_cast(wxRightOf))); } { - PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)(wxSameAs))); + PyDict_SetItemString(d,"SameAs", SWIG_From_int(static_cast(wxSameAs))); } { - PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)(wxAbsolute))); + PyDict_SetItemString(d,"Absolute", SWIG_From_int(static_cast(wxAbsolute))); } // Initialize threading, some globals and such diff --git a/wxPython/src/gtk/_gdi.py b/wxPython/src/gtk/_gdi.py index a04649ba30..d9d9080e8d 100644 --- a/wxPython/src/gtk/_gdi.py +++ b/wxPython/src/gtk/_gdi.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _gdi_ @@ -93,13 +93,15 @@ class Colour(_core.Object): window colours, etc. Valid RGB values are in the range 0 to 255. In wxPython there are typemaps that will automatically convert from a - colour name, or from a '#RRGGBB' colour hex value string to a - wx.Colour object when calling C++ methods that expect a wxColour. - This means that the following are all equivallent:: + colour name, from a '#RRGGBB' colour hex value string, or from a 3 + integer tuple to a wx.Colour object when calling C++ methods that + expect a wxColour. This means that the following are all + equivallent:: win.SetBackgroundColour(wxColour(0,0,255)) win.SetBackgroundColour('BLUE') win.SetBackgroundColour('#0000FF') + win.SetBackgroundColour((0,0,255)) Additional colour names and their coresponding values can be added using `wx.ColourDatabase`. Various system colours (as set in the @@ -4205,7 +4207,10 @@ class BufferedDC(MemoryDC): def __init__(self, *args): """ __init__(self, DC dc, Bitmap buffer=NullBitmap, int style=BUFFER_CLIENT_AREA) -> BufferedDC + __init__(self, DC dc, Bitmap buffer=NullBitmap) -> BufferedDC + __init__(self, DC dc) -> BufferedDC __init__(self, DC dc, Size area, int style=BUFFER_CLIENT_AREA) -> BufferedDC + __init__(self, DC dc, Size area) -> BufferedDC Constructs a buffered DC. """ @@ -5269,3 +5274,4 @@ def RendererNative_Set(*args, **kwargs): return _gdi_.RendererNative_Set(*args, **kwargs) + diff --git a/wxPython/src/gtk/_gdi_wrap.cpp b/wxPython/src/gtk/_gdi_wrap.cpp index c82287c21e..7d8af2b8af 100644 --- a/wxPython/src/gtk/_gdi_wrap.cpp +++ b/wxPython/src/gtk/_gdi_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,71 +1431,148 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxPostScriptDC swig_types[0] -#define SWIGTYPE_p_wxBrush swig_types[1] -#define SWIGTYPE_p_wxColour swig_types[2] -#define SWIGTYPE_p_wxDC swig_types[3] -#define SWIGTYPE_p_wxMirrorDC swig_types[4] -#define SWIGTYPE_p_form_ops_t swig_types[5] -#define SWIGTYPE_p_wxRendererVersion swig_types[6] -#define SWIGTYPE_p_wxDuplexMode swig_types[7] -#define SWIGTYPE_p_wxPyFontEnumerator swig_types[8] -#define SWIGTYPE_p_char swig_types[9] -#define SWIGTYPE_p_wxIconLocation swig_types[10] -#define SWIGTYPE_p_wxImage swig_types[11] -#define SWIGTYPE_p_wxMetaFileDC swig_types[12] -#define SWIGTYPE_p_wxMask swig_types[13] -#define SWIGTYPE_p_wxSize swig_types[14] -#define SWIGTYPE_p_wxFont swig_types[15] -#define SWIGTYPE_p_wxWindow swig_types[16] -#define SWIGTYPE_p_double swig_types[17] -#define SWIGTYPE_p_wxMemoryDC swig_types[18] -#define SWIGTYPE_p_wxFontMapper swig_types[19] -#define SWIGTYPE_p_wxEffects swig_types[20] -#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21] -#define SWIGTYPE_p_wxPalette swig_types[22] -#define SWIGTYPE_p_wxBitmap swig_types[23] -#define SWIGTYPE_p_wxObject swig_types[24] -#define SWIGTYPE_p_wxRegionIterator swig_types[25] -#define SWIGTYPE_p_wxRect swig_types[26] -#define SWIGTYPE_p_wxPaperSize swig_types[27] -#define SWIGTYPE_p_wxString swig_types[28] -#define SWIGTYPE_unsigned_int swig_types[29] -#define SWIGTYPE_p_unsigned_int swig_types[30] -#define SWIGTYPE_p_wxPrinterDC swig_types[31] -#define SWIGTYPE_p_wxIconBundle swig_types[32] -#define SWIGTYPE_p_wxPoint swig_types[33] -#define SWIGTYPE_p_wxDash swig_types[34] -#define SWIGTYPE_p_wxScreenDC swig_types[35] -#define SWIGTYPE_p_wxCursor swig_types[36] -#define SWIGTYPE_p_wxClientDC swig_types[37] -#define SWIGTYPE_p_wxBufferedDC swig_types[38] -#define SWIGTYPE_p_wxImageList swig_types[39] -#define SWIGTYPE_p_unsigned_char swig_types[40] -#define SWIGTYPE_p_wxGDIObject swig_types[41] -#define SWIGTYPE_p_wxIcon swig_types[42] -#define SWIGTYPE_p_wxLocale swig_types[43] -#define SWIGTYPE_ptrdiff_t swig_types[44] -#define SWIGTYPE_std__ptrdiff_t swig_types[45] -#define SWIGTYPE_p_wxRegion swig_types[46] -#define SWIGTYPE_p_wxLanguageInfo swig_types[47] -#define SWIGTYPE_p_wxWindowDC swig_types[48] -#define SWIGTYPE_p_wxPrintData swig_types[49] -#define SWIGTYPE_p_wxBrushList swig_types[50] -#define SWIGTYPE_p_wxFontList swig_types[51] -#define SWIGTYPE_p_wxPen swig_types[52] -#define SWIGTYPE_p_wxBufferedPaintDC swig_types[53] -#define SWIGTYPE_p_wxPaintDC swig_types[54] -#define SWIGTYPE_p_wxPenList swig_types[55] -#define SWIGTYPE_p_int swig_types[56] -#define SWIGTYPE_p_wxMetaFile swig_types[57] -#define SWIGTYPE_p_wxRendererNative swig_types[58] -#define SWIGTYPE_p_unsigned_long swig_types[59] -#define SWIGTYPE_p_wxNativeFontInfo swig_types[60] -#define SWIGTYPE_p_wxEncodingConverter swig_types[61] -#define SWIGTYPE_p_wxSplitterRenderParams swig_types[62] -#define SWIGTYPE_p_wxColourDatabase swig_types[63] -static swig_type_info *swig_types[65]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_double swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_unsigned_char swig_types[4] +#define SWIGTYPE_p_unsigned_int swig_types[5] +#define SWIGTYPE_p_unsigned_long swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxBMPHandler swig_types[10] +#define SWIGTYPE_p_wxBitmap swig_types[11] +#define SWIGTYPE_p_wxBoxSizer swig_types[12] +#define SWIGTYPE_p_wxBrush swig_types[13] +#define SWIGTYPE_p_wxBrushList swig_types[14] +#define SWIGTYPE_p_wxBufferedDC swig_types[15] +#define SWIGTYPE_p_wxBufferedPaintDC swig_types[16] +#define SWIGTYPE_p_wxCURHandler swig_types[17] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[18] +#define SWIGTYPE_p_wxClientDC swig_types[19] +#define SWIGTYPE_p_wxCloseEvent swig_types[20] +#define SWIGTYPE_p_wxColour swig_types[21] +#define SWIGTYPE_p_wxColourDatabase swig_types[22] +#define SWIGTYPE_p_wxCommandEvent swig_types[23] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[24] +#define SWIGTYPE_p_wxControl swig_types[25] +#define SWIGTYPE_p_wxControlWithItems swig_types[26] +#define SWIGTYPE_p_wxCursor swig_types[27] +#define SWIGTYPE_p_wxDC swig_types[28] +#define SWIGTYPE_p_wxDash swig_types[29] +#define SWIGTYPE_p_wxDateEvent swig_types[30] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[32] +#define SWIGTYPE_p_wxDuplexMode swig_types[33] +#define SWIGTYPE_p_wxEffects swig_types[34] +#define SWIGTYPE_p_wxEncodingConverter swig_types[35] +#define SWIGTYPE_p_wxEraseEvent swig_types[36] +#define SWIGTYPE_p_wxEvent swig_types[37] +#define SWIGTYPE_p_wxEvtHandler swig_types[38] +#define SWIGTYPE_p_wxFSFile swig_types[39] +#define SWIGTYPE_p_wxFileSystem swig_types[40] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[41] +#define SWIGTYPE_p_wxFocusEvent swig_types[42] +#define SWIGTYPE_p_wxFont swig_types[43] +#define SWIGTYPE_p_wxFontList swig_types[44] +#define SWIGTYPE_p_wxFontMapper swig_types[45] +#define SWIGTYPE_p_wxGBSizerItem swig_types[46] +#define SWIGTYPE_p_wxGDIObject swig_types[47] +#define SWIGTYPE_p_wxGIFHandler swig_types[48] +#define SWIGTYPE_p_wxGridBagSizer swig_types[49] +#define SWIGTYPE_p_wxGridSizer swig_types[50] +#define SWIGTYPE_p_wxICOHandler swig_types[51] +#define SWIGTYPE_p_wxIcon swig_types[52] +#define SWIGTYPE_p_wxIconBundle swig_types[53] +#define SWIGTYPE_p_wxIconLocation swig_types[54] +#define SWIGTYPE_p_wxIconizeEvent swig_types[55] +#define SWIGTYPE_p_wxIdleEvent swig_types[56] +#define SWIGTYPE_p_wxImage swig_types[57] +#define SWIGTYPE_p_wxImageHandler swig_types[58] +#define SWIGTYPE_p_wxImageList swig_types[59] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[61] +#define SWIGTYPE_p_wxJPEGHandler swig_types[62] +#define SWIGTYPE_p_wxKeyEvent swig_types[63] +#define SWIGTYPE_p_wxLanguageInfo swig_types[64] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[65] +#define SWIGTYPE_p_wxLocale swig_types[66] +#define SWIGTYPE_p_wxMask swig_types[67] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[68] +#define SWIGTYPE_p_wxMemoryDC swig_types[69] +#define SWIGTYPE_p_wxMenu swig_types[70] +#define SWIGTYPE_p_wxMenuBar swig_types[71] +#define SWIGTYPE_p_wxMenuEvent swig_types[72] +#define SWIGTYPE_p_wxMenuItem swig_types[73] +#define SWIGTYPE_p_wxMetaFile swig_types[74] +#define SWIGTYPE_p_wxMetaFileDC swig_types[75] +#define SWIGTYPE_p_wxMirrorDC swig_types[76] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77] +#define SWIGTYPE_p_wxMouseEvent swig_types[78] +#define SWIGTYPE_p_wxMoveEvent swig_types[79] +#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80] +#define SWIGTYPE_p_wxNativeFontInfo swig_types[81] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[83] +#define SWIGTYPE_p_wxNotifyEvent swig_types[84] +#define SWIGTYPE_p_wxObject swig_types[85] +#define SWIGTYPE_p_wxPCXHandler swig_types[86] +#define SWIGTYPE_p_wxPNGHandler swig_types[87] +#define SWIGTYPE_p_wxPNMHandler swig_types[88] +#define SWIGTYPE_p_wxPaintDC swig_types[89] +#define SWIGTYPE_p_wxPaintEvent swig_types[90] +#define SWIGTYPE_p_wxPalette swig_types[91] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92] +#define SWIGTYPE_p_wxPaperSize swig_types[93] +#define SWIGTYPE_p_wxPen swig_types[94] +#define SWIGTYPE_p_wxPenList swig_types[95] +#define SWIGTYPE_p_wxPoint swig_types[96] +#define SWIGTYPE_p_wxPostScriptDC swig_types[97] +#define SWIGTYPE_p_wxPrintData swig_types[98] +#define SWIGTYPE_p_wxPrinterDC swig_types[99] +#define SWIGTYPE_p_wxPyApp swig_types[100] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[101] +#define SWIGTYPE_p_wxPyEvent swig_types[102] +#define SWIGTYPE_p_wxPyFontEnumerator swig_types[103] +#define SWIGTYPE_p_wxPyImageHandler swig_types[104] +#define SWIGTYPE_p_wxPySizer swig_types[105] +#define SWIGTYPE_p_wxPyValidator swig_types[106] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107] +#define SWIGTYPE_p_wxRect swig_types[108] +#define SWIGTYPE_p_wxRegion swig_types[109] +#define SWIGTYPE_p_wxRegionIterator swig_types[110] +#define SWIGTYPE_p_wxRendererNative swig_types[111] +#define SWIGTYPE_p_wxRendererVersion swig_types[112] +#define SWIGTYPE_p_wxScreenDC swig_types[113] +#define SWIGTYPE_p_wxScrollEvent swig_types[114] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[115] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[116] +#define SWIGTYPE_p_wxShowEvent swig_types[117] +#define SWIGTYPE_p_wxSize swig_types[118] +#define SWIGTYPE_p_wxSizeEvent swig_types[119] +#define SWIGTYPE_p_wxSizer swig_types[120] +#define SWIGTYPE_p_wxSizerItem swig_types[121] +#define SWIGTYPE_p_wxSplitterRenderParams swig_types[122] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[123] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124] +#define SWIGTYPE_p_wxString swig_types[125] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126] +#define SWIGTYPE_p_wxTIFFHandler swig_types[127] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[128] +#define SWIGTYPE_p_wxValidator swig_types[129] +#define SWIGTYPE_p_wxWindow swig_types[130] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[131] +#define SWIGTYPE_p_wxWindowDC swig_types[132] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133] +#define SWIGTYPE_p_wxXPMHandler swig_types[134] +#define SWIGTYPE_ptrdiff_t swig_types[135] +#define SWIGTYPE_std__ptrdiff_t swig_types[136] +#define SWIGTYPE_unsigned_int swig_types[137] +static swig_type_info *swig_types[139]; +static swig_module_info swig_module = {swig_types, 138, 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) -------- */ @@ -1469,7 +1638,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; @@ -1483,7 +1652,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1516,7 +1685,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1530,7 +1699,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1550,7 +1719,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1574,7 +1743,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) { - if (val) *val = (unsigned char)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1589,7 +1758,7 @@ SWIGINTERN int } -SWIGINTERNSHORT unsigned char +SWIGINTERNINLINE unsigned char SWIG_As_unsigned_SS_char(PyObject* obj) { unsigned char v; @@ -1603,14 +1772,14 @@ SWIG_As_unsigned_SS_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_char(PyObject* obj) { return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0); } -SWIGINTERNSHORT unsigned long +SWIGINTERNINLINE unsigned long SWIG_As_unsigned_SS_long(PyObject* obj) { unsigned long v; @@ -1624,19 +1793,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); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_char PyInt_FromLong /*@@*/ - /*@/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 /*@@*/ @@ -1659,16 +1828,16 @@ static unsigned long wxColour_GetRGB(wxColour *self){ return self->Red() | (self->Green() << 8) | (self->Blue() << 16); } -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)); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1682,14 +1851,14 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)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 /*@@*/ @@ -1855,7 +2024,7 @@ static int wxIconLocation_GetIndex(wxIconLocation *self){ } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1869,7 +2038,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -2029,7 +2198,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -2043,7 +2212,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -2066,7 +2235,7 @@ static wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){ return widths; } - /*@/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 /*@@*/ @@ -2146,7 +2315,7 @@ static void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name, #include "wx/renderer.h" -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_bool(bool value) { PyObject *obj = value ? Py_True : Py_False; @@ -2158,7 +2327,7 @@ SWIGINTERNSHORT PyObject* extern "C" { #endif static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *result; char *kwnames[] = { NULL @@ -2181,7 +2350,7 @@ static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *arg1 = (wxGDIObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2206,7 +2375,7 @@ static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *arg1 = (wxGDIObject *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2234,7 +2403,7 @@ static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *arg1 = (wxGDIObject *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2247,7 +2416,7 @@ static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, 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; } { @@ -2265,7 +2434,7 @@ static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GDIObject_IsNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *arg1 = (wxGDIObject *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2300,7 +2469,7 @@ static PyObject * GDIObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; byte arg1 = (byte) 0 ; byte arg2 = (byte) 0 ; byte arg3 = (byte) 0 ; @@ -2315,19 +2484,19 @@ static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (byte)(SWIG_As_unsigned_SS_char(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_char(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -2346,7 +2515,7 @@ static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxColour *result; bool temp1 = false ; @@ -2385,7 +2554,7 @@ static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; wxColour *result; PyObject * obj0 = 0 ; @@ -2395,7 +2564,7 @@ static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -2413,7 +2582,7 @@ static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2438,7 +2607,7 @@ static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -2457,7 +2626,7 @@ static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -2466,7 +2635,7 @@ static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -2485,7 +2654,7 @@ static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -2494,7 +2663,7 @@ static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -2513,7 +2682,7 @@ static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -2522,7 +2691,7 @@ static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2550,7 +2719,7 @@ static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; byte arg2 ; byte arg3 ; @@ -2567,15 +2736,15 @@ static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -2593,7 +2762,7 @@ static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; unsigned long arg2 ; PyObject * obj0 = 0 ; @@ -2606,7 +2775,7 @@ static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, 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; } { @@ -2624,7 +2793,7 @@ static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2665,7 +2834,7 @@ static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; long result; PyObject * obj0 = 0 ; @@ -2684,7 +2853,7 @@ static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -2693,7 +2862,7 @@ static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -2728,7 +2897,7 @@ static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -2763,7 +2932,7 @@ static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -2789,7 +2958,7 @@ static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; unsigned long result; PyObject * obj0 = 0 ; @@ -2808,7 +2977,7 @@ static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwarg 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: @@ -2824,7 +2993,7 @@ static PyObject * Colour_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; unsigned char *arg2 = (unsigned char *) 0 ; unsigned char *arg3 = (unsigned char *) 0 ; @@ -2840,7 +3009,7 @@ static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_unsigned_char, SWIG_POINTER_EXCEPTION | 0); @@ -2865,7 +3034,7 @@ static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2890,7 +3059,7 @@ static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; byte arg2 ; byte arg3 ; @@ -2908,15 +3077,15 @@ static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -2927,7 +3096,7 @@ static PyObject *_wrap_Palette_GetPixel(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: @@ -2936,7 +3105,7 @@ static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; int arg2 ; byte *arg3 = (byte *) 0 ; @@ -2962,7 +3131,7 @@ static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2988,7 +3157,7 @@ static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Palette_GetColoursCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3007,7 +3176,7 @@ static PyObject *_wrap_Palette_GetColoursCount(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: @@ -3016,7 +3185,7 @@ static PyObject *_wrap_Palette_GetColoursCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Palette_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3051,7 +3220,7 @@ static PyObject * Palette_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = 0 ; int arg2 = (int) 1 ; int arg3 = (int) wxSOLID ; @@ -3071,13 +3240,13 @@ static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -3097,7 +3266,7 @@ static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3122,7 +3291,7 @@ static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3141,7 +3310,7 @@ static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3150,7 +3319,7 @@ static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3170,7 +3339,7 @@ static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwarg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3180,7 +3349,7 @@ static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3199,7 +3368,7 @@ static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3208,7 +3377,7 @@ static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3227,7 +3396,7 @@ static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3236,7 +3405,7 @@ static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3255,7 +3424,7 @@ static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3264,7 +3433,7 @@ static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3292,7 +3461,7 @@ static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3305,7 +3474,7 @@ static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3323,7 +3492,7 @@ static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -3355,7 +3524,7 @@ static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3368,7 +3537,7 @@ static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3386,7 +3555,7 @@ static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3399,7 +3568,7 @@ static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3417,7 +3586,7 @@ static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3430,7 +3599,7 @@ static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3448,7 +3617,7 @@ static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; wxDash *arg3 = (wxDash *) 0 ; @@ -3487,7 +3656,7 @@ static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -3513,7 +3682,7 @@ static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Pen__SetDashes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -3544,7 +3713,7 @@ static PyObject *_wrap_Pen__SetDashes(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Pen_GetDashCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3563,7 +3732,7 @@ static PyObject *_wrap_Pen_GetDashCount(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: @@ -3572,7 +3741,7 @@ static PyObject *_wrap_Pen_GetDashCount(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; wxPen *arg2 = (wxPen *) 0 ; bool result; @@ -3604,7 +3773,7 @@ static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; wxPen *arg2 = (wxPen *) 0 ; bool result; @@ -3643,7 +3812,7 @@ static PyObject * Pen_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = 0 ; int arg2 = (int) wxSOLID ; wxBrush *result; @@ -3661,7 +3830,7 @@ static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3681,7 +3850,7 @@ static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_BrushFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxBrush *result; PyObject * obj0 = 0 ; @@ -3714,7 +3883,7 @@ static PyObject *_wrap_new_BrushFromBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3739,7 +3908,7 @@ static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -3771,7 +3940,7 @@ static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3784,7 +3953,7 @@ static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3802,7 +3971,7 @@ static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3837,7 +4006,7 @@ static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3857,7 +4026,7 @@ static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwa } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3867,7 +4036,7 @@ static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3886,7 +4055,7 @@ static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3895,7 +4064,7 @@ static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -3921,7 +4090,7 @@ static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Brush_IsHatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3949,7 +4118,7 @@ static PyObject *_wrap_Brush_IsHatch(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3984,7 +4153,7 @@ static PyObject * Brush_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBitmapType arg2 = (wxBitmapType) wxBITMAP_TYPE_ANY ; wxBitmap *result; @@ -4003,14 +4172,14 @@ static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) } if (obj1) { { - arg2 = (wxBitmapType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2); + result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4031,7 +4200,7 @@ static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4056,7 +4225,7 @@ static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 = (int) -1 ; @@ -4070,16 +4239,16 @@ static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4099,7 +4268,7 @@ static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -4132,7 +4301,7 @@ static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = 0 ; int arg2 = (int) -1 ; wxBitmap *result; @@ -4153,7 +4322,7 @@ static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4173,7 +4342,7 @@ static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -4199,7 +4368,7 @@ static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; @@ -4216,16 +4385,16 @@ static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; arg1 = obj0; { - 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; } } @@ -4245,7 +4414,7 @@ static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4273,7 +4442,7 @@ static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4292,7 +4461,7 @@ static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4301,7 +4470,7 @@ static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4320,7 +4489,7 @@ static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4329,7 +4498,7 @@ static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4348,7 +4517,7 @@ static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4357,7 +4526,7 @@ static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -4377,7 +4546,7 @@ static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -4387,7 +4556,7 @@ static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -4407,7 +4576,7 @@ static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObjec } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -4417,7 +4586,7 @@ static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxMask *result; PyObject * obj0 = 0 ; @@ -4443,7 +4612,7 @@ static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxMask *arg2 = (wxMask *) 0 ; PyObject * obj0 = 0 ; @@ -4472,7 +4641,7 @@ static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -4504,7 +4673,7 @@ static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxRect *arg2 = 0 ; SwigValueWrapper result; @@ -4531,7 +4700,7 @@ static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -4541,7 +4710,7 @@ static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxString *arg2 = 0 ; wxBitmapType arg3 ; @@ -4565,7 +4734,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwa temp2 = true; } { - arg3 = (wxBitmapType)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -4574,7 +4743,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwa } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxBitmapType )arg3,arg4); + result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4597,7 +4766,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxString *arg2 = 0 ; wxBitmapType arg3 ; @@ -4619,12 +4788,12 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwa temp2 = true; } { - arg3 = (wxBitmapType)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3); + result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4647,7 +4816,7 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_GetPalette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxPalette *result; PyObject * obj0 = 0 ; @@ -4673,7 +4842,7 @@ static PyObject *_wrap_Bitmap_GetPalette(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxIcon *arg2 = 0 ; bool result; @@ -4711,7 +4880,7 @@ static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4724,7 +4893,7 @@ static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4742,7 +4911,7 @@ static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4755,7 +4924,7 @@ static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4773,7 +4942,7 @@ static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4786,7 +4955,7 @@ static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4804,7 +4973,7 @@ static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -4836,7 +5005,7 @@ static PyObject *_wrap_Bitmap_SetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxBitmap *arg2 = (wxBitmap *) 0 ; bool result; @@ -4868,7 +5037,7 @@ static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Bitmap___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxBitmap *arg2 = (wxBitmap *) 0 ; bool result; @@ -4907,7 +5076,7 @@ static PyObject * Bitmap_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Mask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxColour const &arg2_defvalue = wxNullColour ; wxColour *arg2 = (wxColour *) &arg2_defvalue ; @@ -4957,7 +5126,7 @@ static PyObject * Mask_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBitmapType arg2 ; int arg3 = (int) -1 ; @@ -4979,25 +5148,25 @@ static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) { temp1 = true; } { - arg2 = (wxBitmapType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4); + result = (wxIcon *)new wxIcon((wxString const &)*arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5018,7 +5187,7 @@ static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5043,7 +5212,7 @@ static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *result; char *kwnames[] = { NULL @@ -5066,7 +5235,7 @@ static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -5099,7 +5268,7 @@ static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -5132,7 +5301,7 @@ static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -5158,7 +5327,7 @@ static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Icon_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; wxString *arg2 = 0 ; wxBitmapType arg3 ; @@ -5180,12 +5349,12 @@ static PyObject *_wrap_Icon_LoadFile(PyObject *, PyObject *args, PyObject *kwarg temp2 = true; } { - arg3 = (wxBitmapType)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3); + result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5208,7 +5377,7 @@ static PyObject *_wrap_Icon_LoadFile(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5236,7 +5405,7 @@ static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5255,7 +5424,7 @@ static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5264,7 +5433,7 @@ static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5283,7 +5452,7 @@ static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5292,7 +5461,7 @@ static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5311,7 +5480,7 @@ static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5320,7 +5489,7 @@ static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5333,7 +5502,7 @@ static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5351,7 +5520,7 @@ static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5364,7 +5533,7 @@ static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5382,7 +5551,7 @@ static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5395,7 +5564,7 @@ static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5413,7 +5582,7 @@ static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -5455,7 +5624,7 @@ static PyObject * Icon_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = (wxString *) &wxPyEmptyString ; int arg2 = (int) 0 ; wxIconLocation *result; @@ -5476,7 +5645,7 @@ static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kw } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -5503,7 +5672,7 @@ static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5528,7 +5697,7 @@ static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5556,7 +5725,7 @@ static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5597,7 +5766,7 @@ static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -5632,7 +5801,7 @@ static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5645,7 +5814,7 @@ static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5663,7 +5832,7 @@ static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_IconLocation_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5682,7 +5851,7 @@ static PyObject *_wrap_IconLocation_GetIndex(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: @@ -5698,7 +5867,7 @@ static PyObject * IconLocation_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *result; char *kwnames[] = { NULL @@ -5720,7 +5889,7 @@ static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 ; wxIconBundle *result; @@ -5738,7 +5907,7 @@ static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObje temp1 = true; } { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5764,7 +5933,7 @@ static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObje static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = 0 ; wxIconBundle *result; PyObject * obj0 = 0 ; @@ -5796,7 +5965,7 @@ static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObje static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *arg1 = (wxIconBundle *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5821,7 +5990,7 @@ static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *arg1 = (wxIconBundle *) 0 ; wxIcon *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -5856,7 +6025,7 @@ static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *arg1 = (wxIconBundle *) 0 ; wxString *arg2 = 0 ; long arg3 ; @@ -5877,7 +6046,7 @@ static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, Py temp2 = true; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5903,7 +6072,7 @@ static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, Py static PyObject *_wrap_IconBundle_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *arg1 = (wxIconBundle *) 0 ; wxSize *arg2 = 0 ; wxIcon *result; @@ -5949,7 +6118,7 @@ static PyObject * IconBundle_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 ; int arg3 = (int) 0 ; @@ -5971,18 +6140,18 @@ static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) temp1 = true; } { - 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; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6010,7 +6179,7 @@ static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6035,7 +6204,7 @@ static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxCursor *result; PyObject * obj0 = 0 ; @@ -6045,7 +6214,7 @@ static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6064,7 +6233,7 @@ static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = 0 ; wxCursor *result; PyObject * obj0 = 0 ; @@ -6097,7 +6266,7 @@ static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Cursor_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6132,7 +6301,7 @@ static PyObject * Cursor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -6149,25 +6318,25 @@ static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6187,7 +6356,7 @@ static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxRegion *result; PyObject * obj0 = 0 ; @@ -6220,7 +6389,7 @@ static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxColour *arg2 = 0 ; int arg3 = (int) 0 ; @@ -6248,7 +6417,7 @@ static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6268,7 +6437,7 @@ static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, Py static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxPoint *arg2 = (wxPoint *) 0 ; int arg3 = (int) wxWINDING_RULE ; @@ -6286,7 +6455,7 @@ static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg3 = (int)(SWIG_As_int(obj1)); + arg3 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6312,7 +6481,7 @@ static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6337,7 +6506,7 @@ static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6362,7 +6531,7 @@ static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6378,11 +6547,11 @@ static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6402,7 +6571,7 @@ static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6418,11 +6587,11 @@ static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6440,7 +6609,7 @@ static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxPoint *arg2 = 0 ; wxRegionContain result; @@ -6473,7 +6642,7 @@ static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; wxRegionContain result; @@ -6506,7 +6675,7 @@ static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6526,19 +6695,19 @@ static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6556,7 +6725,7 @@ static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -6576,7 +6745,7 @@ static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwarg } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -6586,7 +6755,7 @@ static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6606,19 +6775,19 @@ static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6638,7 +6807,7 @@ static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6673,7 +6842,7 @@ static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -6711,7 +6880,7 @@ static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6739,7 +6908,7 @@ static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6759,19 +6928,19 @@ static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6791,7 +6960,7 @@ static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6826,7 +6995,7 @@ static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -6864,7 +7033,7 @@ static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6884,19 +7053,19 @@ static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6916,7 +7085,7 @@ static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6951,7 +7120,7 @@ static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -6989,7 +7158,7 @@ static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -7009,19 +7178,19 @@ static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7041,7 +7210,7 @@ static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -7076,7 +7245,7 @@ static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -7114,7 +7283,7 @@ static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -7134,7 +7303,7 @@ static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObje } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -7144,7 +7313,7 @@ static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxBitmap *arg2 = 0 ; bool result; @@ -7182,7 +7351,7 @@ static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Region_UnionBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxBitmap *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -7214,7 +7383,7 @@ static PyObject *_wrap_Region_UnionBitmapColour(PyObject *, PyObject *args, PyOb } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -7242,7 +7411,7 @@ static PyObject * Region_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = 0 ; wxRegionIterator *result; PyObject * obj0 = 0 ; @@ -7275,7 +7444,7 @@ static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7300,7 +7469,7 @@ static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7319,7 +7488,7 @@ static PyObject *_wrap_RegionIterator_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: @@ -7328,7 +7497,7 @@ static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7347,7 +7516,7 @@ static PyObject *_wrap_RegionIterator_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: @@ -7356,7 +7525,7 @@ static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7375,7 +7544,7 @@ static PyObject *_wrap_RegionIterator_GetW(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: @@ -7384,7 +7553,7 @@ static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7403,7 +7572,7 @@ static PyObject *_wrap_RegionIterator_GetWidth(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: @@ -7412,7 +7581,7 @@ static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7431,7 +7600,7 @@ static PyObject *_wrap_RegionIterator_GetH(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: @@ -7440,7 +7609,7 @@ static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7459,7 +7628,7 @@ static PyObject *_wrap_RegionIterator_GetHeight(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: @@ -7468,7 +7637,7 @@ static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -7488,7 +7657,7 @@ static PyObject *_wrap_RegionIterator_GetRect(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; @@ -7498,7 +7667,7 @@ static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObje static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7526,7 +7695,7 @@ static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyOb static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7551,7 +7720,7 @@ static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7576,7 +7745,7 @@ static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7611,7 +7780,7 @@ static PyObject * RegionIterator_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *result; char *kwnames[] = { NULL @@ -7633,7 +7802,7 @@ static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7658,7 +7827,7 @@ static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7683,7 +7852,7 @@ static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7718,7 +7887,7 @@ static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, P static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7737,7 +7906,7 @@ static PyObject *_wrap_NativeFontInfo_GetPointSize(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: @@ -7746,7 +7915,7 @@ static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, P static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontStyle result; PyObject * obj0 = 0 ; @@ -7772,7 +7941,7 @@ static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontWeight result; PyObject * obj0 = 0 ; @@ -7798,7 +7967,7 @@ static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7826,7 +7995,7 @@ static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7858,7 +8027,7 @@ static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, Py static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontFamily result; PyObject * obj0 = 0 ; @@ -7884,7 +8053,7 @@ static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyOb static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontEncoding result; PyObject * obj0 = 0 ; @@ -7910,7 +8079,7 @@ static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, Py static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7923,7 +8092,7 @@ static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7941,7 +8110,7 @@ static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, P static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontStyle arg2 ; PyObject * obj0 = 0 ; @@ -7954,12 +8123,12 @@ static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontStyle)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetStyle((wxFontStyle )arg2); + (arg1)->SetStyle(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -7972,7 +8141,7 @@ static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontWeight arg2 ; PyObject * obj0 = 0 ; @@ -7985,12 +8154,12 @@ static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontWeight)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetWeight((wxFontWeight )arg2); + (arg1)->SetWeight(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8003,7 +8172,7 @@ static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -8016,7 +8185,7 @@ static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, 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; } { @@ -8034,7 +8203,7 @@ static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString arg2 ; PyObject * obj0 = 0 ; @@ -8067,7 +8236,7 @@ static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, Py static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontFamily arg2 ; PyObject * obj0 = 0 ; @@ -8080,12 +8249,12 @@ static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontFamily)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetFamily((wxFontFamily )arg2); + (arg1)->SetFamily(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8098,7 +8267,7 @@ static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyOb static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontEncoding arg2 ; PyObject * obj0 = 0 ; @@ -8111,12 +8280,12 @@ static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetEncoding((wxFontEncoding )arg2); + (arg1)->SetEncoding(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8129,7 +8298,7 @@ static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, Py static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8173,7 +8342,7 @@ static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyO static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8205,7 +8374,7 @@ static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8237,7 +8406,7 @@ static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObje static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8281,7 +8450,7 @@ static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8320,7 +8489,7 @@ static PyObject * NativeFontInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString *arg2 = (wxString *) 0 ; bool temp2 = false ; @@ -8356,7 +8525,7 @@ static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *arg static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8383,7 +8552,7 @@ static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *arg static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxFontEncoding arg2 ; PyObject * obj0 = 0 ; @@ -8396,10 +8565,10 @@ static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } - if (arg1) (arg1)->encoding = (wxFontEncoding )arg2; + if (arg1) (arg1)->encoding = arg2; Py_INCREF(Py_None); resultobj = Py_None; return resultobj; @@ -8409,7 +8578,7 @@ static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *arg static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxFontEncoding result; PyObject * obj0 = 0 ; @@ -8430,7 +8599,7 @@ static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *arg static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *result; char *kwnames[] = { NULL @@ -8452,7 +8621,7 @@ static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8477,7 +8646,7 @@ static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8521,7 +8690,7 @@ static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8560,7 +8729,7 @@ static PyObject * NativeEncodingInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxNativeEncodingInfo *result; PyObject * obj0 = 0 ; @@ -8570,12 +8739,12 @@ static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding((wxFontEncoding )arg1); + result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8588,7 +8757,7 @@ static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = 0 ; bool result; PyObject * obj0 = 0 ; @@ -8622,7 +8791,7 @@ static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *result; char *kwnames[] = { NULL @@ -8644,7 +8813,7 @@ static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8669,7 +8838,7 @@ static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *result; char *kwnames[] = { NULL @@ -8691,7 +8860,7 @@ static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxFontMapper *result; PyObject * obj0 = 0 ; @@ -8717,7 +8886,7 @@ static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -8740,7 +8909,7 @@ static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8767,7 +8936,7 @@ static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t result; char *kwnames[] = { NULL @@ -8782,7 +8951,7 @@ static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, 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: @@ -8791,7 +8960,7 @@ static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObjec static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t arg1 ; wxFontEncoding result; PyObject * obj0 = 0 ; @@ -8801,7 +8970,7 @@ static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail; { - arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -8819,7 +8988,7 @@ static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxString result; PyObject * obj0 = 0 ; @@ -8829,12 +8998,12 @@ static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxFontMapper::GetEncodingName((wxFontEncoding )arg1); + result = wxFontMapper::GetEncodingName(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8853,7 +9022,7 @@ static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, Py static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxString result; PyObject * obj0 = 0 ; @@ -8863,12 +9032,12 @@ static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxFontMapper::GetEncodingDescription((wxFontEncoding )arg1); + result = wxFontMapper::GetEncodingDescription(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8887,7 +9056,7 @@ static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *a static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxFontEncoding result; bool temp1 = false ; @@ -8925,7 +9094,7 @@ static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *, PyObject *args static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -8966,7 +9135,7 @@ static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -8994,7 +9163,7 @@ static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *arg static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxFontEncoding arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9014,7 +9183,7 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -9026,13 +9195,13 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,(wxFontEncoding )arg2,(wxString const &)*arg3,arg4); + result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,arg2,(wxString const &)*arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9053,7 +9222,7 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxFontEncoding arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9071,7 +9240,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -9083,7 +9252,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->IsEncodingAvailable((wxFontEncoding )arg2,(wxString const &)*arg3); + result = (bool)(arg1)->IsEncodingAvailable(arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9106,7 +9275,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -9135,7 +9304,7 @@ static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, Py static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9183,7 +9352,7 @@ static PyObject * FontMapper_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 ; @@ -9207,24 +9376,24 @@ static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -9237,14 +9406,14 @@ static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj6) { { - arg7 = (wxFontEncoding)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7); + result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9265,7 +9434,7 @@ static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9290,7 +9459,7 @@ static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -9323,7 +9492,7 @@ static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxFont *result; bool temp1 = false ; @@ -9362,7 +9531,7 @@ static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxFontFamily arg2 ; int arg3 = (int) wxFONTFLAG_DEFAULT ; @@ -9382,16 +9551,16 @@ static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_FFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxFontFamily)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9404,14 +9573,14 @@ static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj4) { { - arg5 = (wxFontEncoding)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5); + result = (wxFont *)new_wxFont(arg1,arg2,arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9432,7 +9601,7 @@ static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = 0 ; int arg2 ; int arg3 ; @@ -9461,20 +9630,20 @@ static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObjec if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -9487,14 +9656,14 @@ static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObjec } if (obj6) { { - arg7 = (wxFontEncoding)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7); + result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9515,7 +9684,7 @@ static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = 0 ; wxFontFamily arg2 ; int arg3 = (int) wxFONTFLAG_DEFAULT ; @@ -9540,12 +9709,12 @@ static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObje if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail; } { - arg2 = (wxFontFamily)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9558,14 +9727,14 @@ static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg5 = (wxFontEncoding)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)new_wxFont((wxSize const &)*arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5); + result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9586,7 +9755,7 @@ static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9614,7 +9783,7 @@ static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxFont *arg2 = (wxFont *) 0 ; bool result; @@ -9646,7 +9815,7 @@ static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxFont *arg2 = (wxFont *) 0 ; bool result; @@ -9678,7 +9847,7 @@ static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9697,7 +9866,7 @@ static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9706,7 +9875,7 @@ static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -9726,7 +9895,7 @@ static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -9736,7 +9905,7 @@ static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9764,7 +9933,7 @@ static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9783,7 +9952,7 @@ static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9792,7 +9961,7 @@ static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9811,7 +9980,7 @@ static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9820,7 +9989,7 @@ static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9839,7 +10008,7 @@ static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9848,7 +10017,7 @@ static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9876,7 +10045,7 @@ static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9908,7 +10077,7 @@ static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxFontEncoding result; PyObject * obj0 = 0 ; @@ -9934,7 +10103,7 @@ static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxNativeFontInfo *result; PyObject * obj0 = 0 ; @@ -9960,7 +10129,7 @@ static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9988,7 +10157,7 @@ static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10020,7 +10189,7 @@ static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, Py static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10052,7 +10221,7 @@ static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10065,7 +10234,7 @@ static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10083,7 +10252,7 @@ static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -10115,7 +10284,7 @@ static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10128,7 +10297,7 @@ static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10146,7 +10315,7 @@ static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10159,7 +10328,7 @@ static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10177,7 +10346,7 @@ static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10190,7 +10359,7 @@ static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10208,7 +10377,7 @@ static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10249,7 +10418,7 @@ static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -10262,7 +10431,7 @@ static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, 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; } { @@ -10280,7 +10449,7 @@ static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxFontEncoding arg2 ; PyObject * obj0 = 0 ; @@ -10293,12 +10462,12 @@ static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetEncoding((wxFontEncoding )arg2); + (arg1)->SetEncoding(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10311,7 +10480,7 @@ static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxNativeFontInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -10346,7 +10515,7 @@ static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10387,7 +10556,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *ar static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10428,7 +10597,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10460,7 +10629,7 @@ static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10492,7 +10661,7 @@ static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10524,7 +10693,7 @@ static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -10538,7 +10707,7 @@ static PyObject *_wrap_Font_SetNoAntiAliasing(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; } } @@ -10557,7 +10726,7 @@ static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10585,7 +10754,7 @@ static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding result; char *kwnames[] = { NULL @@ -10608,7 +10777,7 @@ static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10617,13 +10786,13 @@ static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(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(); - wxFont::SetDefaultEncoding((wxFontEncoding )arg1); + wxFont::SetDefaultEncoding(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10643,7 +10812,7 @@ static PyObject * Font_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *result; char *kwnames[] = { NULL @@ -10666,7 +10835,7 @@ static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10691,7 +10860,7 @@ static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10710,7 +10879,7 @@ static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *arg arg2 = obj1; arg3 = obj2; { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -10728,7 +10897,7 @@ static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; wxFontEncoding arg2 = (wxFontEncoding) wxFONTENCODING_SYSTEM ; bool arg3 = (bool) false ; @@ -10745,19 +10914,19 @@ static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *a if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxFontEncoding)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->EnumerateFacenames((wxFontEncoding )arg2,arg3); + result = (bool)(arg1)->EnumerateFacenames(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10772,7 +10941,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *a static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -10819,7 +10988,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *a static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -10845,7 +11014,7 @@ static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, P static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -10878,7 +11047,7 @@ static PyObject * FontEnumerator_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10891,7 +11060,7 @@ static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->Language = arg2; @@ -10904,7 +11073,7 @@ static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10918,7 +11087,7 @@ static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyO result = (int) ((arg1)->Language); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10927,7 +11096,7 @@ static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString *arg2 = (wxString *) 0 ; bool temp2 = false ; @@ -10963,7 +11132,7 @@ static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -10990,7 +11159,7 @@ static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString *arg2 = (wxString *) 0 ; bool temp2 = false ; @@ -11026,7 +11195,7 @@ static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, static PyObject *_wrap_LanguageInfo_Description_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -11060,7 +11229,7 @@ static PyObject * LanguageInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ; wxLocale *result; @@ -11073,13 +11242,13 @@ static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -11098,7 +11267,7 @@ static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11123,7 +11292,7 @@ static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -11170,13 +11339,13 @@ static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -11221,7 +11390,7 @@ static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; int arg2 = (int) wxLANGUAGE_DEFAULT ; int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ; @@ -11238,13 +11407,13 @@ static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11265,7 +11434,7 @@ static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -11280,7 +11449,7 @@ static PyObject *_wrap_Locale_GetSystemLanguage(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: @@ -11289,7 +11458,7 @@ static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding result; char *kwnames[] = { NULL @@ -11311,7 +11480,7 @@ static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -11339,7 +11508,7 @@ static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11367,7 +11536,7 @@ static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -11399,7 +11568,7 @@ static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11418,7 +11587,7 @@ static PyObject *_wrap_Locale_GetLanguage(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: @@ -11427,7 +11596,7 @@ static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -11459,7 +11628,7 @@ static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -11491,7 +11660,7 @@ static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -11528,7 +11697,7 @@ static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *a static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; bool result; @@ -11572,7 +11741,7 @@ static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; bool result; @@ -11616,7 +11785,7 @@ static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxLanguageInfo *result; PyObject * obj0 = 0 ; @@ -11626,7 +11795,7 @@ static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -11644,7 +11813,7 @@ static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxString result; PyObject * obj0 = 0 ; @@ -11654,7 +11823,7 @@ static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -11678,7 +11847,7 @@ static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxLanguageInfo *result; bool temp1 = false ; @@ -11716,7 +11885,7 @@ static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11747,7 +11916,7 @@ static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -11814,7 +11983,7 @@ static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Locale_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -11856,7 +12025,7 @@ static PyObject * Locale_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *result; char *kwnames[] = { NULL @@ -11878,7 +12047,7 @@ static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -11919,7 +12088,7 @@ static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; size_t arg3 ; @@ -11942,7 +12111,7 @@ static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) { temp2 = true; } { - 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; } { @@ -12023,7 +12192,7 @@ static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) { static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEncodingConverter *result; char *kwnames[] = { NULL @@ -12045,7 +12214,7 @@ static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12070,7 +12239,7 @@ static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyOb static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ; wxFontEncoding arg2 ; wxFontEncoding arg3 ; @@ -12088,22 +12257,22 @@ static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEncodingConverter, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (wxFontEncoding)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Init((wxFontEncoding )arg2,(wxFontEncoding )arg3,arg4); + result = (bool)(arg1)->Init(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12118,7 +12287,7 @@ static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObje static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -12166,7 +12335,7 @@ static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyO static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; int arg2 = (int) wxPLATFORM_CURRENT ; wxFontEncodingArray result; @@ -12178,18 +12347,18 @@ static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxFontEncoding)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding )arg1,arg2); + result = wxEncodingConverter::GetPlatformEquivalents(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12209,7 +12378,7 @@ static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyOb static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxFontEncodingArray result; PyObject * obj0 = 0 ; @@ -12219,12 +12388,12 @@ static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxEncodingConverter::GetAllEquivalents((wxFontEncoding )arg1); + result = wxEncodingConverter::GetAllEquivalents(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12244,7 +12413,7 @@ static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxFontEncoding arg2 ; bool result; @@ -12256,16 +12425,16 @@ static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxEncodingConverter::CanConvert((wxFontEncoding )arg1,(wxFontEncoding )arg2); + result = (bool)wxEncodingConverter::CanConvert(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12287,7 +12456,7 @@ static PyObject * EncodingConverter_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12312,7 +12481,7 @@ static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_BeginDrawing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12337,7 +12506,7 @@ static PyObject *_wrap_DC_BeginDrawing(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_EndDrawing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12362,7 +12531,7 @@ static PyObject *_wrap_DC_EndDrawing(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12383,11 +12552,11 @@ static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12396,7 +12565,7 @@ static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -12417,7 +12586,7 @@ static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -12446,7 +12615,7 @@ static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *k } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12467,7 +12636,7 @@ static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12483,11 +12652,11 @@ static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12499,7 +12668,7 @@ static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -12509,7 +12678,7 @@ static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxColour result; @@ -12536,7 +12705,7 @@ static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kw } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -12546,7 +12715,7 @@ static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12565,19 +12734,19 @@ static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12595,7 +12764,7 @@ static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_DrawLinePoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -12634,7 +12803,7 @@ static PyObject *_wrap_DC_DrawLinePoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12649,11 +12818,11 @@ static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12671,7 +12840,7 @@ static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_CrossHairPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -12703,7 +12872,7 @@ static PyObject *_wrap_DC_CrossHairPoint(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12726,27 +12895,27 @@ static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -12764,7 +12933,7 @@ static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_DrawArcPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -12810,7 +12979,7 @@ static PyObject *_wrap_DC_DrawArcPoint(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12829,19 +12998,19 @@ static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12859,7 +13028,7 @@ static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -12891,7 +13060,7 @@ static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12914,27 +13083,27 @@ static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { - arg6 = (double)(SWIG_As_double(obj5)); + arg6 = static_cast(SWIG_As_double(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (double)(SWIG_As_double(obj6)); + arg7 = static_cast(SWIG_As_double(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -12952,7 +13121,7 @@ static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -12981,11 +13150,11 @@ static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, P if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (double)(SWIG_As_double(obj3)); + arg4 = static_cast(SWIG_As_double(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (double)(SWIG_As_double(obj4)); + arg5 = static_cast(SWIG_As_double(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -13003,7 +13172,7 @@ static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, P static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13018,11 +13187,11 @@ static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13040,7 +13209,7 @@ static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_DrawPointPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -13072,7 +13241,7 @@ static PyObject *_wrap_DC_DrawPointPoint(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13091,19 +13260,19 @@ static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13121,7 +13290,7 @@ static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -13153,7 +13322,7 @@ static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -13192,7 +13361,7 @@ static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13213,23 +13382,23 @@ static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { - arg6 = (double)(SWIG_As_double(obj5)); + arg6 = static_cast(SWIG_As_double(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -13247,7 +13416,7 @@ static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; double arg3 ; @@ -13267,7 +13436,7 @@ static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, P if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13285,7 +13454,7 @@ static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, P static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -13312,7 +13481,7 @@ static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *ar if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (double)(SWIG_As_double(obj3)); + arg4 = static_cast(SWIG_As_double(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13330,7 +13499,7 @@ static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *ar static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13347,15 +13516,15 @@ static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13373,7 +13542,7 @@ static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; int arg3 ; @@ -13393,7 +13562,7 @@ static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject * if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13411,7 +13580,7 @@ static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13430,19 +13599,19 @@ static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13460,7 +13629,7 @@ static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -13492,7 +13661,7 @@ static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -13531,7 +13700,7 @@ static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxIcon *arg2 = 0 ; int arg3 ; @@ -13556,11 +13725,11 @@ static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13578,7 +13747,7 @@ static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_DrawIconPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxIcon *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13620,7 +13789,7 @@ static PyObject *_wrap_DC_DrawIconPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBitmap *arg2 = 0 ; int arg3 ; @@ -13647,16 +13816,16 @@ static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -13675,7 +13844,7 @@ static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBitmap *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13706,7 +13875,7 @@ static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject * } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13725,7 +13894,7 @@ static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -13748,11 +13917,11 @@ static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) temp2 = true; } { - 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; } { @@ -13778,7 +13947,7 @@ static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_DrawTextPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13826,7 +13995,7 @@ static PyObject *_wrap_DC_DrawTextPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -13851,15 +14020,15 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject * temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (double)(SWIG_As_double(obj4)); + arg5 = static_cast(SWIG_As_double(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -13885,7 +14054,7 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13913,7 +14082,7 @@ static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObj if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (double)(SWIG_As_double(obj3)); + arg4 = static_cast(SWIG_As_double(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13939,7 +14108,7 @@ static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13973,52 +14142,52 @@ static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(6)) SWIG_fail; { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (bool)(SWIG_As_bool(obj9)); + arg10 = static_cast(SWIG_As_bool(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } if (obj10) { { - arg11 = (int)(SWIG_As_int(obj10)); + arg11 = static_cast(SWIG_As_int(obj10)); if (SWIG_arg_fail(11)) SWIG_fail; } } if (obj11) { { - arg12 = (int)(SWIG_As_int(obj11)); + arg12 = static_cast(SWIG_As_int(obj11)); if (SWIG_arg_fail(12)) SWIG_fail; } } @@ -14039,7 +14208,7 @@ static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -14085,13 +14254,13 @@ static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kw } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -14118,7 +14287,7 @@ static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -14137,19 +14306,19 @@ static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14167,7 +14336,7 @@ static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -14206,7 +14375,7 @@ static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *, PyObject *args, static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRegion *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14241,7 +14410,7 @@ static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -14273,7 +14442,7 @@ static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; @@ -14296,13 +14465,13 @@ static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs } if (obj2) { { - arg4 = (int)(SWIG_As_int(obj2)); + arg4 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj3) { { - arg5 = (int)(SWIG_As_int(obj3)); + arg5 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -14327,7 +14496,7 @@ static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; @@ -14352,19 +14521,19 @@ static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg4 = (int)(SWIG_As_int(obj2)); + arg4 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj3) { { - arg5 = (int)(SWIG_As_int(obj3)); + arg5 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj4) { { - arg6 = (int)(SWIG_As_int(obj4)); + arg6 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -14389,7 +14558,7 @@ static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxRect *arg3 = 0 ; @@ -14420,13 +14589,13 @@ static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -14453,7 +14622,7 @@ static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxBitmap *arg3 = 0 ; @@ -14495,13 +14664,13 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *k } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -14514,7 +14683,7 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } { @@ -14532,7 +14701,7 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; @@ -14570,7 +14739,7 @@ static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14595,7 +14764,7 @@ static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; bool result; @@ -14639,7 +14808,7 @@ static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14664,7 +14833,7 @@ static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14689,7 +14858,7 @@ static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14714,7 +14883,7 @@ static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14749,7 +14918,7 @@ static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPen *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14784,7 +14953,7 @@ static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBrush *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14819,7 +14988,7 @@ static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBrush *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14854,7 +15023,7 @@ static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14867,7 +15036,7 @@ static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 +15054,7 @@ static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPalette *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14920,7 +15089,7 @@ static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14945,7 +15114,7 @@ static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -14994,7 +15163,7 @@ static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -15014,7 +15183,7 @@ static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject * } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -15024,7 +15193,7 @@ static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15043,7 +15212,7 @@ static PyObject *_wrap_DC_GetCharHeight(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: @@ -15052,7 +15221,7 @@ static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15071,7 +15240,7 @@ static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15080,7 +15249,7 @@ static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -15133,7 +15302,7 @@ static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -15204,7 +15373,7 @@ static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -15269,7 +15438,7 @@ static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyO static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxArrayInt result; @@ -15319,7 +15488,7 @@ static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -15339,7 +15508,7 @@ static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -15349,7 +15518,7 @@ static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -15386,7 +15555,7 @@ static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -15406,7 +15575,7 @@ static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -15416,7 +15585,7 @@ static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -15453,7 +15622,7 @@ static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15467,7 +15636,7 @@ static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15478,7 +15647,7 @@ static PyObject *_wrap_DC_DeviceToLogicalX(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: @@ -15487,7 +15656,7 @@ static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15501,7 +15670,7 @@ static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15512,7 +15681,7 @@ static PyObject *_wrap_DC_DeviceToLogicalY(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: @@ -15521,7 +15690,7 @@ static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15535,7 +15704,7 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15546,7 +15715,7 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(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: @@ -15555,7 +15724,7 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15569,7 +15738,7 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15580,7 +15749,7 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(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: @@ -15589,7 +15758,7 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15603,7 +15772,7 @@ static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15614,7 +15783,7 @@ static PyObject *_wrap_DC_LogicalToDeviceX(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: @@ -15623,7 +15792,7 @@ static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15637,7 +15806,7 @@ static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15648,7 +15817,7 @@ static PyObject *_wrap_DC_LogicalToDeviceY(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: @@ -15657,7 +15826,7 @@ static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15671,7 +15840,7 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15682,7 +15851,7 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(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: @@ -15691,7 +15860,7 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15705,7 +15874,7 @@ static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15716,7 +15885,7 @@ static PyObject *_wrap_DC_LogicalToDeviceYRel(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: @@ -15725,7 +15894,7 @@ static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15753,7 +15922,7 @@ static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15781,7 +15950,7 @@ static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15800,7 +15969,7 @@ static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15809,7 +15978,7 @@ static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -15829,7 +15998,7 @@ static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) { } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -15839,7 +16008,7 @@ static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15867,7 +16036,7 @@ static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15886,7 +16055,7 @@ static PyObject *_wrap_DC_GetBackgroundMode(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: @@ -15895,7 +16064,7 @@ static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBrush *result; PyObject * obj0 = 0 ; @@ -15927,7 +16096,7 @@ static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBrush *result; PyObject * obj0 = 0 ; @@ -15959,7 +16128,7 @@ static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -15991,7 +16160,7 @@ static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPen *result; PyObject * obj0 = 0 ; @@ -16023,7 +16192,7 @@ static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -16052,7 +16221,7 @@ static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -16081,7 +16250,7 @@ static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -16113,7 +16282,7 @@ static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -16145,7 +16314,7 @@ static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16164,7 +16333,7 @@ static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16173,7 +16342,7 @@ static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16186,7 +16355,7 @@ static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16204,7 +16373,7 @@ static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ; @@ -16241,7 +16410,7 @@ static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; double arg2 ; double arg3 ; @@ -16256,11 +16425,11 @@ static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, 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; } { @@ -16278,7 +16447,7 @@ static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ; @@ -16315,7 +16484,7 @@ static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; double arg2 ; double arg3 ; @@ -16330,11 +16499,11 @@ static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, 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; } { @@ -16352,7 +16521,7 @@ static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -16372,7 +16541,7 @@ static PyObject *_wrap_DC_GetLogicalOrigin(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; @@ -16382,7 +16551,7 @@ static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -16419,7 +16588,7 @@ static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -16434,11 +16603,11 @@ static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16456,7 +16625,7 @@ static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -16488,7 +16657,7 @@ static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -16508,7 +16677,7 @@ static PyObject *_wrap_DC_GetDeviceOrigin(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; @@ -16518,7 +16687,7 @@ static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -16555,7 +16724,7 @@ static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -16570,11 +16739,11 @@ static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16592,7 +16761,7 @@ static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -16624,7 +16793,7 @@ static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; bool arg2 ; bool arg3 ; @@ -16639,11 +16808,11 @@ static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, 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; } { @@ -16661,7 +16830,7 @@ static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16680,7 +16849,7 @@ static PyObject *_wrap_DC_GetLogicalFunction(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: @@ -16689,7 +16858,7 @@ static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16702,7 +16871,7 @@ static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16720,7 +16889,7 @@ static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DC_ComputeScaleAndOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16745,7 +16914,7 @@ static PyObject *_wrap_DC_ComputeScaleAndOrigin(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -16760,11 +16929,11 @@ static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16782,7 +16951,7 @@ static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -16814,7 +16983,7 @@ static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16839,7 +17008,7 @@ static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16858,7 +17027,7 @@ static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16867,7 +17036,7 @@ static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16886,7 +17055,7 @@ static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16895,7 +17064,7 @@ static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16914,7 +17083,7 @@ static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16923,7 +17092,7 @@ static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16942,7 +17111,7 @@ static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16951,7 +17120,7 @@ static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -17000,7 +17169,7 @@ static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17035,7 +17204,7 @@ static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17070,7 +17239,7 @@ static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17105,7 +17274,7 @@ static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17140,7 +17309,7 @@ static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17175,7 +17344,7 @@ static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC__DrawTextList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17220,7 +17389,7 @@ static PyObject * DC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryDC *result; char *kwnames[] = { NULL @@ -17243,7 +17412,7 @@ static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxMemoryDC *result; PyObject * obj0 = 0 ; @@ -17270,7 +17439,7 @@ static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MemoryDC_SelectObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryDC *arg1 = (wxMemoryDC *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -17312,34 +17481,29 @@ static PyObject * MemoryDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; - wxBitmap const &arg2_defvalue = wxNullBitmap ; - wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ; - int arg3 = (int) wxBUFFER_CLIENT_AREA ; + wxBitmap *arg2 = 0 ; + int arg3 ; wxBufferedDC *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - if (obj1) { - { - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(2)) SWIG_fail; - if (arg2 == NULL) { - SWIG_null_ref("wxBitmap"); - } - if (SWIG_arg_fail(2)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxBitmap"); } + if (SWIG_arg_fail(2)) SWIG_fail; } - if (obj2) { - { - arg3 = (int)(SWIG_As_int(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; - } + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; @@ -17357,28 +17521,84 @@ static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; + wxDC *arg1 = (wxDC *) 0 ; + wxBitmap *arg2 = 0 ; + wxBufferedDC *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxBitmap"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_BufferedDC__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxDC *arg1 = (wxDC *) 0 ; + wxBufferedDC *result; + PyObject * obj0 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"O:new_BufferedDC",&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxBufferedDC *)new wxBufferedDC(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_BufferedDC__SWIG_3(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxSize *arg2 = 0 ; - int arg3 = (int) wxBUFFER_CLIENT_AREA ; + int arg3 ; wxBufferedDC *result; wxSize temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO|O:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; } - if (obj2) { - { - arg3 = (int)(SWIG_As_int(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; - } + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; @@ -17395,6 +17615,37 @@ static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) { } +static PyObject *_wrap_new_BufferedDC__SWIG_4(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxDC *arg1 = (wxDC *) 0 ; + wxSize *arg2 = 0 ; + wxBufferedDC *result; + wxSize temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; @@ -17404,7 +17655,7 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { for (ii = 0; (ii < argc) && (ii < 3); ii++) { argv[ii] = PyTuple_GetItem(args,ii); } - if ((argc >= 1) && (argc <= 3)) { + if (argc == 1) { int _v; { void *ptr; @@ -17416,9 +17667,21 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { } } if (_v) { - if (argc <= 1) { - return _wrap_new_BufferedDC__SWIG_0(self,args); + return _wrap_new_BufferedDC__SWIG_2(self,args); + } + } + if (argc == 2) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; } + } + if (_v) { { void *ptr = 0; if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) { @@ -17429,17 +17692,54 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { } } if (_v) { - if (argc <= 2) { - return _wrap_new_BufferedDC__SWIG_0(self,args); - } + return _wrap_new_BufferedDC__SWIG_1(self,args); + } + } + } + if (argc == 2) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2); + } + if (_v) { + return _wrap_new_BufferedDC__SWIG_4(self,args); + } + } + } + if (argc == 3) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2); + } + if (_v) { _v = SWIG_Check_int(argv[2]); if (_v) { - return _wrap_new_BufferedDC__SWIG_0(self,args); + return _wrap_new_BufferedDC__SWIG_3(self,args); } } } } - if ((argc >= 2) && (argc <= 3)) { + if (argc == 3) { int _v; { void *ptr; @@ -17452,15 +17752,18 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { } if (_v) { { - _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2); + void *ptr = 0; + if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = (ptr != 0); + } } if (_v) { - if (argc <= 2) { - return _wrap_new_BufferedDC__SWIG_1(self,args); - } _v = SWIG_Check_int(argv[2]); if (_v) { - return _wrap_new_BufferedDC__SWIG_1(self,args); + return _wrap_new_BufferedDC__SWIG_0(self,args); } } } @@ -17472,7 +17775,7 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBufferedDC *arg1 = (wxBufferedDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17497,7 +17800,7 @@ static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_BufferedDC_UnMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBufferedDC *arg1 = (wxBufferedDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17529,7 +17832,7 @@ static PyObject * BufferedDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BufferedPaintDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBitmap const &arg2_defvalue = wxNullBitmap ; wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ; @@ -17557,7 +17860,7 @@ static PyObject *_wrap_new_BufferedPaintDC(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; } } @@ -17584,7 +17887,7 @@ static PyObject * BufferedPaintDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScreenDC *result; char *kwnames[] = { NULL @@ -17607,7 +17910,7 @@ static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScreenDC *arg1 = (wxScreenDC *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -17639,7 +17942,7 @@ static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScreenDC *arg1 = (wxScreenDC *) 0 ; wxRect *arg2 = (wxRect *) NULL ; bool result; @@ -17673,7 +17976,7 @@ static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, Py static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScreenDC *arg1 = (wxScreenDC *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17708,7 +18011,7 @@ static PyObject * ScreenDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ClientDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxClientDC *result; PyObject * obj0 = 0 ; @@ -17742,7 +18045,7 @@ static PyObject * ClientDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PaintDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPaintDC *result; PyObject * obj0 = 0 ; @@ -17776,7 +18079,7 @@ static PyObject * PaintDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowDC *result; PyObject * obj0 = 0 ; @@ -17810,7 +18113,7 @@ static PyObject * WindowDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = 0 ; bool arg2 ; wxMirrorDC *result; @@ -17830,7 +18133,7 @@ static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -17856,7 +18159,7 @@ static PyObject * MirrorDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = 0 ; wxPostScriptDC *result; PyObject * obj0 = 0 ; @@ -17889,7 +18192,7 @@ static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ; wxPrintData *result; PyObject * obj0 = 0 ; @@ -17918,7 +18221,7 @@ static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyO static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ; wxPrintData *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -17953,7 +18256,7 @@ static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyO static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17962,7 +18265,7 @@ static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -17980,7 +18283,7 @@ static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, Py static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -17995,7 +18298,7 @@ static PyObject *_wrap_PostScriptDC_GetResolution(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: @@ -18011,7 +18314,7 @@ static PyObject * PostScriptDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxMetaFile *result; @@ -18060,7 +18363,7 @@ static PyObject * MetaFile_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -18088,13 +18391,13 @@ static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwar } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -18144,7 +18447,7 @@ static PyObject * MetaFileDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PrinterDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = 0 ; wxPrinterDC *result; PyObject * obj0 = 0 ; @@ -18184,7 +18487,7 @@ static PyObject * PrinterDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 = (int) true ; @@ -18200,22 +18503,22 @@ static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -18237,7 +18540,7 @@ static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18262,7 +18565,7 @@ static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; wxBitmap *arg2 = 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -18304,7 +18607,7 @@ static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18313,7 +18616,7 @@ static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; wxBitmap *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -18349,7 +18652,7 @@ static PyObject *_wrap_ImageList_AddWithColourMask(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: @@ -18358,7 +18661,7 @@ static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, P static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; wxIcon *arg2 = 0 ; int result; @@ -18387,7 +18690,7 @@ static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18396,7 +18699,7 @@ static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; SwigValueWrapper result; @@ -18410,7 +18713,7 @@ static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18422,7 +18725,7 @@ static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -18432,7 +18735,7 @@ static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; wxIcon result; @@ -18446,7 +18749,7 @@ static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18458,7 +18761,7 @@ static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *k } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } return resultobj; @@ -18468,7 +18771,7 @@ static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; wxBitmap *arg3 = 0 ; @@ -18484,7 +18787,7 @@ static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18512,7 +18815,7 @@ static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; wxDC *arg3 = 0 ; @@ -18536,7 +18839,7 @@ static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18548,22 +18851,22 @@ static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwar 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 = (bool const)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -18584,7 +18887,7 @@ static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18603,7 +18906,7 @@ static PyObject *_wrap_ImageList_GetImageCount(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: @@ -18612,7 +18915,7 @@ static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; bool result; @@ -18626,7 +18929,7 @@ static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18646,7 +18949,7 @@ static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18674,7 +18977,7 @@ static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; int *arg3 = 0 ; @@ -18695,7 +18998,7 @@ static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18730,7 +19033,7 @@ static int _wrap_NORMAL_FONT_set(PyObject *) { static PyObject *_wrap_NORMAL_FONT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -18744,7 +19047,7 @@ static int _wrap_SMALL_FONT_set(PyObject *) { static PyObject *_wrap_SMALL_FONT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -18758,7 +19061,7 @@ static int _wrap_ITALIC_FONT_set(PyObject *) { static PyObject *_wrap_ITALIC_FONT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -18772,7 +19075,7 @@ static int _wrap_SWISS_FONT_set(PyObject *) { static PyObject *_wrap_SWISS_FONT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -18786,7 +19089,7 @@ static int _wrap_RED_PEN_set(PyObject *) { static PyObject *_wrap_RED_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18800,7 +19103,7 @@ static int _wrap_CYAN_PEN_set(PyObject *) { static PyObject *_wrap_CYAN_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18814,7 +19117,7 @@ static int _wrap_GREEN_PEN_set(PyObject *) { static PyObject *_wrap_GREEN_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18828,7 +19131,7 @@ static int _wrap_BLACK_PEN_set(PyObject *) { static PyObject *_wrap_BLACK_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18842,7 +19145,7 @@ static int _wrap_WHITE_PEN_set(PyObject *) { static PyObject *_wrap_WHITE_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18856,7 +19159,7 @@ static int _wrap_TRANSPARENT_PEN_set(PyObject *) { static PyObject *_wrap_TRANSPARENT_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18870,7 +19173,7 @@ static int _wrap_BLACK_DASHED_PEN_set(PyObject *) { static PyObject *_wrap_BLACK_DASHED_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18884,7 +19187,7 @@ static int _wrap_GREY_PEN_set(PyObject *) { static PyObject *_wrap_GREY_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18898,7 +19201,7 @@ static int _wrap_MEDIUM_GREY_PEN_set(PyObject *) { static PyObject *_wrap_MEDIUM_GREY_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18912,7 +19215,7 @@ static int _wrap_LIGHT_GREY_PEN_set(PyObject *) { static PyObject *_wrap_LIGHT_GREY_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -18926,7 +19229,7 @@ static int _wrap_BLUE_BRUSH_set(PyObject *) { static PyObject *_wrap_BLUE_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -18940,7 +19243,7 @@ static int _wrap_GREEN_BRUSH_set(PyObject *) { static PyObject *_wrap_GREEN_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -18954,7 +19257,7 @@ static int _wrap_WHITE_BRUSH_set(PyObject *) { static PyObject *_wrap_WHITE_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -18968,7 +19271,7 @@ static int _wrap_BLACK_BRUSH_set(PyObject *) { static PyObject *_wrap_BLACK_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -18982,7 +19285,7 @@ static int _wrap_TRANSPARENT_BRUSH_set(PyObject *) { static PyObject *_wrap_TRANSPARENT_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -18996,7 +19299,7 @@ static int _wrap_CYAN_BRUSH_set(PyObject *) { static PyObject *_wrap_CYAN_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19010,7 +19313,7 @@ static int _wrap_RED_BRUSH_set(PyObject *) { static PyObject *_wrap_RED_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19024,7 +19327,7 @@ static int _wrap_GREY_BRUSH_set(PyObject *) { static PyObject *_wrap_GREY_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19038,7 +19341,7 @@ static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *) { static PyObject *_wrap_MEDIUM_GREY_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19052,7 +19355,7 @@ static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *) { static PyObject *_wrap_LIGHT_GREY_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19066,7 +19369,7 @@ static int _wrap_BLACK_set(PyObject *) { static PyObject *_wrap_BLACK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19080,7 +19383,7 @@ static int _wrap_WHITE_set(PyObject *) { static PyObject *_wrap_WHITE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19094,7 +19397,7 @@ static int _wrap_RED_set(PyObject *) { static PyObject *_wrap_RED_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19108,7 +19411,7 @@ static int _wrap_BLUE_set(PyObject *) { static PyObject *_wrap_BLUE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19122,7 +19425,7 @@ static int _wrap_GREEN_set(PyObject *) { static PyObject *_wrap_GREEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19136,7 +19439,7 @@ static int _wrap_CYAN_set(PyObject *) { static PyObject *_wrap_CYAN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19150,7 +19453,7 @@ static int _wrap_LIGHT_GREY_set(PyObject *) { static PyObject *_wrap_LIGHT_GREY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19164,7 +19467,7 @@ static int _wrap_STANDARD_CURSOR_set(PyObject *) { static PyObject *_wrap_STANDARD_CURSOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0); return pyobj; @@ -19178,7 +19481,7 @@ static int _wrap_HOURGLASS_CURSOR_set(PyObject *) { static PyObject *_wrap_HOURGLASS_CURSOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0); return pyobj; @@ -19192,7 +19495,7 @@ static int _wrap_CROSS_CURSOR_set(PyObject *) { static PyObject *_wrap_CROSS_CURSOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0); return pyobj; @@ -19206,7 +19509,7 @@ static int _wrap_NullBitmap_set(PyObject *) { static PyObject *_wrap_NullBitmap_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0); return pyobj; @@ -19220,7 +19523,7 @@ static int _wrap_NullIcon_set(PyObject *) { static PyObject *_wrap_NullIcon_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0); return pyobj; @@ -19234,7 +19537,7 @@ static int _wrap_NullCursor_set(PyObject *) { static PyObject *_wrap_NullCursor_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0); return pyobj; @@ -19248,7 +19551,7 @@ static int _wrap_NullPen_set(PyObject *) { static PyObject *_wrap_NullPen_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19262,7 +19565,7 @@ static int _wrap_NullBrush_set(PyObject *) { static PyObject *_wrap_NullBrush_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19276,7 +19579,7 @@ static int _wrap_NullPalette_set(PyObject *) { static PyObject *_wrap_NullPalette_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0); return pyobj; @@ -19290,7 +19593,7 @@ static int _wrap_NullFont_set(PyObject *) { static PyObject *_wrap_NullFont_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -19304,7 +19607,7 @@ static int _wrap_NullColour_set(PyObject *) { static PyObject *_wrap_NullColour_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19312,7 +19615,7 @@ static PyObject *_wrap_NullColour_get(void) { static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPenList *arg1 = (wxPenList *) 0 ; wxPen *arg2 = (wxPen *) 0 ; PyObject * obj0 = 0 ; @@ -19341,7 +19644,7 @@ static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPenList *arg1 = (wxPenList *) 0 ; wxColour *arg2 = 0 ; int arg3 ; @@ -19364,11 +19667,11 @@ static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObj if ( ! wxColour_helper(obj1, &arg2)) 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; } { @@ -19386,7 +19689,7 @@ static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPenList *arg1 = (wxPenList *) 0 ; wxPen *arg2 = (wxPen *) 0 ; PyObject * obj0 = 0 ; @@ -19415,7 +19718,7 @@ static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_PenList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPenList *arg1 = (wxPenList *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19434,7 +19737,7 @@ static PyObject *_wrap_PenList_GetCount(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: @@ -19450,7 +19753,7 @@ static PyObject * PenList_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrushList *arg1 = (wxBrushList *) 0 ; wxBrush *arg2 = (wxBrush *) 0 ; PyObject * obj0 = 0 ; @@ -19479,7 +19782,7 @@ static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrushList *arg1 = (wxBrushList *) 0 ; wxColour *arg2 = 0 ; int arg3 = (int) wxSOLID ; @@ -19501,7 +19804,7 @@ static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -19520,7 +19823,7 @@ static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, P static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrushList *arg1 = (wxBrushList *) 0 ; wxBrush *arg2 = (wxBrush *) 0 ; PyObject * obj0 = 0 ; @@ -19549,7 +19852,7 @@ static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrushList *arg1 = (wxBrushList *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19568,7 +19871,7 @@ static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19584,7 +19887,7 @@ static PyObject * BrushList_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *result; char *kwnames[] = { NULL @@ -19607,7 +19910,7 @@ static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19632,7 +19935,7 @@ static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; wxColour result; @@ -19660,7 +19963,7 @@ static PyObject *_wrap_ColourDatabase_Find(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); } { @@ -19678,7 +19981,7 @@ static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxColour *arg2 = 0 ; wxString result; @@ -19717,7 +20020,7 @@ static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -19765,7 +20068,7 @@ static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -19790,15 +20093,15 @@ static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObjec temp2 = true; } { - 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; } { @@ -19831,7 +20134,7 @@ static PyObject * ColourDatabase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontList *arg1 = (wxFontList *) 0 ; wxFont *arg2 = (wxFont *) 0 ; PyObject * obj0 = 0 ; @@ -19860,7 +20163,7 @@ static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontList *arg1 = (wxFontList *) 0 ; int arg2 ; int arg3 ; @@ -19888,24 +20191,24 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -19918,13 +20221,13 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyO } if (obj7) { { - arg8 = (wxFontEncoding)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,(wxFontEncoding )arg8); + result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,arg8); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19945,7 +20248,7 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyO static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontList *arg1 = (wxFontList *) 0 ; wxFont *arg2 = (wxFont *) 0 ; PyObject * obj0 = 0 ; @@ -19974,7 +20277,7 @@ static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontList *arg1 = (wxFontList *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19993,7 +20296,7 @@ static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20015,7 +20318,7 @@ static int _wrap_TheFontList_set(PyObject *) { static PyObject *_wrap_TheFontList_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0); return pyobj; @@ -20029,7 +20332,7 @@ static int _wrap_ThePenList_set(PyObject *) { static PyObject *_wrap_ThePenList_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0); return pyobj; @@ -20043,7 +20346,7 @@ static int _wrap_TheBrushList_set(PyObject *) { static PyObject *_wrap_TheBrushList_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0); return pyobj; @@ -20057,7 +20360,7 @@ static int _wrap_TheColourDatabase_set(PyObject *) { static PyObject *_wrap_TheColourDatabase_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0); return pyobj; @@ -20065,7 +20368,7 @@ static PyObject *_wrap_TheColourDatabase_get(void) { static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *result; char *kwnames[] = { NULL @@ -20087,7 +20390,7 @@ static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20107,7 +20410,7 @@ static PyObject *_wrap_Effects_GetHighlightColour(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; @@ -20117,7 +20420,7 @@ static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20137,7 +20440,7 @@ static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -20147,7 +20450,7 @@ static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20167,7 +20470,7 @@ static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -20177,7 +20480,7 @@ static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20197,7 +20500,7 @@ static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObj } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -20207,7 +20510,7 @@ static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20227,7 +20530,7 @@ static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -20237,7 +20540,7 @@ static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20269,7 +20572,7 @@ static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20301,7 +20604,7 @@ static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20333,7 +20636,7 @@ static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20365,7 +20668,7 @@ static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20397,7 +20700,7 @@ static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -20457,7 +20760,7 @@ static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxDC *arg2 = 0 ; wxRect *arg3 = 0 ; @@ -20488,7 +20791,7 @@ static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObje } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -20507,7 +20810,7 @@ static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Effects_TileBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxRect *arg2 = 0 ; wxDC *arg3 = 0 ; @@ -20569,7 +20872,7 @@ static PyObject * Effects_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SplitterRenderParams(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; bool arg3 ; @@ -20583,15 +20886,15 @@ static PyObject *_wrap_new_SplitterRenderParams(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_SplitterRenderParams",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -20609,7 +20912,7 @@ static PyObject *_wrap_new_SplitterRenderParams(PyObject *, PyObject *args, PyOb static PyObject *_wrap_delete_SplitterRenderParams(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -20634,7 +20937,7 @@ static PyObject *_wrap_delete_SplitterRenderParams(PyObject *, PyObject *args, P static PyObject *_wrap_SplitterRenderParams_widthSash_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20648,7 +20951,7 @@ static PyObject *_wrap_SplitterRenderParams_widthSash_get(PyObject *, PyObject * result = (int)(int) ((arg1)->widthSash); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20657,7 +20960,7 @@ static PyObject *_wrap_SplitterRenderParams_widthSash_get(PyObject *, PyObject * static PyObject *_wrap_SplitterRenderParams_border_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20671,7 +20974,7 @@ static PyObject *_wrap_SplitterRenderParams_border_get(PyObject *, PyObject *arg result = (int)(int) ((arg1)->border); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20680,7 +20983,7 @@ static PyObject *_wrap_SplitterRenderParams_border_get(PyObject *, PyObject *arg static PyObject *_wrap_SplitterRenderParams_isHotSensitive_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20694,7 +20997,7 @@ static PyObject *_wrap_SplitterRenderParams_isHotSensitive_get(PyObject *, PyObj result = (bool)(bool) ((arg1)->isHotSensitive); { - resultobj = SWIG_From_bool((bool)(result)); + resultobj = SWIG_From_bool(static_cast(result)); } return resultobj; fail: @@ -20710,7 +21013,7 @@ static PyObject * SplitterRenderParams_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_RendererVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; wxRendererVersion *result; @@ -20722,11 +21025,11 @@ static PyObject *_wrap_new_RendererVersion(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RendererVersion",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20744,7 +21047,7 @@ static PyObject *_wrap_new_RendererVersion(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_RendererVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererVersion *arg1 = (wxRendererVersion *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -20769,7 +21072,7 @@ static PyObject *_wrap_delete_RendererVersion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_RendererVersion_IsCompatible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererVersion *arg1 = 0 ; bool result; PyObject * obj0 = 0 ; @@ -20803,7 +21106,7 @@ static PyObject *_wrap_RendererVersion_IsCompatible(PyObject *, PyObject *args, static PyObject *_wrap_RendererVersion_version_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererVersion *arg1 = (wxRendererVersion *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20817,7 +21120,7 @@ static PyObject *_wrap_RendererVersion_version_get(PyObject *, PyObject *args, P result = (int)(int) ((arg1)->version); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20826,7 +21129,7 @@ static PyObject *_wrap_RendererVersion_version_get(PyObject *, PyObject *args, P static PyObject *_wrap_RendererVersion_age_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererVersion *arg1 = (wxRendererVersion *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20840,7 +21143,7 @@ static PyObject *_wrap_RendererVersion_age_get(PyObject *, PyObject *args, PyObj result = (int)(int) ((arg1)->age); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20856,7 +21159,7 @@ static PyObject * RendererVersion_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -20891,7 +21194,7 @@ static PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *, PyObject *arg } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -20910,7 +21213,7 @@ static PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *, PyObject *arg static PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -20945,7 +21248,7 @@ static PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *, PyObject *a } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -20964,7 +21267,7 @@ static PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *, PyObject *a static PyObject *_wrap_RendererNative_DrawSplitterBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -20999,7 +21302,7 @@ static PyObject *_wrap_RendererNative_DrawSplitterBorder(PyObject *, PyObject *a } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -21018,7 +21321,7 @@ static PyObject *_wrap_RendererNative_DrawSplitterBorder(PyObject *, PyObject *a static PyObject *_wrap_RendererNative_DrawSplitterSash(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21056,22 +21359,22 @@ static PyObject *_wrap_RendererNative_DrawSplitterSash(PyObject *, PyObject *arg if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (wxOrientation)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->DrawSplitterSash(arg2,*arg3,(wxSize const &)*arg4,arg5,(wxOrientation )arg6,arg7); + (arg1)->DrawSplitterSash(arg2,*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21084,7 +21387,7 @@ static PyObject *_wrap_RendererNative_DrawSplitterSash(PyObject *, PyObject *arg static PyObject *_wrap_RendererNative_DrawComboBoxDropButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21119,7 +21422,7 @@ static PyObject *_wrap_RendererNative_DrawComboBoxDropButton(PyObject *, PyObjec } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -21138,7 +21441,7 @@ static PyObject *_wrap_RendererNative_DrawComboBoxDropButton(PyObject *, PyObjec static PyObject *_wrap_RendererNative_DrawDropArrow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21173,7 +21476,7 @@ static PyObject *_wrap_RendererNative_DrawDropArrow(PyObject *, PyObject *args, } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -21192,7 +21495,7 @@ static PyObject *_wrap_RendererNative_DrawDropArrow(PyObject *, PyObject *args, static PyObject *_wrap_RendererNative_GetSplitterParams(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; SwigValueWrapper result; @@ -21216,7 +21519,7 @@ static PyObject *_wrap_RendererNative_GetSplitterParams(PyObject *, PyObject *ar } { wxSplitterRenderParams * resultptr; - resultptr = new wxSplitterRenderParams((wxSplitterRenderParams &)(result)); + resultptr = new wxSplitterRenderParams(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSplitterRenderParams, 1); } return resultobj; @@ -21226,7 +21529,7 @@ static PyObject *_wrap_RendererNative_GetSplitterParams(PyObject *, PyObject *ar static PyObject *_wrap_RendererNative_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *result; char *kwnames[] = { NULL @@ -21251,7 +21554,7 @@ static PyObject *_wrap_RendererNative_Get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RendererNative_GetGeneric(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *result; char *kwnames[] = { NULL @@ -21276,7 +21579,7 @@ static PyObject *_wrap_RendererNative_GetGeneric(PyObject *, PyObject *args, PyO static PyObject *_wrap_RendererNative_GetDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *result; char *kwnames[] = { NULL @@ -21301,7 +21604,7 @@ static PyObject *_wrap_RendererNative_GetDefault(PyObject *, PyObject *args, PyO static PyObject *_wrap_RendererNative_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxRendererNative *result; PyObject * obj0 = 0 ; @@ -21327,7 +21630,7 @@ static PyObject *_wrap_RendererNative_Set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RendererNative_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -21347,7 +21650,7 @@ static PyObject *_wrap_RendererNative_GetVersion(PyObject *, PyObject *args, PyO } { wxRendererVersion * resultptr; - resultptr = new wxRendererVersion((wxRendererVersion &)(result)); + resultptr = new wxRendererVersion(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRendererVersion, 1); } return resultobj; @@ -22322,137 +22625,564 @@ static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { static void *_p_wxMenuBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxMenuBar *) x)); } -static swig_type_info _swigt__p_wxPostScriptDC[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0, 0, 0, 0},{"_p_wxPostScriptDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 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_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMirrorDC[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0, 0, 0, 0},{"_p_wxMirrorDC", 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_wxRendererVersion[] = {{"_p_wxRendererVersion", 0, "wxRendererVersion *", 0, 0, 0, 0},{"_p_wxRendererVersion", 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_wxPyFontEnumerator[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0, 0, 0, 0},{"_p_wxPyFontEnumerator", 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_wxIconLocation[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0, 0, 0, 0},{"_p_wxIconLocation", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMetaFileDC[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0, 0, 0, 0},{"_p_wxMetaFileDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMask[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 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_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_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFontMapper[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0, 0, 0, 0},{"_p_wxFontMapper", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEffects[] = {{"_p_wxEffects", 0, "wxEffects *", 0, 0, 0, 0},{"_p_wxEffects", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNativeEncodingInfo[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0, 0, 0, 0},{"_p_wxNativeEncodingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_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_wxPenList", _p_wxPenListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_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_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxPaintDC", _p_wxPaintDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRegionIterator[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0, 0, 0, 0},{"_p_wxRegionIterator", 0, 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_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_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__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_wxPrinterDC[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0, 0, 0, 0},{"_p_wxPrinterDC", 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_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_wxDash[] = {{"_p_wxDash", 0, "wxDash *", 0, 0, 0, 0},{"_p_wxDash", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScreenDC[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0, 0, 0, 0},{"_p_wxScreenDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxClientDC[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0, 0, 0, 0},{"_p_wxClientDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBufferedDC[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 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_wxGDIObject[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject, 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_wxLocale[] = {{"_p_wxLocale", 0, "wxLocale *", 0, 0, 0, 0},{"_p_wxLocale", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLanguageInfo[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowDC[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0, 0, 0, 0},{"_p_wxWindowDC", 0, 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_wxBrushList[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0, 0, 0, 0},{"_p_wxBrushList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFontList[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBufferedPaintDC[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0, 0, 0, 0},{"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaintDC[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0, 0, 0, 0},{"_p_wxPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPenList[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 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_wxMetaFile[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0, 0, 0, 0},{"_p_wxMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRendererNative[] = {{"_p_wxRendererNative", 0, "wxRendererNative *", 0, 0, 0, 0},{"_p_wxRendererNative", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNativeFontInfo[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0, 0, 0, 0},{"_p_wxNativeFontInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEncodingConverter[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0, 0, 0, 0},{"_p_wxEncodingConverter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSplitterRenderParams[] = {{"_p_wxSplitterRenderParams", 0, "wxSplitterRenderParams *", 0, 0, 0, 0},{"_p_wxSplitterRenderParams", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColourDatabase[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0, 0, 0, 0},{"_p_wxColourDatabase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxPostScriptDC, -_swigt__p_wxBrush, -_swigt__p_wxColour, -_swigt__p_wxDC, -_swigt__p_wxMirrorDC, -_swigt__p_form_ops_t, -_swigt__p_wxRendererVersion, -_swigt__p_wxDuplexMode, -_swigt__p_wxPyFontEnumerator, -_swigt__p_char, -_swigt__p_wxIconLocation, -_swigt__p_wxImage, -_swigt__p_wxMetaFileDC, -_swigt__p_wxMask, -_swigt__p_wxSize, -_swigt__p_wxFont, -_swigt__p_wxWindow, -_swigt__p_double, -_swigt__p_wxMemoryDC, -_swigt__p_wxFontMapper, -_swigt__p_wxEffects, -_swigt__p_wxNativeEncodingInfo, -_swigt__p_wxPalette, -_swigt__p_wxBitmap, -_swigt__p_wxObject, -_swigt__p_wxRegionIterator, -_swigt__p_wxRect, -_swigt__p_wxPaperSize, -_swigt__p_wxString, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_wxPrinterDC, -_swigt__p_wxIconBundle, -_swigt__p_wxPoint, -_swigt__p_wxDash, -_swigt__p_wxScreenDC, -_swigt__p_wxCursor, -_swigt__p_wxClientDC, -_swigt__p_wxBufferedDC, -_swigt__p_wxImageList, -_swigt__p_unsigned_char, -_swigt__p_wxGDIObject, -_swigt__p_wxIcon, -_swigt__p_wxLocale, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxRegion, -_swigt__p_wxLanguageInfo, -_swigt__p_wxWindowDC, -_swigt__p_wxPrintData, -_swigt__p_wxBrushList, -_swigt__p_wxFontList, -_swigt__p_wxPen, -_swigt__p_wxBufferedPaintDC, -_swigt__p_wxPaintDC, -_swigt__p_wxPenList, -_swigt__p_int, -_swigt__p_wxMetaFile, -_swigt__p_wxRendererNative, -_swigt__p_unsigned_long, -_swigt__p_wxNativeFontInfo, -_swigt__p_wxEncodingConverter, -_swigt__p_wxSplitterRenderParams, -_swigt__p_wxColourDatabase, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_double = {"_p_double", "double *", 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_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBrush = {"_p_wxBrush", "wxBrush *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBrushList = {"_p_wxBrushList", "wxBrushList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBufferedDC = {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBufferedPaintDC = {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxClientDC = {"_p_wxClientDC", "wxClientDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDatabase = {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDash = {"_p_wxDash", "wxDash *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEffects = {"_p_wxEffects", "wxEffects *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEncodingConverter = {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFontList = {"_p_wxFontList", "wxFontList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFontMapper = {"_p_wxFontMapper", "wxFontMapper *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGDIObject = {"_p_wxGDIObject", "wxGDIObject *", 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_wxIconLocation = {"_p_wxIconLocation", "wxIconLocation *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLanguageInfo = {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLocale = {"_p_wxLocale", "wxLocale *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMask = {"_p_wxMask", "wxMask *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMetaFile = {"_p_wxMetaFile", "wxMetaFile *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMetaFileDC = {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMirrorDC = {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNativeEncodingInfo = {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNativeFontInfo = {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 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_wxScrollEvent = {"_p_wxScrollEvent", 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_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 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_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_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_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 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_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaintDC = {"_p_wxPaintDC", "wxPaintDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPalette = {"_p_wxPalette", "wxPalette *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPen = {"_p_wxPen", "wxPen *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPenList = {"_p_wxPenList", "wxPenList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPostScriptDC = {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinterDC = {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyFontEnumerator = {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 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_wxRegionIterator = {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRendererNative = {"_p_wxRendererNative", "wxRendererNative *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRendererVersion = {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScreenDC = {"_p_wxScreenDC", "wxScreenDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterRenderParams = {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDC = {"_p_wxWindowDC", "wxWindowDC *", 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_double, + &_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_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBrush, + &_swigt__p_wxBrushList, + &_swigt__p_wxBufferedDC, + &_swigt__p_wxBufferedPaintDC, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClientDC, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxColourDatabase, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDash, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEffects, + &_swigt__p_wxEncodingConverter, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFontList, + &_swigt__p_wxFontMapper, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGDIObject, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconBundle, + &_swigt__p_wxIconLocation, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageList, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLanguageInfo, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxLocale, + &_swigt__p_wxMask, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryDC, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMetaFile, + &_swigt__p_wxMetaFileDC, + &_swigt__p_wxMirrorDC, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNativeEncodingInfo, + &_swigt__p_wxNativeFontInfo, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintDC, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPalette, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPen, + &_swigt__p_wxPenList, + &_swigt__p_wxPoint, + &_swigt__p_wxPostScriptDC, + &_swigt__p_wxPrintData, + &_swigt__p_wxPrinterDC, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyFontEnumerator, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxRegion, + &_swigt__p_wxRegionIterator, + &_swigt__p_wxRendererNative, + &_swigt__p_wxRendererVersion, + &_swigt__p_wxScreenDC, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSplitterRenderParams, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxString, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDC, + &_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_double[] = { {&_swigt__p_double, 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_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBrush[] = { {&_swigt__p_wxBrush, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBrushList[] = { {&_swigt__p_wxBrushList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBufferedDC[] = { {&_swigt__p_wxBufferedDC, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxBufferedDC, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBufferedPaintDC[] = { {&_swigt__p_wxBufferedPaintDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxClientDC[] = { {&_swigt__p_wxClientDC, 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_wxColourDatabase[] = { {&_swigt__p_wxColourDatabase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxBufferedDC, _p_wxBufferedDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxScreenDC, _p_wxScreenDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxMirrorDC, _p_wxMirrorDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxMemoryDC, _p_wxMemoryDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxWindowDC, _p_wxWindowDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxDC, 0, 0, 0}, {&_swigt__p_wxMetaFileDC, _p_wxMetaFileDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxClientDC, _p_wxClientDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxPaintDC, _p_wxPaintDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxPostScriptDC, _p_wxPostScriptDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxPrinterDC, _p_wxPrinterDCTo_p_wxDC, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDash[] = { {&_swigt__p_wxDash, 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_wxEffects[] = { {&_swigt__p_wxEffects, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEncodingConverter[] = { {&_swigt__p_wxEncodingConverter, 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_wxFontList[] = { {&_swigt__p_wxFontList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFontMapper[] = { {&_swigt__p_wxFontMapper, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGDIObject[] = { {&_swigt__p_wxIcon, _p_wxIconTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxPen, _p_wxPenTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxFont, _p_wxFontTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxPalette, _p_wxPaletteTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxGDIObject, 0, 0, 0}, {&_swigt__p_wxCursor, _p_wxCursorTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxBitmap, _p_wxBitmapTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxRegion, _p_wxRegionTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxBrush, _p_wxBrushTo_p_wxGDIObject, 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_wxIconLocation[] = { {&_swigt__p_wxIconLocation, 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_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLanguageInfo[] = { {&_swigt__p_wxLanguageInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLocale[] = { {&_swigt__p_wxLocale, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMask[] = { {&_swigt__p_wxMask, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxBufferedDC, _p_wxBufferedDCTo_p_wxMemoryDC, 0, 0}, {&_swigt__p_wxMemoryDC, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxMemoryDC, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMetaFile[] = { {&_swigt__p_wxMetaFile, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMetaFileDC[] = { {&_swigt__p_wxMetaFileDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMirrorDC[] = { {&_swigt__p_wxMirrorDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNativeEncodingInfo[] = { {&_swigt__p_wxNativeEncodingInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNativeFontInfo[] = { {&_swigt__p_wxNativeFontInfo, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 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_wxEvent[] = {{&_swigt__p_wxEvent, 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_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 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_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_wxControl[] = {{&_swigt__p_wxControl, 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_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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 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_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = {{&_swigt__p_wxEvtHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 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_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 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_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxRegionIterator, _p_wxRegionIteratorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPen, _p_wxPenTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDatabase, _p_wxColourDatabaseTo_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_wxPenList, _p_wxPenListTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMask, _p_wxMaskTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFont, _p_wxFontTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClientDC, _p_wxClientDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxMemoryDC, _p_wxMemoryDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxRegion, _p_wxRegionTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxDC, _p_wxDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxIcon, _p_wxIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDC, _p_wxWindowDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxGDIObject, _p_wxGDIObjectTo_p_wxObject, 0, 0}, {&_swigt__p_wxEffects, _p_wxEffectsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPostScriptDC, _p_wxPostScriptDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPaintDC, _p_wxPaintDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinterDC, _p_wxPrinterDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxScreenDC, _p_wxScreenDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBufferedDC, _p_wxBufferedDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxPalette, _p_wxPaletteTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageList, _p_wxImageListTo_p_wxObject, 0, 0}, {&_swigt__p_wxCursor, _p_wxCursorTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxMirrorDC, _p_wxMirrorDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxEncodingConverter, _p_wxEncodingConverterTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMetaFileDC, _p_wxMetaFileDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxBrushList, _p_wxBrushListTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmap, _p_wxBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBrush, _p_wxBrushTo_p_wxObject, 0, 0}, {&_swigt__p_wxMetaFile, _p_wxMetaFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxColour, _p_wxColourTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontList, _p_wxFontListTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaintDC[] = { {&_swigt__p_wxPaintDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPalette[] = { {&_swigt__p_wxPalette, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPen[] = { {&_swigt__p_wxPen, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPenList[] = { {&_swigt__p_wxPenList, 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_wxPostScriptDC[] = { {&_swigt__p_wxPostScriptDC, 0, 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_wxPrinterDC[] = { {&_swigt__p_wxPrinterDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyFontEnumerator[] = { {&_swigt__p_wxPyFontEnumerator, 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_wxRegionIterator[] = { {&_swigt__p_wxRegionIterator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRendererNative[] = { {&_swigt__p_wxRendererNative, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRendererVersion[] = { {&_swigt__p_wxRendererVersion, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScreenDC[] = { {&_swigt__p_wxScreenDC, 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_wxSplitterRenderParams[] = { {&_swigt__p_wxSplitterRenderParams, 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_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDC[] = { {&_swigt__p_wxWindowDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_char, + _swigc__p_double, + _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_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxBrush, + _swigc__p_wxBrushList, + _swigc__p_wxBufferedDC, + _swigc__p_wxBufferedPaintDC, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClientDC, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxColourDatabase, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDash, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEffects, + _swigc__p_wxEncodingConverter, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFontList, + _swigc__p_wxFontMapper, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGDIObject, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconBundle, + _swigc__p_wxIconLocation, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageList, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLanguageInfo, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxLocale, + _swigc__p_wxMask, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryDC, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMetaFile, + _swigc__p_wxMetaFileDC, + _swigc__p_wxMirrorDC, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNativeEncodingInfo, + _swigc__p_wxNativeFontInfo, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintDC, + _swigc__p_wxPaintEvent, + _swigc__p_wxPalette, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPen, + _swigc__p_wxPenList, + _swigc__p_wxPoint, + _swigc__p_wxPostScriptDC, + _swigc__p_wxPrintData, + _swigc__p_wxPrinterDC, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyFontEnumerator, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxRegion, + _swigc__p_wxRegionIterator, + _swigc__p_wxRendererNative, + _swigc__p_wxRendererVersion, + _swigc__p_wxScreenDC, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSplitterRenderParams, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxString, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDC, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -22464,6 +23194,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 @@ -22481,7 +23422,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; @@ -22491,13 +23432,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; @@ -22510,7 +23451,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -22523,7 +23464,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) { @@ -22536,72 +23477,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; } @@ -22610,11 +23568,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); @@ -22651,7 +23609,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, @@ -22663,7 +23621,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]); @@ -22676,14 +23634,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; + } + } } } } @@ -22693,69 +23655,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 @@ -22764,1192 +23663,1171 @@ 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,"OutRegion", SWIG_From_int((int)(wxOutRegion))); + PyDict_SetItemString(d,"OutRegion", SWIG_From_int(static_cast(wxOutRegion))); } { - PyDict_SetItemString(d,"PartRegion", SWIG_From_int((int)(wxPartRegion))); + PyDict_SetItemString(d,"PartRegion", SWIG_From_int(static_cast(wxPartRegion))); } { - PyDict_SetItemString(d,"InRegion", SWIG_From_int((int)(wxInRegion))); + PyDict_SetItemString(d,"InRegion", SWIG_From_int(static_cast(wxInRegion))); } { - PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT))); + PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_From_int(static_cast(wxFONTFAMILY_DEFAULT))); } { - PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE))); + PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_From_int(static_cast(wxFONTFAMILY_DECORATIVE))); } { - PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN))); + PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_From_int(static_cast(wxFONTFAMILY_ROMAN))); } { - PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT))); + PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_From_int(static_cast(wxFONTFAMILY_SCRIPT))); } { - PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS))); + PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_From_int(static_cast(wxFONTFAMILY_SWISS))); } { - PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN))); + PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_From_int(static_cast(wxFONTFAMILY_MODERN))); } { - PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE))); + PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_From_int(static_cast(wxFONTFAMILY_TELETYPE))); } { - PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX))); + PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_From_int(static_cast(wxFONTFAMILY_MAX))); } { - PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN))); + PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_From_int(static_cast(wxFONTFAMILY_UNKNOWN))); } { - PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL))); + PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_From_int(static_cast(wxFONTSTYLE_NORMAL))); } { - PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC))); + PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_From_int(static_cast(wxFONTSTYLE_ITALIC))); } { - PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT))); + PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_From_int(static_cast(wxFONTSTYLE_SLANT))); } { - PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX))); + PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_From_int(static_cast(wxFONTSTYLE_MAX))); } { - PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL))); + PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_From_int(static_cast(wxFONTWEIGHT_NORMAL))); } { - PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT))); + PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_From_int(static_cast(wxFONTWEIGHT_LIGHT))); } { - PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD))); + PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_From_int(static_cast(wxFONTWEIGHT_BOLD))); } { - PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX))); + PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_From_int(static_cast(wxFONTWEIGHT_MAX))); } { - PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT))); + PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_From_int(static_cast(wxFONTFLAG_DEFAULT))); } { - PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC))); + PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_From_int(static_cast(wxFONTFLAG_ITALIC))); } { - PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT))); + PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_From_int(static_cast(wxFONTFLAG_SLANT))); } { - PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT))); + PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_From_int(static_cast(wxFONTFLAG_LIGHT))); } { - PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD))); + PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_From_int(static_cast(wxFONTFLAG_BOLD))); } { - PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED))); + PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_From_int(static_cast(wxFONTFLAG_ANTIALIASED))); } { - PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED))); + PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int(static_cast(wxFONTFLAG_NOT_ANTIALIASED))); } { - PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED))); + PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_From_int(static_cast(wxFONTFLAG_UNDERLINED))); } { - PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH))); + PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_From_int(static_cast(wxFONTFLAG_STRIKETHROUGH))); } { - PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK))); + PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_From_int(static_cast(wxFONTFLAG_MASK))); } { - PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM))); + PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_From_int(static_cast(wxFONTENCODING_SYSTEM))); } { - PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT))); + PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_From_int(static_cast(wxFONTENCODING_DEFAULT))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_1))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_2))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_3))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_4))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_5))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_6))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_7))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_8))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_9))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_10))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_11))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_12))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_13))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_14))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_15))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_MAX))); } { - PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8))); + PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_From_int(static_cast(wxFONTENCODING_KOI8))); } { - PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U))); + PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_From_int(static_cast(wxFONTENCODING_KOI8_U))); } { - PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE))); + PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_From_int(static_cast(wxFONTENCODING_ALTERNATIVE))); } { - PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN))); + PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_From_int(static_cast(wxFONTENCODING_BULGARIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437))); + PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_From_int(static_cast(wxFONTENCODING_CP437))); } { - PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850))); + PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_From_int(static_cast(wxFONTENCODING_CP850))); } { - PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852))); + PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_From_int(static_cast(wxFONTENCODING_CP852))); } { - PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855))); + PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_From_int(static_cast(wxFONTENCODING_CP855))); } { - PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866))); + PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_From_int(static_cast(wxFONTENCODING_CP866))); } { - PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874))); + PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_From_int(static_cast(wxFONTENCODING_CP874))); } { - PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932))); + PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_From_int(static_cast(wxFONTENCODING_CP932))); } { - PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936))); + PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_From_int(static_cast(wxFONTENCODING_CP936))); } { - PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949))); + PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_From_int(static_cast(wxFONTENCODING_CP949))); } { - PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950))); + PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_From_int(static_cast(wxFONTENCODING_CP950))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250))); + PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_From_int(static_cast(wxFONTENCODING_CP1250))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251))); + PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_From_int(static_cast(wxFONTENCODING_CP1251))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252))); + PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_From_int(static_cast(wxFONTENCODING_CP1252))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253))); + PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_From_int(static_cast(wxFONTENCODING_CP1253))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254))); + PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_From_int(static_cast(wxFONTENCODING_CP1254))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255))); + PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_From_int(static_cast(wxFONTENCODING_CP1255))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256))); + PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_From_int(static_cast(wxFONTENCODING_CP1256))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257))); + PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_From_int(static_cast(wxFONTENCODING_CP1257))); } { - PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX))); + PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_From_int(static_cast(wxFONTENCODING_CP12_MAX))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7))); + PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_From_int(static_cast(wxFONTENCODING_UTF7))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8))); + PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_From_int(static_cast(wxFONTENCODING_UTF8))); } { - PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP))); + PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_From_int(static_cast(wxFONTENCODING_EUC_JP))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE))); + PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_From_int(static_cast(wxFONTENCODING_UTF16BE))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE))); + PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_From_int(static_cast(wxFONTENCODING_UTF16LE))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE))); + PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_From_int(static_cast(wxFONTENCODING_UTF32BE))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE))); + PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_From_int(static_cast(wxFONTENCODING_UTF32LE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN))); + PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_From_int(static_cast(wxFONTENCODING_MACROMAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE))); + PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_From_int(static_cast(wxFONTENCODING_MACJAPANESE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD))); + PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_From_int(static_cast(wxFONTENCODING_MACCHINESETRAD))); } { - PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN))); + PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_From_int(static_cast(wxFONTENCODING_MACKOREAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC))); + PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_From_int(static_cast(wxFONTENCODING_MACARABIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW))); + PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_From_int(static_cast(wxFONTENCODING_MACHEBREW))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK))); + PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_From_int(static_cast(wxFONTENCODING_MACGREEK))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC))); + PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_From_int(static_cast(wxFONTENCODING_MACCYRILLIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI))); + PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_From_int(static_cast(wxFONTENCODING_MACDEVANAGARI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI))); + PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_From_int(static_cast(wxFONTENCODING_MACGURMUKHI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI))); + PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_From_int(static_cast(wxFONTENCODING_MACGUJARATI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA))); + PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_From_int(static_cast(wxFONTENCODING_MACORIYA))); } { - PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI))); + PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_From_int(static_cast(wxFONTENCODING_MACBENGALI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL))); + PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_From_int(static_cast(wxFONTENCODING_MACTAMIL))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU))); + PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_From_int(static_cast(wxFONTENCODING_MACTELUGU))); } { - PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA))); + PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_From_int(static_cast(wxFONTENCODING_MACKANNADA))); } { - PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM))); + PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_From_int(static_cast(wxFONTENCODING_MACMALAJALAM))); } { - PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE))); + PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_From_int(static_cast(wxFONTENCODING_MACSINHALESE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE))); + PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_From_int(static_cast(wxFONTENCODING_MACBURMESE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER))); + PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_From_int(static_cast(wxFONTENCODING_MACKHMER))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI))); + PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_From_int(static_cast(wxFONTENCODING_MACTHAI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACLAOTIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACGEORGIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACARMENIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP))); + PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_From_int(static_cast(wxFONTENCODING_MACCHINESESIMP))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN))); + PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_From_int(static_cast(wxFONTENCODING_MACTIBETAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACMONGOLIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC))); + PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_From_int(static_cast(wxFONTENCODING_MACETHIOPIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR))); + PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_From_int(static_cast(wxFONTENCODING_MACCENTRALEUR))); } { - PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE))); + PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_From_int(static_cast(wxFONTENCODING_MACVIATNAMESE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT))); + PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_From_int(static_cast(wxFONTENCODING_MACARABICEXT))); } { - PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL))); + PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_From_int(static_cast(wxFONTENCODING_MACSYMBOL))); } { - PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS))); + PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_From_int(static_cast(wxFONTENCODING_MACDINGBATS))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH))); + PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_From_int(static_cast(wxFONTENCODING_MACTURKISH))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACCROATIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC))); + PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_From_int(static_cast(wxFONTENCODING_MACICELANDIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACROMANIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC))); + PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_From_int(static_cast(wxFONTENCODING_MACCELTIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC))); + PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_From_int(static_cast(wxFONTENCODING_MACGAELIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD))); + PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_From_int(static_cast(wxFONTENCODING_MACKEYBOARD))); } { - PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN))); + PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_From_int(static_cast(wxFONTENCODING_MACMIN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX))); + PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_From_int(static_cast(wxFONTENCODING_MACMAX))); } { - PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX))); + PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_From_int(static_cast(wxFONTENCODING_MAX))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16))); + PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_From_int(static_cast(wxFONTENCODING_UTF16))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32))); + PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_From_int(static_cast(wxFONTENCODING_UTF32))); } { - PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE))); + PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_From_int(static_cast(wxFONTENCODING_UNICODE))); } { - PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312))); + PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_From_int(static_cast(wxFONTENCODING_GB2312))); } { - PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5))); + PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_From_int(static_cast(wxFONTENCODING_BIG5))); } { - PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS))); + PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_From_int(static_cast(wxFONTENCODING_SHIFT_JIS))); } wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); { - PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT))); + PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_From_int(static_cast(wxLANGUAGE_DEFAULT))); } { - PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN))); + PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_From_int(static_cast(wxLANGUAGE_UNKNOWN))); } { - PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN))); + PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_From_int(static_cast(wxLANGUAGE_ABKHAZIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR))); + PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_From_int(static_cast(wxLANGUAGE_AFAR))); } { - PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS))); + PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_From_int(static_cast(wxLANGUAGE_AFRIKAANS))); } { - PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN))); + PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_From_int(static_cast(wxLANGUAGE_ALBANIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC))); + PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_From_int(static_cast(wxLANGUAGE_AMHARIC))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_ALGERIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_BAHRAIN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_EGYPT))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_IRAQ))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_JORDAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_KUWAIT))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_LEBANON))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_LIBYA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_MOROCCO))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_OMAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_QATAR))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_SAUDI_ARABIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_SUDAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_SYRIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_TUNISIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_UAE))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_YEMEN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN))); + PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_From_int(static_cast(wxLANGUAGE_ARMENIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE))); + PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_From_int(static_cast(wxLANGUAGE_ASSAMESE))); } { - PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA))); + PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_From_int(static_cast(wxLANGUAGE_AYMARA))); } { - PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI))); + PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_From_int(static_cast(wxLANGUAGE_AZERI))); } { - PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC))); + PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int(static_cast(wxLANGUAGE_AZERI_CYRILLIC))); } { - PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN))); + PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_From_int(static_cast(wxLANGUAGE_AZERI_LATIN))); } { - PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR))); + PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_From_int(static_cast(wxLANGUAGE_BASHKIR))); } { - PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE))); + PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_From_int(static_cast(wxLANGUAGE_BASQUE))); } { - PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN))); + PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_From_int(static_cast(wxLANGUAGE_BELARUSIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI))); + PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_From_int(static_cast(wxLANGUAGE_BENGALI))); } { - PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI))); + PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_From_int(static_cast(wxLANGUAGE_BHUTANI))); } { - PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI))); + PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_From_int(static_cast(wxLANGUAGE_BIHARI))); } { - PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA))); + PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_From_int(static_cast(wxLANGUAGE_BISLAMA))); } { - PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON))); + PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_From_int(static_cast(wxLANGUAGE_BRETON))); } { - PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN))); + PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_From_int(static_cast(wxLANGUAGE_BULGARIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE))); + PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_From_int(static_cast(wxLANGUAGE_BURMESE))); } { - PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN))); + PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_From_int(static_cast(wxLANGUAGE_CAMBODIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN))); + PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_From_int(static_cast(wxLANGUAGE_CATALAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_SIMPLIFIED))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_TRADITIONAL))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_HONGKONG))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_MACAU))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_SINGAPORE))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_TAIWAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN))); + PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_From_int(static_cast(wxLANGUAGE_CORSICAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN))); + PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_From_int(static_cast(wxLANGUAGE_CROATIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH))); + PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_From_int(static_cast(wxLANGUAGE_CZECH))); } { - PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH))); + PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_From_int(static_cast(wxLANGUAGE_DANISH))); } { - PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH))); + PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_From_int(static_cast(wxLANGUAGE_DUTCH))); } { - PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN))); + PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int(static_cast(wxLANGUAGE_DUTCH_BELGIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_UK))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_US))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_AUSTRALIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_BELIZE))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_BOTSWANA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_CANADA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_CARIBBEAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_DENMARK))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_EIRE))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_JAMAICA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_NEW_ZEALAND))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_PHILIPPINES))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_SOUTH_AFRICA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_TRINIDAD))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_ZIMBABWE))); } { - PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO))); + PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_From_int(static_cast(wxLANGUAGE_ESPERANTO))); } { - PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN))); + PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_From_int(static_cast(wxLANGUAGE_ESTONIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE))); + PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_From_int(static_cast(wxLANGUAGE_FAEROESE))); } { - PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI))); + PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_From_int(static_cast(wxLANGUAGE_FARSI))); } { - PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI))); + PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_From_int(static_cast(wxLANGUAGE_FIJI))); } { - PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH))); + PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_From_int(static_cast(wxLANGUAGE_FINNISH))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_BELGIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_CANADIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_LUXEMBOURG))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_MONACO))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_SWISS))); } { - PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN))); + PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_From_int(static_cast(wxLANGUAGE_FRISIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN))); + PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_From_int(static_cast(wxLANGUAGE_GALICIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN))); + PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_From_int(static_cast(wxLANGUAGE_GEORGIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_AUSTRIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_BELGIUM))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_LIECHTENSTEIN))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_LUXEMBOURG))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_SWISS))); } { - PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK))); + PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_From_int(static_cast(wxLANGUAGE_GREEK))); } { - PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC))); + PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_From_int(static_cast(wxLANGUAGE_GREENLANDIC))); } { - PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI))); + PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_From_int(static_cast(wxLANGUAGE_GUARANI))); } { - PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI))); + PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_From_int(static_cast(wxLANGUAGE_GUJARATI))); } { - PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA))); + PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_From_int(static_cast(wxLANGUAGE_HAUSA))); } { - PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW))); + PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_From_int(static_cast(wxLANGUAGE_HEBREW))); } { - PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI))); + PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_From_int(static_cast(wxLANGUAGE_HINDI))); } { - PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN))); + PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_From_int(static_cast(wxLANGUAGE_HUNGARIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC))); + PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_From_int(static_cast(wxLANGUAGE_ICELANDIC))); } { - PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN))); + PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_From_int(static_cast(wxLANGUAGE_INDONESIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA))); + PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_From_int(static_cast(wxLANGUAGE_INTERLINGUA))); } { - PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE))); + PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_From_int(static_cast(wxLANGUAGE_INTERLINGUE))); } { - PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT))); + PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_From_int(static_cast(wxLANGUAGE_INUKTITUT))); } { - PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK))); + PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_From_int(static_cast(wxLANGUAGE_INUPIAK))); } { - PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH))); + PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_From_int(static_cast(wxLANGUAGE_IRISH))); } { - PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN))); + PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_From_int(static_cast(wxLANGUAGE_ITALIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS))); + PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int(static_cast(wxLANGUAGE_ITALIAN_SWISS))); } { - PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE))); + PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_From_int(static_cast(wxLANGUAGE_JAPANESE))); } { - PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE))); + PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_From_int(static_cast(wxLANGUAGE_JAVANESE))); } { - PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA))); + PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_From_int(static_cast(wxLANGUAGE_KANNADA))); } { - PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI))); + PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_From_int(static_cast(wxLANGUAGE_KASHMIRI))); } { - PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA))); + PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int(static_cast(wxLANGUAGE_KASHMIRI_INDIA))); } { - PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH))); + PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_From_int(static_cast(wxLANGUAGE_KAZAKH))); } { - PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK))); + PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_From_int(static_cast(wxLANGUAGE_KERNEWEK))); } { - PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA))); + PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_From_int(static_cast(wxLANGUAGE_KINYARWANDA))); } { - PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ))); + PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_From_int(static_cast(wxLANGUAGE_KIRGHIZ))); } { - PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI))); + PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_From_int(static_cast(wxLANGUAGE_KIRUNDI))); } { - PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI))); + PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_From_int(static_cast(wxLANGUAGE_KONKANI))); } { - PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN))); + PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_From_int(static_cast(wxLANGUAGE_KOREAN))); } { - PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH))); + PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_From_int(static_cast(wxLANGUAGE_KURDISH))); } { - PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN))); + PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_From_int(static_cast(wxLANGUAGE_LAOTHIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN))); + PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_From_int(static_cast(wxLANGUAGE_LATIN))); } { - PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN))); + PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_From_int(static_cast(wxLANGUAGE_LATVIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA))); + PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_From_int(static_cast(wxLANGUAGE_LINGALA))); } { - PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN))); + PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_From_int(static_cast(wxLANGUAGE_LITHUANIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN))); + PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_From_int(static_cast(wxLANGUAGE_MACEDONIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY))); + PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_From_int(static_cast(wxLANGUAGE_MALAGASY))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY))); + PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_From_int(static_cast(wxLANGUAGE_MALAY))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM))); + PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_From_int(static_cast(wxLANGUAGE_MALAYALAM))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM))); + PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int(static_cast(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA))); + PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int(static_cast(wxLANGUAGE_MALAY_MALAYSIA))); } { - PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE))); + PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_From_int(static_cast(wxLANGUAGE_MALTESE))); } { - PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI))); + PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_From_int(static_cast(wxLANGUAGE_MANIPURI))); } { - PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI))); + PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_From_int(static_cast(wxLANGUAGE_MAORI))); } { - PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI))); + PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_From_int(static_cast(wxLANGUAGE_MARATHI))); } { - PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN))); + PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_From_int(static_cast(wxLANGUAGE_MOLDAVIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN))); + PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_From_int(static_cast(wxLANGUAGE_MONGOLIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU))); + PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_From_int(static_cast(wxLANGUAGE_NAURU))); } { - PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI))); + PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_From_int(static_cast(wxLANGUAGE_NEPALI))); } { - PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA))); + PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_From_int(static_cast(wxLANGUAGE_NEPALI_INDIA))); } { - PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL))); + PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int(static_cast(wxLANGUAGE_NORWEGIAN_BOKMAL))); } { - PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK))); + PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int(static_cast(wxLANGUAGE_NORWEGIAN_NYNORSK))); } { - PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN))); + PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_From_int(static_cast(wxLANGUAGE_OCCITAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA))); + PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_From_int(static_cast(wxLANGUAGE_ORIYA))); } { - PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO))); + PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_From_int(static_cast(wxLANGUAGE_OROMO))); } { - PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO))); + PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_From_int(static_cast(wxLANGUAGE_PASHTO))); } { - PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH))); + PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_From_int(static_cast(wxLANGUAGE_POLISH))); } { - PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE))); + PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_From_int(static_cast(wxLANGUAGE_PORTUGUESE))); } { - PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN))); + PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int(static_cast(wxLANGUAGE_PORTUGUESE_BRAZILIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI))); + PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_From_int(static_cast(wxLANGUAGE_PUNJABI))); } { - PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA))); + PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_From_int(static_cast(wxLANGUAGE_QUECHUA))); } { - PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE))); + PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int(static_cast(wxLANGUAGE_RHAETO_ROMANCE))); } { - PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN))); + PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_From_int(static_cast(wxLANGUAGE_ROMANIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN))); + PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_From_int(static_cast(wxLANGUAGE_RUSSIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE))); + PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int(static_cast(wxLANGUAGE_RUSSIAN_UKRAINE))); } { - PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN))); + PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_From_int(static_cast(wxLANGUAGE_SAMOAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO))); + PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_From_int(static_cast(wxLANGUAGE_SANGHO))); } { - PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT))); + PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_From_int(static_cast(wxLANGUAGE_SANSKRIT))); } { - PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC))); + PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int(static_cast(wxLANGUAGE_SCOTS_GAELIC))); } { - PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN))); + PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_From_int(static_cast(wxLANGUAGE_SERBIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC))); + PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int(static_cast(wxLANGUAGE_SERBIAN_CYRILLIC))); } { - PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN))); + PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int(static_cast(wxLANGUAGE_SERBIAN_LATIN))); } { - PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN))); + PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int(static_cast(wxLANGUAGE_SERBO_CROATIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO))); + PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_From_int(static_cast(wxLANGUAGE_SESOTHO))); } { - PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA))); + PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_From_int(static_cast(wxLANGUAGE_SETSWANA))); } { - PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA))); + PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_From_int(static_cast(wxLANGUAGE_SHONA))); } { - PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI))); + PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_From_int(static_cast(wxLANGUAGE_SINDHI))); } { - PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE))); + PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_From_int(static_cast(wxLANGUAGE_SINHALESE))); } { - PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI))); + PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_From_int(static_cast(wxLANGUAGE_SISWATI))); } { - PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK))); + PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_From_int(static_cast(wxLANGUAGE_SLOVAK))); } { - PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN))); + PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_From_int(static_cast(wxLANGUAGE_SLOVENIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI))); + PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_From_int(static_cast(wxLANGUAGE_SOMALI))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_ARGENTINA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_BOLIVIA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_CHILE))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_COLOMBIA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_COSTA_RICA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_ECUADOR))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_EL_SALVADOR))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_GUATEMALA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_HONDURAS))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_MEXICAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_MODERN))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_NICARAGUA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_PANAMA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_PARAGUAY))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_PERU))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_PUERTO_RICO))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_URUGUAY))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_US))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_VENEZUELA))); } { - PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE))); + PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_From_int(static_cast(wxLANGUAGE_SUNDANESE))); } { - PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI))); + PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_From_int(static_cast(wxLANGUAGE_SWAHILI))); } { - PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH))); + PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_From_int(static_cast(wxLANGUAGE_SWEDISH))); } { - PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND))); + PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int(static_cast(wxLANGUAGE_SWEDISH_FINLAND))); } { - PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG))); + PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_From_int(static_cast(wxLANGUAGE_TAGALOG))); } { - PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK))); + PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_From_int(static_cast(wxLANGUAGE_TAJIK))); } { - PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL))); + PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_From_int(static_cast(wxLANGUAGE_TAMIL))); } { - PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR))); + PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_From_int(static_cast(wxLANGUAGE_TATAR))); } { - PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU))); + PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_From_int(static_cast(wxLANGUAGE_TELUGU))); } { - PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI))); + PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_From_int(static_cast(wxLANGUAGE_THAI))); } { - PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN))); + PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_From_int(static_cast(wxLANGUAGE_TIBETAN))); } { - PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA))); + PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_From_int(static_cast(wxLANGUAGE_TIGRINYA))); } { - PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA))); + PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_From_int(static_cast(wxLANGUAGE_TONGA))); } { - PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA))); + PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_From_int(static_cast(wxLANGUAGE_TSONGA))); } { - PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH))); + PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_From_int(static_cast(wxLANGUAGE_TURKISH))); } { - PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN))); + PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_From_int(static_cast(wxLANGUAGE_TURKMEN))); } { - PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI))); + PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_From_int(static_cast(wxLANGUAGE_TWI))); } { - PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR))); + PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_From_int(static_cast(wxLANGUAGE_UIGHUR))); } { - PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN))); + PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_From_int(static_cast(wxLANGUAGE_UKRAINIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU))); + PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_From_int(static_cast(wxLANGUAGE_URDU))); } { - PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA))); + PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_From_int(static_cast(wxLANGUAGE_URDU_INDIA))); } { - PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN))); + PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int(static_cast(wxLANGUAGE_URDU_PAKISTAN))); } { - PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK))); + PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_From_int(static_cast(wxLANGUAGE_UZBEK))); } { - PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC))); + PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int(static_cast(wxLANGUAGE_UZBEK_CYRILLIC))); } { - PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN))); + PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_From_int(static_cast(wxLANGUAGE_UZBEK_LATIN))); } { - PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE))); + PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_From_int(static_cast(wxLANGUAGE_VIETNAMESE))); } { - PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK))); + PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_From_int(static_cast(wxLANGUAGE_VOLAPUK))); } { - PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH))); + PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_From_int(static_cast(wxLANGUAGE_WELSH))); } { - PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF))); + PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_From_int(static_cast(wxLANGUAGE_WOLOF))); } { - PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA))); + PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_From_int(static_cast(wxLANGUAGE_XHOSA))); } { - PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH))); + PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_From_int(static_cast(wxLANGUAGE_YIDDISH))); } { - PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA))); + PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_From_int(static_cast(wxLANGUAGE_YORUBA))); } { - PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG))); + PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_From_int(static_cast(wxLANGUAGE_ZHUANG))); } { - PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU))); + PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_From_int(static_cast(wxLANGUAGE_ZULU))); } { - PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED))); + PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_From_int(static_cast(wxLANGUAGE_USER_DEFINED))); } { - PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER))); + PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_From_int(static_cast(wxLOCALE_CAT_NUMBER))); } { - PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE))); + PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_From_int(static_cast(wxLOCALE_CAT_DATE))); } { - PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY))); + PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_From_int(static_cast(wxLOCALE_CAT_MONEY))); } { - PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX))); + PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_From_int(static_cast(wxLOCALE_CAT_MAX))); } { - PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP))); + PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_From_int(static_cast(wxLOCALE_THOUSANDS_SEP))); } { - PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT))); + PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_From_int(static_cast(wxLOCALE_DECIMAL_POINT))); } { - PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT))); + PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_From_int(static_cast(wxLOCALE_LOAD_DEFAULT))); } { - PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING))); + PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_From_int(static_cast(wxLOCALE_CONV_ENCODING))); } { - PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT))); + PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_From_int(static_cast(wxCONVERT_STRICT))); } { - PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE))); + PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_From_int(static_cast(wxCONVERT_SUBSTITUTE))); } { - PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT))); + PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_From_int(static_cast(wxPLATFORM_CURRENT))); } { - PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX))); + PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_From_int(static_cast(wxPLATFORM_UNIX))); } { - PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS))); + PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_From_int(static_cast(wxPLATFORM_WINDOWS))); } { - PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2))); + PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_From_int(static_cast(wxPLATFORM_OS2))); } { - PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC))); + PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_From_int(static_cast(wxPLATFORM_MAC))); } { - PyDict_SetItemString(d,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA))); + PyDict_SetItemString(d,"BUFFER_VIRTUAL_AREA", SWIG_From_int(static_cast(wxBUFFER_VIRTUAL_AREA))); } { - PyDict_SetItemString(d,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA))); + PyDict_SetItemString(d,"BUFFER_CLIENT_AREA", SWIG_From_int(static_cast(wxBUFFER_CLIENT_AREA))); } { - PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL))); + PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_From_int(static_cast(wxIMAGELIST_DRAW_NORMAL))); } { - PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT))); + PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int(static_cast(wxIMAGELIST_DRAW_TRANSPARENT))); } { - PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED))); + PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_From_int(static_cast(wxIMAGELIST_DRAW_SELECTED))); } { - PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED))); + PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int(static_cast(wxIMAGELIST_DRAW_FOCUSED))); } { - PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL))); + PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_From_int(static_cast(wxIMAGE_LIST_NORMAL))); } { - PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL))); + PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_From_int(static_cast(wxIMAGE_LIST_SMALL))); } { - PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE))); + PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_From_int(static_cast(wxIMAGE_LIST_STATE))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set); @@ -23999,49 +24877,49 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set); SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set); { - PyDict_SetItemString(d,"CONTROL_DISABLED", SWIG_From_int((int)(wxCONTROL_DISABLED))); + PyDict_SetItemString(d,"CONTROL_DISABLED", SWIG_From_int(static_cast(wxCONTROL_DISABLED))); } { - PyDict_SetItemString(d,"CONTROL_FOCUSED", SWIG_From_int((int)(wxCONTROL_FOCUSED))); + PyDict_SetItemString(d,"CONTROL_FOCUSED", SWIG_From_int(static_cast(wxCONTROL_FOCUSED))); } { - PyDict_SetItemString(d,"CONTROL_PRESSED", SWIG_From_int((int)(wxCONTROL_PRESSED))); + PyDict_SetItemString(d,"CONTROL_PRESSED", SWIG_From_int(static_cast(wxCONTROL_PRESSED))); } { - PyDict_SetItemString(d,"CONTROL_ISDEFAULT", SWIG_From_int((int)(wxCONTROL_ISDEFAULT))); + PyDict_SetItemString(d,"CONTROL_ISDEFAULT", SWIG_From_int(static_cast(wxCONTROL_ISDEFAULT))); } { - PyDict_SetItemString(d,"CONTROL_ISSUBMENU", SWIG_From_int((int)(wxCONTROL_ISSUBMENU))); + PyDict_SetItemString(d,"CONTROL_ISSUBMENU", SWIG_From_int(static_cast(wxCONTROL_ISSUBMENU))); } { - PyDict_SetItemString(d,"CONTROL_EXPANDED", SWIG_From_int((int)(wxCONTROL_EXPANDED))); + PyDict_SetItemString(d,"CONTROL_EXPANDED", SWIG_From_int(static_cast(wxCONTROL_EXPANDED))); } { - PyDict_SetItemString(d,"CONTROL_CURRENT", SWIG_From_int((int)(wxCONTROL_CURRENT))); + PyDict_SetItemString(d,"CONTROL_CURRENT", SWIG_From_int(static_cast(wxCONTROL_CURRENT))); } { - PyDict_SetItemString(d,"CONTROL_SELECTED", SWIG_From_int((int)(wxCONTROL_SELECTED))); + PyDict_SetItemString(d,"CONTROL_SELECTED", SWIG_From_int(static_cast(wxCONTROL_SELECTED))); } { - PyDict_SetItemString(d,"CONTROL_CHECKED", SWIG_From_int((int)(wxCONTROL_CHECKED))); + PyDict_SetItemString(d,"CONTROL_CHECKED", SWIG_From_int(static_cast(wxCONTROL_CHECKED))); } { - PyDict_SetItemString(d,"CONTROL_CHECKABLE", SWIG_From_int((int)(wxCONTROL_CHECKABLE))); + PyDict_SetItemString(d,"CONTROL_CHECKABLE", SWIG_From_int(static_cast(wxCONTROL_CHECKABLE))); } { - PyDict_SetItemString(d,"CONTROL_UNDETERMINED", SWIG_From_int((int)(wxCONTROL_UNDETERMINED))); + PyDict_SetItemString(d,"CONTROL_UNDETERMINED", SWIG_From_int(static_cast(wxCONTROL_UNDETERMINED))); } { - PyDict_SetItemString(d,"CONTROL_FLAGS_MASK", SWIG_From_int((int)(wxCONTROL_FLAGS_MASK))); + PyDict_SetItemString(d,"CONTROL_FLAGS_MASK", SWIG_From_int(static_cast(wxCONTROL_FLAGS_MASK))); } { - PyDict_SetItemString(d,"CONTROL_DIRTY", SWIG_From_int((int)(wxCONTROL_DIRTY))); + PyDict_SetItemString(d,"CONTROL_DIRTY", SWIG_From_int(static_cast(wxCONTROL_DIRTY))); } { - PyDict_SetItemString(d,"RendererVersion_Current_Version", SWIG_From_int((int)(wxRendererVersion::Current_Version))); + PyDict_SetItemString(d,"RendererVersion_Current_Version", SWIG_From_int(static_cast(wxRendererVersion::Current_Version))); } { - PyDict_SetItemString(d,"RendererVersion_Current_Age", SWIG_From_int((int)(wxRendererVersion::Current_Age))); + PyDict_SetItemString(d,"RendererVersion_Current_Age", SWIG_From_int(static_cast(wxRendererVersion::Current_Age))); } // Work around a chicken/egg problem in drawlist.cpp diff --git a/wxPython/src/gtk/_misc.py b/wxPython/src/gtk/_misc.py index 1436a65387..98b13a6f47 100644 --- a/wxPython/src/gtk/_misc.py +++ b/wxPython/src/gtk/_misc.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _misc_ @@ -319,10 +319,6 @@ def GetElapsedTime(*args, **kwargs): """GetElapsedTime(bool resetTimer=True) -> long""" return _misc_.GetElapsedTime(*args, **kwargs) -def GetMousePosition(*args, **kwargs): - """GetMousePosition() -> (x,y)""" - return _misc_.GetMousePosition(*args, **kwargs) - def IsBusy(*args, **kwargs): """IsBusy() -> bool""" return _misc_.IsBusy(*args, **kwargs) @@ -539,8 +535,29 @@ def BeginBusyCursor(*args, **kwargs): """BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)""" return _misc_.BeginBusyCursor(*args, **kwargs) +def GetMousePosition(*args, **kwargs): + """ + GetMousePosition() -> Point + + Get the current mouse position on the screen. + """ + return _misc_.GetMousePosition(*args, **kwargs) + +def FindWindowAtPointer(*args, **kwargs): + """ + FindWindowAtPointer() -> Window + + Returns the window currently under the mouse pointer, if it belongs to + this application. Otherwise it returns None. + """ + return _misc_.FindWindowAtPointer(*args, **kwargs) + def GetActiveWindow(*args, **kwargs): - """GetActiveWindow() -> Window""" + """ + GetActiveWindow() -> Window + + Get the currently active window of this application, or None + """ return _misc_.GetActiveWindow(*args, **kwargs) def GenericFindWindowAtPoint(*args, **kwargs): @@ -571,10 +588,144 @@ def GetKeyState(*args, **kwargs): Get the state of a key (true if pressed or toggled on, false if not.) This is generally most useful getting the state of the modifier or - toggle keys. On some platforms those may be the only keys that work. + toggle keys. On some platforms those may be the only keys that this + function is able to detect. """ return _misc_.GetKeyState(*args, **kwargs) +class MouseState(object): + """ + `wx.MouseState` is used to hold information about mouse button and + modifier key states and is what is returned from `wx.GetMouseState`. + """ + def __repr__(self): + return "<%s.%s; proxy of C++ wxMouseState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """ + __init__(self) -> MouseState + + `wx.MouseState` is used to hold information about mouse button and + modifier key states and is what is returned from `wx.GetMouseState`. + """ + newobj = _misc_.new_MouseState(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_misc_.delete_MouseState): + """__del__(self)""" + try: + if self.thisown: destroy(self) + except: pass + + def GetX(*args, **kwargs): + """GetX(self) -> int""" + return _misc_.MouseState_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY(self) -> int""" + return _misc_.MouseState_GetY(*args, **kwargs) + + def LeftDown(*args, **kwargs): + """LeftDown(self) -> bool""" + return _misc_.MouseState_LeftDown(*args, **kwargs) + + def MiddleDown(*args, **kwargs): + """MiddleDown(self) -> bool""" + return _misc_.MouseState_MiddleDown(*args, **kwargs) + + def RightDown(*args, **kwargs): + """RightDown(self) -> bool""" + return _misc_.MouseState_RightDown(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown(self) -> bool""" + return _misc_.MouseState_ControlDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown(self) -> bool""" + return _misc_.MouseState_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown(self) -> bool""" + return _misc_.MouseState_AltDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown(self) -> bool""" + return _misc_.MouseState_MetaDown(*args, **kwargs) + + def CmdDown(*args, **kwargs): + """CmdDown(self) -> bool""" + return _misc_.MouseState_CmdDown(*args, **kwargs) + + def SetX(*args, **kwargs): + """SetX(self, int x)""" + return _misc_.MouseState_SetX(*args, **kwargs) + + def SetY(*args, **kwargs): + """SetY(self, int y)""" + return _misc_.MouseState_SetY(*args, **kwargs) + + def SetLeftDown(*args, **kwargs): + """SetLeftDown(self, bool down)""" + return _misc_.MouseState_SetLeftDown(*args, **kwargs) + + def SetMiddleDown(*args, **kwargs): + """SetMiddleDown(self, bool down)""" + return _misc_.MouseState_SetMiddleDown(*args, **kwargs) + + def SetRightDown(*args, **kwargs): + """SetRightDown(self, bool down)""" + return _misc_.MouseState_SetRightDown(*args, **kwargs) + + def SetControlDown(*args, **kwargs): + """SetControlDown(self, bool down)""" + return _misc_.MouseState_SetControlDown(*args, **kwargs) + + def SetShiftDown(*args, **kwargs): + """SetShiftDown(self, bool down)""" + return _misc_.MouseState_SetShiftDown(*args, **kwargs) + + def SetAltDown(*args, **kwargs): + """SetAltDown(self, bool down)""" + return _misc_.MouseState_SetAltDown(*args, **kwargs) + + def SetMetaDown(*args, **kwargs): + """SetMetaDown(self, bool down)""" + return _misc_.MouseState_SetMetaDown(*args, **kwargs) + + x = property(GetX, SetX) + y = property(GetY, SetY) + leftDown = property(LeftDown, SetLeftDown) + middleDown = property(MiddleDown, SetMiddleDown) + rightDown = property(RightDown, SetRightDown) + controlDown = property(ControlDown, SetControlDown) + shiftDown = property(ShiftDown, SetShiftDown) + altDown = property(AltDown, SetAltDown) + metaDown = property(MetaDown, SetMetaDown) + cmdDown = property(CmdDown) + + +class MouseStatePtr(MouseState): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = MouseState +_misc_.MouseState_swigregister(MouseStatePtr) +FileSelectorPromptStr = cvar.FileSelectorPromptStr +FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr +DirSelectorPromptStr = cvar.DirSelectorPromptStr + + +def GetMouseState(*args, **kwargs): + """ + GetMouseState() -> MouseState + + Returns the current state of the mouse. Returns an instance of a + `wx.MouseState` object that contains the current position of the mouse + pointer in screen coordinants, as well as boolean values indicating + the up/down status of the mouse buttons and the modifier keys. + """ + return _misc_.GetMouseState(*args, **kwargs) def WakeUpMainThread(*args, **kwargs): """WakeUpMainThread()""" @@ -610,9 +761,6 @@ class MutexGuiLockerPtr(MutexGuiLocker): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = MutexGuiLocker _misc_.MutexGuiLocker_swigregister(MutexGuiLockerPtr) -FileSelectorPromptStr = cvar.FileSelectorPromptStr -FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr -DirSelectorPromptStr = cvar.DirSelectorPromptStr def Thread_IsMain(*args, **kwargs): @@ -1162,6 +1310,7 @@ class TimerRunner(object): """ __init__(self, wxTimer timer) -> TimerRunner __init__(self, wxTimer timer, int milli, bool oneShot=False) -> TimerRunner + __init__(self, wxTimer timer, int milli) -> TimerRunner """ newobj = _misc_.new_TimerRunner(*args) self.this = newobj.this @@ -5177,7 +5326,7 @@ class CustomDataObjectPtr(CustomDataObject): self.__class__ = CustomDataObject _misc_.CustomDataObject_swigregister(CustomDataObjectPtr) -class URLDataObject(DataObjectComposite): +class URLDataObject(DataObject): """ This data object holds a URL in a format that is compatible with some browsers such that it is able to be dragged to or from them. @@ -6105,3 +6254,4 @@ def StandardPaths_Get(*args, **kwargs): return _misc_.StandardPaths_Get(*args, **kwargs) + diff --git a/wxPython/src/gtk/_misc_wrap.cpp b/wxPython/src/gtk/_misc_wrap.cpp index 03c4bf9690..8e4aaefec2 100644 --- a/wxPython/src/gtk/_misc_wrap.cpp +++ b/wxPython/src/gtk/_misc_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -26,15 +26,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +106,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) -#else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -# define SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +125,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +143,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +186,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +204,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +317,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +439,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +461,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +520,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +533,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +610,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +631,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +643,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +683,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +711,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +747,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +790,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +824,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +844,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +877,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +896,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +925,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +934,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +947,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +981,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1001,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1045,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1072,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,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,106 +1431,182 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxLogChain swig_types[0] -#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1] -#define SWIGTYPE_p_wxFileHistory swig_types[2] -#define SWIGTYPE_p_wxLog swig_types[3] -#define SWIGTYPE_p_wxMenu swig_types[4] -#define SWIGTYPE_p_wxEvent swig_types[5] -#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6] -#define SWIGTYPE_p_wxConfigBase swig_types[7] -#define SWIGTYPE_p_wxDisplay swig_types[8] -#define SWIGTYPE_p_wxFileType swig_types[9] -#define SWIGTYPE_p_wxLogGui swig_types[10] -#define SWIGTYPE_p_wxMemorySize swig_types[11] -#define SWIGTYPE_p_wxFont swig_types[12] -#define SWIGTYPE_p_wxDataFormat swig_types[13] -#define SWIGTYPE_p_wxTimerEvent swig_types[14] -#define SWIGTYPE_p_wxCaret swig_types[15] -#define SWIGTYPE_ptrdiff_t swig_types[16] -#define SWIGTYPE_std__ptrdiff_t swig_types[17] -#define SWIGTYPE_p_void swig_types[18] -#define SWIGTYPE_p_int swig_types[19] -#define SWIGTYPE_p_wxSize swig_types[20] -#define SWIGTYPE_p_wxClipboard swig_types[21] -#define SWIGTYPE_p_wxStopWatch swig_types[22] -#define SWIGTYPE_p_wxDC swig_types[23] -#define SWIGTYPE_p_wxClipboardLocker swig_types[24] -#define SWIGTYPE_p_wxIcon swig_types[25] -#define SWIGTYPE_p_wxLogStderr swig_types[26] -#define SWIGTYPE_p_wxLogTextCtrl swig_types[27] -#define SWIGTYPE_p_wxTextCtrl swig_types[28] -#define SWIGTYPE_p_wxBusyCursor swig_types[29] -#define SWIGTYPE_p_wxBitmapDataObject swig_types[30] -#define SWIGTYPE_p_wxTextDataObject swig_types[31] -#define SWIGTYPE_p_wxDataObject swig_types[32] -#define SWIGTYPE_p_wxPyTextDataObject swig_types[33] -#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[34] -#define SWIGTYPE_p_wxFileDataObject swig_types[35] -#define SWIGTYPE_p_wxCustomDataObject swig_types[36] -#define SWIGTYPE_p_wxURLDataObject swig_types[37] -#define SWIGTYPE_p_wxMetafileDataObject swig_types[38] -#define SWIGTYPE_p_wxSound swig_types[39] -#define SWIGTYPE_p_wxTimerRunner swig_types[40] -#define SWIGTYPE_p_wxLogWindow swig_types[41] -#define SWIGTYPE_p_wxTimeSpan swig_types[42] -#define SWIGTYPE_p_wxArrayString swig_types[43] -#define SWIGTYPE_p_wxWindowDisabler swig_types[44] -#define SWIGTYPE_p_form_ops_t swig_types[45] -#define SWIGTYPE_p_wxToolTip swig_types[46] -#define SWIGTYPE_p_wxDataObjectComposite swig_types[47] -#define SWIGTYPE_p_wxSystemSettings swig_types[48] -#define SWIGTYPE_p_wxFileConfig swig_types[49] -#define SWIGTYPE_p_wxVideoMode swig_types[50] -#define SWIGTYPE_p_wxDataObjectSimple swig_types[51] -#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[52] -#define SWIGTYPE_p_wxDuplexMode swig_types[53] -#define SWIGTYPE_p_wxEvtHandler swig_types[54] -#define SWIGTYPE_p_wxRect swig_types[55] -#define SWIGTYPE_p_char swig_types[56] -#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[57] -#define SWIGTYPE_p_wxStandardPaths swig_types[58] -#define SWIGTYPE_p_wxFileTypeInfo swig_types[59] -#define SWIGTYPE_p_wxFrame swig_types[60] -#define SWIGTYPE_p_wxTimer swig_types[61] -#define SWIGTYPE_p_wxPaperSize swig_types[62] -#define SWIGTYPE_p_wxMimeTypesManager swig_types[63] -#define SWIGTYPE_p_wxPyTipProvider swig_types[64] -#define SWIGTYPE_p_wxTipProvider swig_types[65] -#define SWIGTYPE_p_wxJoystick swig_types[66] -#define SWIGTYPE_p_wxSystemOptions swig_types[67] -#define SWIGTYPE_p_wxPyArtProvider swig_types[68] -#define SWIGTYPE_p_wxPoint swig_types[69] -#define SWIGTYPE_p_wxJoystickEvent swig_types[70] -#define SWIGTYPE_p_wxCursor swig_types[71] -#define SWIGTYPE_p_wxObject swig_types[72] -#define SWIGTYPE_p_wxOutputStream swig_types[73] -#define SWIGTYPE_p_wxDateTime swig_types[74] -#define SWIGTYPE_p_wxPyDropSource swig_types[75] -#define SWIGTYPE_p_unsigned_long swig_types[76] -#define SWIGTYPE_p_wxLogBuffer swig_types[77] -#define SWIGTYPE_p_wxKillError swig_types[78] -#define SWIGTYPE_p_wxWindow swig_types[79] -#define SWIGTYPE_p_wxString swig_types[80] -#define SWIGTYPE_p_wxPyProcess swig_types[81] -#define SWIGTYPE_p_wxBitmap swig_types[82] -#define SWIGTYPE_unsigned_int swig_types[83] -#define SWIGTYPE_p_unsigned_int swig_types[84] -#define SWIGTYPE_p_wxConfig swig_types[85] -#define SWIGTYPE_p_unsigned_char swig_types[86] -#define SWIGTYPE_p_wxChar swig_types[87] -#define SWIGTYPE_p_wxBusyInfo swig_types[88] -#define SWIGTYPE_p_wxPyDropTarget swig_types[89] -#define SWIGTYPE_p_wxPyTextDropTarget swig_types[90] -#define SWIGTYPE_p_wxPyFileDropTarget swig_types[91] -#define SWIGTYPE_p_wxProcessEvent swig_types[92] -#define SWIGTYPE_p_wxPyLog swig_types[93] -#define SWIGTYPE_p_wxLogNull swig_types[94] -#define SWIGTYPE_p_wxColour swig_types[95] -#define SWIGTYPE_p_wxPyTimer swig_types[96] -#define SWIGTYPE_p_wxConfigPathChanger swig_types[97] -#define SWIGTYPE_p_wxDateSpan swig_types[98] -static swig_type_info *swig_types[100]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_form_ops_t swig_types[1] +#define SWIGTYPE_p_int swig_types[2] +#define SWIGTYPE_p_unsigned_char swig_types[3] +#define SWIGTYPE_p_unsigned_int swig_types[4] +#define SWIGTYPE_p_unsigned_long swig_types[5] +#define SWIGTYPE_p_void swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxArrayString swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_wxBitmap swig_types[12] +#define SWIGTYPE_p_wxBitmapDataObject swig_types[13] +#define SWIGTYPE_p_wxBoxSizer swig_types[14] +#define SWIGTYPE_p_wxBusyCursor swig_types[15] +#define SWIGTYPE_p_wxBusyInfo swig_types[16] +#define SWIGTYPE_p_wxCURHandler swig_types[17] +#define SWIGTYPE_p_wxCaret swig_types[18] +#define SWIGTYPE_p_wxChar swig_types[19] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[20] +#define SWIGTYPE_p_wxClipboard swig_types[21] +#define SWIGTYPE_p_wxClipboardLocker swig_types[22] +#define SWIGTYPE_p_wxCloseEvent swig_types[23] +#define SWIGTYPE_p_wxColour swig_types[24] +#define SWIGTYPE_p_wxCommandEvent swig_types[25] +#define SWIGTYPE_p_wxConfig swig_types[26] +#define SWIGTYPE_p_wxConfigBase swig_types[27] +#define SWIGTYPE_p_wxConfigPathChanger swig_types[28] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[29] +#define SWIGTYPE_p_wxControl swig_types[30] +#define SWIGTYPE_p_wxControlWithItems swig_types[31] +#define SWIGTYPE_p_wxCursor swig_types[32] +#define SWIGTYPE_p_wxCustomDataObject swig_types[33] +#define SWIGTYPE_p_wxDC swig_types[34] +#define SWIGTYPE_p_wxDataFormat swig_types[35] +#define SWIGTYPE_p_wxDataObject swig_types[36] +#define SWIGTYPE_p_wxDataObjectComposite swig_types[37] +#define SWIGTYPE_p_wxDataObjectSimple swig_types[38] +#define SWIGTYPE_p_wxDateEvent swig_types[39] +#define SWIGTYPE_p_wxDateSpan swig_types[40] +#define SWIGTYPE_p_wxDateTime swig_types[41] +#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42] +#define SWIGTYPE_p_wxDisplay swig_types[43] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[45] +#define SWIGTYPE_p_wxDuplexMode swig_types[46] +#define SWIGTYPE_p_wxEraseEvent swig_types[47] +#define SWIGTYPE_p_wxEvent swig_types[48] +#define SWIGTYPE_p_wxEvtHandler swig_types[49] +#define SWIGTYPE_p_wxFSFile swig_types[50] +#define SWIGTYPE_p_wxFileConfig swig_types[51] +#define SWIGTYPE_p_wxFileDataObject swig_types[52] +#define SWIGTYPE_p_wxFileHistory swig_types[53] +#define SWIGTYPE_p_wxFileSystem swig_types[54] +#define SWIGTYPE_p_wxFileType swig_types[55] +#define SWIGTYPE_p_wxFileTypeInfo swig_types[56] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[57] +#define SWIGTYPE_p_wxFocusEvent swig_types[58] +#define SWIGTYPE_p_wxFont swig_types[59] +#define SWIGTYPE_p_wxFrame swig_types[60] +#define SWIGTYPE_p_wxGBSizerItem swig_types[61] +#define SWIGTYPE_p_wxGIFHandler swig_types[62] +#define SWIGTYPE_p_wxGridBagSizer swig_types[63] +#define SWIGTYPE_p_wxGridSizer swig_types[64] +#define SWIGTYPE_p_wxICOHandler swig_types[65] +#define SWIGTYPE_p_wxIcon swig_types[66] +#define SWIGTYPE_p_wxIconizeEvent swig_types[67] +#define SWIGTYPE_p_wxIdleEvent swig_types[68] +#define SWIGTYPE_p_wxImage swig_types[69] +#define SWIGTYPE_p_wxImageHandler swig_types[70] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[72] +#define SWIGTYPE_p_wxJPEGHandler swig_types[73] +#define SWIGTYPE_p_wxJoystick swig_types[74] +#define SWIGTYPE_p_wxJoystickEvent swig_types[75] +#define SWIGTYPE_p_wxKeyEvent swig_types[76] +#define SWIGTYPE_p_wxKillError swig_types[77] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[78] +#define SWIGTYPE_p_wxLog swig_types[79] +#define SWIGTYPE_p_wxLogBuffer swig_types[80] +#define SWIGTYPE_p_wxLogChain swig_types[81] +#define SWIGTYPE_p_wxLogGui swig_types[82] +#define SWIGTYPE_p_wxLogNull swig_types[83] +#define SWIGTYPE_p_wxLogStderr swig_types[84] +#define SWIGTYPE_p_wxLogTextCtrl swig_types[85] +#define SWIGTYPE_p_wxLogWindow swig_types[86] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[87] +#define SWIGTYPE_p_wxMemorySize swig_types[88] +#define SWIGTYPE_p_wxMenu swig_types[89] +#define SWIGTYPE_p_wxMenuBar swig_types[90] +#define SWIGTYPE_p_wxMenuEvent swig_types[91] +#define SWIGTYPE_p_wxMenuItem swig_types[92] +#define SWIGTYPE_p_wxMetafileDataObject swig_types[93] +#define SWIGTYPE_p_wxMimeTypesManager swig_types[94] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95] +#define SWIGTYPE_p_wxMouseEvent swig_types[96] +#define SWIGTYPE_p_wxMouseState swig_types[97] +#define SWIGTYPE_p_wxMoveEvent swig_types[98] +#define SWIGTYPE_p_wxMutexGuiLocker swig_types[99] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[101] +#define SWIGTYPE_p_wxNotifyEvent swig_types[102] +#define SWIGTYPE_p_wxObject swig_types[103] +#define SWIGTYPE_p_wxOutputStream swig_types[104] +#define SWIGTYPE_p_wxPCXHandler swig_types[105] +#define SWIGTYPE_p_wxPNGHandler swig_types[106] +#define SWIGTYPE_p_wxPNMHandler swig_types[107] +#define SWIGTYPE_p_wxPaintEvent swig_types[108] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109] +#define SWIGTYPE_p_wxPaperSize swig_types[110] +#define SWIGTYPE_p_wxPoint swig_types[111] +#define SWIGTYPE_p_wxProcessEvent swig_types[112] +#define SWIGTYPE_p_wxPyApp swig_types[113] +#define SWIGTYPE_p_wxPyArtProvider swig_types[114] +#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[115] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[116] +#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[117] +#define SWIGTYPE_p_wxPyDropSource swig_types[118] +#define SWIGTYPE_p_wxPyDropTarget swig_types[119] +#define SWIGTYPE_p_wxPyEvent swig_types[120] +#define SWIGTYPE_p_wxPyFileDropTarget swig_types[121] +#define SWIGTYPE_p_wxPyImageHandler swig_types[122] +#define SWIGTYPE_p_wxPyLog swig_types[123] +#define SWIGTYPE_p_wxPyProcess swig_types[124] +#define SWIGTYPE_p_wxPySizer swig_types[125] +#define SWIGTYPE_p_wxPyTextDataObject swig_types[126] +#define SWIGTYPE_p_wxPyTextDropTarget swig_types[127] +#define SWIGTYPE_p_wxPyTimer swig_types[128] +#define SWIGTYPE_p_wxPyTipProvider swig_types[129] +#define SWIGTYPE_p_wxPyValidator swig_types[130] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[131] +#define SWIGTYPE_p_wxRect swig_types[132] +#define SWIGTYPE_p_wxScrollEvent swig_types[133] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[134] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[135] +#define SWIGTYPE_p_wxShowEvent swig_types[136] +#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[137] +#define SWIGTYPE_p_wxSize swig_types[138] +#define SWIGTYPE_p_wxSizeEvent swig_types[139] +#define SWIGTYPE_p_wxSizer swig_types[140] +#define SWIGTYPE_p_wxSizerItem swig_types[141] +#define SWIGTYPE_p_wxSound swig_types[142] +#define SWIGTYPE_p_wxStandardPaths swig_types[143] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[144] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145] +#define SWIGTYPE_p_wxStopWatch swig_types[146] +#define SWIGTYPE_p_wxString swig_types[147] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148] +#define SWIGTYPE_p_wxSystemOptions swig_types[149] +#define SWIGTYPE_p_wxSystemSettings swig_types[150] +#define SWIGTYPE_p_wxTIFFHandler swig_types[151] +#define SWIGTYPE_p_wxTextCtrl swig_types[152] +#define SWIGTYPE_p_wxTextDataObject swig_types[153] +#define SWIGTYPE_p_wxTimeSpan swig_types[154] +#define SWIGTYPE_p_wxTimer swig_types[155] +#define SWIGTYPE_p_wxTimerEvent swig_types[156] +#define SWIGTYPE_p_wxTimerRunner swig_types[157] +#define SWIGTYPE_p_wxTipProvider swig_types[158] +#define SWIGTYPE_p_wxToolTip swig_types[159] +#define SWIGTYPE_p_wxURLDataObject swig_types[160] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[161] +#define SWIGTYPE_p_wxValidator swig_types[162] +#define SWIGTYPE_p_wxVideoMode swig_types[163] +#define SWIGTYPE_p_wxWindow swig_types[164] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[165] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[166] +#define SWIGTYPE_p_wxWindowDisabler swig_types[167] +#define SWIGTYPE_p_wxXPMHandler swig_types[168] +#define SWIGTYPE_ptrdiff_t swig_types[169] +#define SWIGTYPE_std__ptrdiff_t swig_types[170] +#define SWIGTYPE_unsigned_int swig_types[171] +static swig_type_info *swig_types[173]; +static swig_module_info swig_module = {swig_types, 172, 0, 0, 0, 0}; +#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) +#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) /* -------- TYPES TABLE (END) -------- */ @@ -1458,7 +1626,7 @@ static swig_type_info *swig_types[100]; - /*@/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 /*@@*/ @@ -1511,7 +1679,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; @@ -1525,7 +1693,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1533,7 +1701,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1547,7 +1715,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1561,12 +1729,12 @@ SWIG_Check_int(PyObject* obj) static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1580,7 +1748,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1612,7 +1780,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1626,7 +1794,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1678,7 +1846,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) } -SWIGINTERNSHORT unsigned long +SWIGINTERNINLINE unsigned long SWIG_As_unsigned_SS_long(PyObject* obj) { unsigned long v; @@ -1692,19 +1860,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)); } @@ -1718,6 +1886,12 @@ SWIGINTERNSHORT PyObject* } + wxWindow* FindWindowAtPointer() { + wxPoint unused; + return wxFindWindowAtPointer(unused); + } + + void wxWakeUpMainThread() {} @@ -1880,7 +2054,7 @@ SWIG_FromCharPtr(const char* cptr) if (cptr) { size_t size = strlen(cptr); if (size > INT_MAX) { - return SWIG_NewPointerObj((char*)(cptr), + return SWIG_NewPointerObj(const_cast(cptr), SWIG_TypeQuery("char *"), 0); } else { if (size != 0) { @@ -1895,7 +2069,7 @@ SWIG_FromCharPtr(const char* cptr) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1920,7 +2094,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -1932,7 +2106,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -1940,7 +2114,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -1954,13 +2128,13 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); } -static wxString Log_TimeStamp(){ +static wxString wxLog_TimeStamp(){ wxString msg; wxLog::TimeStamp(&msg); return msg; @@ -2328,7 +2502,7 @@ static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &file else RETURN_NONE(); } -static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){ +static wxString wxFileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){ return wxFileType::ExpandCommand(command, wxFileType::MessageParameters(filename, mimetype)); } @@ -2493,7 +2667,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -2507,7 +2681,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -2519,7 +2693,7 @@ static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,doub return rv; } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_double PyFloat_FromDouble /*@@*/ @@ -2536,7 +2710,7 @@ static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool de #define LOCAL_TZ wxDateTime::Local -static PyObject *DateTime_GetAmPmStrings(){ +static PyObject *wxDateTime_GetAmPmStrings(){ wxString am; wxString pm; wxDateTime::GetAmPmStrings(&am, &pm); @@ -2549,11 +2723,11 @@ static PyObject *DateTime_GetAmPmStrings(){ } #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif @@ -2941,7 +3115,7 @@ static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ retu #include #include -WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes); + WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes); #include "wx/arrimpl.cpp" WX_DEFINE_OBJARRAY(wxArrayVideoModes); const wxVideoMode wxDefaultVideoMode; @@ -2978,7 +3152,7 @@ public: }; #endif -static int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; } +static int wxDisplay_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; } static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){ PyObject* pyList = NULL; wxArrayVideoModes arr = self->GetModes(mode); @@ -2996,14 +3170,14 @@ static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDe #include -static wxStandardPaths *StandardPaths_Get(){ +static wxStandardPaths *wxStandardPaths_Get(){ return (wxStandardPaths*) &wxStandardPaths::Get(); } #ifdef __cplusplus extern "C" { #endif static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemColour arg1 ; wxColour result; PyObject * obj0 = 0 ; @@ -3013,20 +3187,20 @@ static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemColour)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxSystemSettings::GetColour((wxSystemColour )arg1); + result = wxSystemSettings::GetColour(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3036,7 +3210,7 @@ static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemFont arg1 ; wxFont result; PyObject * obj0 = 0 ; @@ -3046,20 +3220,20 @@ static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemFont)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxSystemSettings::GetFont((wxSystemFont )arg1); + result = wxSystemSettings::GetFont(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -3069,7 +3243,7 @@ static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemMetric arg1 ; wxWindow *arg2 = (wxWindow *) NULL ; int result; @@ -3081,7 +3255,7 @@ static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxSystemMetric)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { @@ -3091,13 +3265,13 @@ static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyOb { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1,arg2); + result = (int)wxSystemSettings::GetMetric(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3106,7 +3280,7 @@ static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemFeature arg1 ; bool result; PyObject * obj0 = 0 ; @@ -3116,13 +3290,13 @@ static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemFeature)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1); + result = (bool)wxSystemSettings::HasFeature(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3137,7 +3311,7 @@ static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyO static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemScreenType result; char *kwnames[] = { NULL @@ -3160,7 +3334,7 @@ static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemScreenType arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3169,13 +3343,13 @@ static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemScreenType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxSystemSettings::SetScreenType((wxSystemScreenType )arg1); + wxSystemSettings::SetScreenType(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3201,7 +3375,7 @@ static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) { static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3215,7 +3389,7 @@ static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) { static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemOptions *result; char *kwnames[] = { NULL @@ -3237,7 +3411,7 @@ static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -3290,7 +3464,7 @@ static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 ; bool temp1 = false ; @@ -3307,7 +3481,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, Py temp1 = true; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3333,7 +3507,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, Py static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -3377,7 +3551,7 @@ static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int result; bool temp1 = false ; @@ -3400,7 +3574,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -3417,7 +3591,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, Py static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -3457,7 +3631,7 @@ static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -3510,7 +3684,7 @@ static int _wrap_FileSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_FileSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3530,7 +3704,7 @@ static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3550,7 +3724,7 @@ static int _wrap_DirSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_DirSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3564,7 +3738,7 @@ static PyObject *_wrap_DirSelectorPromptStr_get(void) { static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -3579,7 +3753,7 @@ static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -3588,7 +3762,7 @@ static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3597,7 +3771,7 @@ static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3615,7 +3789,7 @@ static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -3630,7 +3804,7 @@ static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -3639,7 +3813,7 @@ static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool result; PyObject * obj0 = 0 ; @@ -3649,7 +3823,7 @@ static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3669,7 +3843,7 @@ static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxString *arg2 = 0 ; bool result; @@ -3682,7 +3856,7 @@ static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3715,7 +3889,7 @@ static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool arg2 = (bool) true ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -3729,12 +3903,12 @@ static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3767,7 +3941,7 @@ static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3789,7 +3963,7 @@ static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3811,7 +3985,7 @@ static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; long result; PyObject * obj0 = 0 ; @@ -3822,7 +3996,7 @@ static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -3834,42 +4008,8 @@ static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - int *arg1 = (int *) 0 ; - int *arg2 = (int *) 0 ; - int temp1 ; - int res1 = 0 ; - int temp2 ; - int res2 = 0 ; - char *kwnames[] = { - NULL - }; - - arg1 = &temp1; res1 = SWIG_NEWOBJ; - arg2 = &temp2; res2 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail; - { - if (!wxPyCheckForApp()) SWIG_fail; - PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxGetMousePosition(arg1,arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; + resultobj = SWIG_From_long(static_cast(result)); } - Py_INCREF(Py_None); resultobj = Py_None; - resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0))); - resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); return resultobj; fail: return NULL; @@ -3877,7 +4017,7 @@ static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -3901,7 +4041,7 @@ static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -3929,7 +4069,7 @@ static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; bool result; @@ -3972,7 +4112,7 @@ static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3993,7 +4133,7 @@ static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int result; @@ -4016,7 +4156,7 @@ static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ? SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0))); @@ -4029,7 +4169,7 @@ static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4057,7 +4197,7 @@ static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemorySize result; char *kwnames[] = { NULL @@ -4073,7 +4213,7 @@ static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwarg } { wxMemorySize * resultptr; - resultptr = new wxMemorySize((wxMemorySize &)(result)); + resultptr = new wxMemorySize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMemorySize, 1); } return resultobj; @@ -4083,7 +4223,7 @@ static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShutdownFlags arg1 ; bool result; PyObject * obj0 = 0 ; @@ -4093,13 +4233,13 @@ static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail; { - arg1 = (wxShutdownFlags)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxShutdown((wxShutdownFlags )arg1); + result = (bool)wxShutdown(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4114,7 +4254,7 @@ static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4123,7 +4263,7 @@ static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4141,7 +4281,7 @@ static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4150,7 +4290,7 @@ static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4168,7 +4308,7 @@ static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4177,7 +4317,7 @@ static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4195,7 +4335,7 @@ static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4204,7 +4344,7 @@ static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4222,7 +4362,7 @@ static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -4266,7 +4406,7 @@ static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4294,7 +4434,7 @@ static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4322,7 +4462,7 @@ static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4350,7 +4490,7 @@ static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4378,7 +4518,7 @@ static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4406,7 +4546,7 @@ static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4434,7 +4574,7 @@ static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString result; @@ -4481,7 +4621,7 @@ static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long result; char *kwnames[] = { NULL @@ -4496,7 +4636,7 @@ static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -4505,7 +4645,7 @@ static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -4526,7 +4666,7 @@ static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -4598,7 +4738,7 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -4608,13 +4748,13 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -4680,7 +4820,7 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4766,7 +4906,7 @@ static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4852,7 +4992,7 @@ static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -4891,7 +5031,7 @@ static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4943,7 +5083,7 @@ static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -4994,19 +5134,19 @@ static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwa } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -5056,7 +5196,7 @@ static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -5145,7 +5285,7 @@ static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -5194,31 +5334,31 @@ static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwa } if (obj4) { { - arg6 = (int)(SWIG_As_int(obj4)); + arg6 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj5) { { - arg7 = (int)(SWIG_As_int(obj5)); + arg7 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj6) { { - arg8 = (bool)(SWIG_As_bool(obj6)); + arg8 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj7) { { - arg9 = (int)(SWIG_As_int(obj7)); + arg9 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj8) { { - arg10 = (int)(SWIG_As_int(obj8)); + arg10 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -5266,7 +5406,7 @@ static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -5315,31 +5455,31 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg6 = (int)(SWIG_As_int(obj4)); + arg6 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj5) { { - arg7 = (int)(SWIG_As_int(obj5)); + arg7 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj6) { { - arg8 = (bool)(SWIG_As_bool(obj6)); + arg8 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj7) { { - arg9 = (int)(SWIG_As_int(obj7)); + arg9 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj8) { { - arg10 = (int)(SWIG_As_int(obj8)); + arg10 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -5352,7 +5492,7 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -5383,7 +5523,7 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -5419,7 +5559,7 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5429,13 +5569,13 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -5448,7 +5588,7 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -5473,7 +5613,7 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -5498,7 +5638,7 @@ static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -5514,7 +5654,7 @@ static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5523,7 +5663,7 @@ static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -5539,7 +5679,7 @@ static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5548,7 +5688,7 @@ static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int temp1 ; @@ -5582,7 +5722,7 @@ static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize result; char *kwnames[] = { NULL @@ -5599,7 +5739,7 @@ static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -5609,7 +5749,7 @@ static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int temp1 ; @@ -5643,7 +5783,7 @@ static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize result; char *kwnames[] = { NULL @@ -5660,7 +5800,7 @@ static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kw } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -5670,7 +5810,7 @@ static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -5716,7 +5856,7 @@ static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect result; char *kwnames[] = { NULL @@ -5733,7 +5873,7 @@ static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5743,7 +5883,7 @@ static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5775,7 +5915,7 @@ static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; void *result; char *kwnames[] = { NULL @@ -5798,7 +5938,7 @@ static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5825,24 +5965,26 @@ static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *result; +static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPoint result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxGetActiveWindow(); + result = wxGetMousePosition(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + wxPoint * resultptr; + resultptr = new wxPoint(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; fail: @@ -5850,163 +5992,852 @@ static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint *arg1 = 0 ; +static PyObject *_wrap_FindWindowAtPointer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *result; - wxPoint temp1 ; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FindWindowAtPointer",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)FindWindowAtPointer(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxGetActiveWindow(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPoint *arg1 = 0 ; + wxWindow *result; + wxPoint temp1 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail; + { + arg1 = &temp1; + if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPoint *arg1 = 0 ; + wxWindow *result; + wxPoint temp1 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail; + { + arg1 = &temp1; + if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + wxWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "win", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxGetTopLevelParent(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxString *arg1 = 0 ; + bool result; + bool temp1 = false ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "url", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + +static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxKeyCode arg1 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "key", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail; + { + arg1 = static_cast(SWIG_As_int(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxGetKeyState(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_MouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MouseState",kwnames)) goto fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxMouseState *)new wxMouseState(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseState, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_MouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MouseState",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_GetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetX",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetX(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_GetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetY",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetY(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_LeftDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->LeftDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MiddleDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->MiddleDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_RightDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_RightDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->RightDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ControlDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ControlDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ShiftDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ShiftDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_AltDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->AltDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MetaDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->MetaDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_CmdDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->CmdDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "x", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetX",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetX(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "y", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetY",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetY(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetLeftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetLeftDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetLeftDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetMiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMiddleDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetMiddleDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetRightDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetRightDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetRightDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetControlDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "pt", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetControlDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - arg1 = &temp1; - if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1); + (arg1)->SetControlDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint *arg1 = 0 ; - wxWindow *result; - wxPoint temp1 ; +static PyObject *_wrap_MouseState_SetShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "pt", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetShiftDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - arg1 = &temp1; - if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1); + (arg1)->SetShiftDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - wxWindow *result; +static PyObject *_wrap_MouseState_SetAltDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "win", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetAltDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if (!wxPyCheckForApp()) SWIG_fail; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxGetTopLevelParent(arg1); + (arg1)->SetAltDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxString *arg1 = 0 ; - bool result; - bool temp1 = false ; +static PyObject *_wrap_MouseState_SetMetaDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "url", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMetaDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - arg1 = wxString_in_helper(obj0); - if (arg1 == NULL) SWIG_fail; - temp1 = true; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1); + (arg1)->SetMetaDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp1) - delete arg1; - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: - { - if (temp1) - delete arg1; - } return NULL; } -static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxKeyCode arg1 ; - bool result; - PyObject * obj0 = 0 ; +static PyObject * MouseState_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxMouseState, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_GetMouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState result; char *kwnames[] = { - (char *) "key", NULL + NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail; - { - arg1 = (wxKeyCode)(SWIG_As_int(obj0)); - if (SWIG_arg_fail(1)) SWIG_fail; - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMouseState",kwnames)) goto fail; { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxGetKeyState((wxKeyCode )arg1); + result = wxGetMouseState(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + wxMouseState * resultptr; + resultptr = new wxMouseState(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMouseState, 1); } return resultobj; fail: @@ -6015,7 +6846,7 @@ static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -6037,7 +6868,7 @@ static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -6059,7 +6890,7 @@ static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -6081,7 +6912,7 @@ static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMutexGuiLocker *result; char *kwnames[] = { NULL @@ -6104,7 +6935,7 @@ static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6136,7 +6967,7 @@ static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -6160,7 +6991,7 @@ static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxToolTip *result; bool temp1 = false ; @@ -6201,7 +7032,7 @@ static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -6242,7 +7073,7 @@ static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -6274,7 +7105,7 @@ static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -6302,7 +7133,7 @@ static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6311,7 +7142,7 @@ static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6329,7 +7160,7 @@ static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6338,7 +7169,7 @@ static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6363,7 +7194,7 @@ static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxCaret *result; @@ -6397,7 +7228,7 @@ static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6422,7 +7253,7 @@ static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6450,7 +7281,7 @@ static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6478,7 +7309,7 @@ static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -6498,7 +7329,7 @@ static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *k } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -6508,7 +7339,7 @@ static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6545,7 +7376,7 @@ static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -6565,7 +7396,7 @@ static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -6575,7 +7406,7 @@ static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6612,7 +7443,7 @@ static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -6640,7 +7471,7 @@ static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 ; int arg3 ; @@ -6655,11 +7486,11 @@ static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6677,7 +7508,7 @@ static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -6709,7 +7540,7 @@ static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 ; int arg3 ; @@ -6724,11 +7555,11 @@ static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6746,7 +7577,7 @@ static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -6778,7 +7609,7 @@ static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 = (int) true ; PyObject * obj0 = 0 ; @@ -6792,7 +7623,7 @@ static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -6811,7 +7642,7 @@ static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6836,7 +7667,7 @@ static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -6851,7 +7682,7 @@ static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6860,7 +7691,7 @@ static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6869,7 +7700,7 @@ static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6894,7 +7725,7 @@ static PyObject * Caret_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ; wxBusyCursor *result; PyObject * obj0 = 0 ; @@ -6923,7 +7754,7 @@ static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBusyCursor *arg1 = (wxBusyCursor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6955,7 +7786,7 @@ static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowDisabler *result; PyObject * obj0 = 0 ; @@ -6984,7 +7815,7 @@ static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7016,7 +7847,7 @@ static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBusyInfo *result; bool temp1 = false ; @@ -7055,7 +7886,7 @@ static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBusyInfo *arg1 = (wxBusyInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7087,7 +7918,7 @@ static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *result; char *kwnames[] = { NULL @@ -7109,7 +7940,7 @@ static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; long arg2 = (long) 0 ; PyObject * obj0 = 0 ; @@ -7123,7 +7954,7 @@ static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7142,7 +7973,7 @@ static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7167,7 +7998,7 @@ static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7192,7 +8023,7 @@ static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; long result; PyObject * obj0 = 0 ; @@ -7211,7 +8042,7 @@ static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7227,7 +8058,7 @@ static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 9 ; int arg2 = (int) wxID_FILE1 ; wxFileHistory *result; @@ -7240,13 +8071,13 @@ static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7265,7 +8096,7 @@ static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7290,7 +8121,7 @@ static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7331,7 +8162,7 @@ static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7344,7 +8175,7 @@ static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7362,7 +8193,7 @@ static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *a static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7381,7 +8212,7 @@ static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7390,7 +8221,7 @@ static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7419,7 +8250,7 @@ static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7448,7 +8279,7 @@ static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxConfigBase *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7483,7 +8314,7 @@ static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxConfigBase *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7518,7 +8349,7 @@ static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7543,7 +8374,7 @@ static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, Py static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7572,7 +8403,7 @@ static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int arg2 ; wxString result; @@ -7586,7 +8417,7 @@ static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7610,7 +8441,7 @@ static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, Py static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7629,7 +8460,7 @@ static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7645,7 +8476,7 @@ static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -7702,7 +8533,7 @@ static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyO static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *result; char *kwnames[] = { NULL @@ -7724,7 +8555,7 @@ static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7749,7 +8580,7 @@ static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -7812,7 +8643,7 @@ static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7847,7 +8678,7 @@ static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDC *arg2 = 0 ; bool result; @@ -7885,7 +8716,7 @@ static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7910,7 +8741,7 @@ static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7942,7 +8773,7 @@ static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -7961,7 +8792,7 @@ static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -7970,7 +8801,7 @@ static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyO static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8025,7 +8856,7 @@ static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t arg1 ; wxPyTipProvider *result; PyObject * obj0 = 0 ; @@ -8035,7 +8866,7 @@ static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail; { - arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -8053,7 +8884,7 @@ static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8091,7 +8922,7 @@ static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxTipProvider *arg2 = (wxTipProvider *) 0 ; bool arg3 = (bool) true ; @@ -8110,7 +8941,7 @@ static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8132,7 +8963,7 @@ static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; size_t arg2 ; wxTipProvider *result; @@ -8150,7 +8981,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObjec temp1 = true; } { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8177,7 +9008,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) NULL ; int arg2 = (int) -1 ; wxPyTimer *result; @@ -8194,7 +9025,7 @@ static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8214,7 +9045,7 @@ static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8239,7 +9070,7 @@ static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8259,7 +9090,7 @@ static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObje arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -8278,7 +9109,7 @@ static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; int arg3 = (int) -1 ; @@ -8296,7 +9127,7 @@ static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8315,7 +9146,7 @@ static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -8343,7 +9174,7 @@ static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int arg2 = (int) -1 ; bool arg3 = (bool) false ; @@ -8360,13 +9191,13 @@ static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8387,7 +9218,7 @@ static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8412,7 +9243,7 @@ static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8440,7 +9271,7 @@ static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8459,7 +9290,7 @@ static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8468,7 +9299,7 @@ static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8496,7 +9327,7 @@ static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8515,7 +9346,7 @@ static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8531,7 +9362,7 @@ static PyObject * Timer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxTimerEvent *result; @@ -8544,13 +9375,13 @@ static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8569,7 +9400,7 @@ static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerEvent *arg1 = (wxTimerEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8588,7 +9419,7 @@ static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8604,7 +9435,7 @@ static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimer *arg1 = 0 ; wxTimerRunner *result; PyObject * obj0 = 0 ; @@ -8634,16 +9465,16 @@ static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimer *arg1 = 0 ; int arg2 ; - bool arg3 = (bool) false ; + bool arg3 ; wxTimerRunner *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail; { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; @@ -8653,14 +9484,12 @@ static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) { if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } - if (obj2) { - { - arg3 = (bool)(SWIG_As_bool(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; - } + { + arg3 = static_cast(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; @@ -8677,6 +9506,42 @@ static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) { } +static PyObject *_wrap_new_TimerRunner__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxTimer *arg1 = 0 ; + int arg2 ; + wxTimerRunner *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:new_TimerRunner",&obj0,&obj1)) goto fail; + { + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (arg1 == NULL) { + SWIG_null_ref("wxTimer"); + } + if (SWIG_arg_fail(1)) SWIG_fail; + } + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; @@ -8701,7 +9566,25 @@ static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { return _wrap_new_TimerRunner__SWIG_0(self,args); } } - if ((argc >= 2) && (argc <= 3)) { + if (argc == 2) { + int _v; + { + void *ptr = 0; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = (ptr != 0); + } + } + if (_v) { + _v = SWIG_Check_int(argv[1]); + if (_v) { + return _wrap_new_TimerRunner__SWIG_2(self,args); + } + } + } + if (argc == 3) { int _v; { void *ptr = 0; @@ -8715,9 +9598,6 @@ static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { if (_v) { _v = SWIG_Check_int(argv[1]); if (_v) { - if (argc <= 2) { - return _wrap_new_TimerRunner__SWIG_1(self,args); - } _v = SWIG_Check_bool(argv[2]); if (_v) { return _wrap_new_TimerRunner__SWIG_1(self,args); @@ -8732,7 +9612,7 @@ static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerRunner *arg1 = (wxTimerRunner *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8757,7 +9637,7 @@ static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerRunner *arg1 = (wxTimerRunner *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -8772,12 +9652,12 @@ static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8803,7 +9683,7 @@ static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *result; char *kwnames[] = { NULL @@ -8825,7 +9705,7 @@ static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -8849,7 +9729,7 @@ static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; bool result; PyObject * obj0 = 0 ; @@ -8860,7 +9740,7 @@ static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -8881,7 +9761,7 @@ static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel arg1 ; wxChar *arg2 = (wxChar *) 0 ; time_t arg3 ; @@ -8894,13 +9774,13 @@ static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -8918,7 +9798,7 @@ static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8943,7 +9823,7 @@ static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -8964,7 +9844,7 @@ static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *result; char *kwnames[] = { NULL @@ -8986,7 +9866,7 @@ static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; wxLog *result; PyObject * obj0 = 0 ; @@ -9012,7 +9892,7 @@ static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9033,7 +9913,7 @@ static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9054,7 +9934,7 @@ static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9064,7 +9944,7 @@ static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -9083,7 +9963,7 @@ static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9092,7 +9972,7 @@ static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail; { - arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -9110,7 +9990,7 @@ static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9131,7 +10011,7 @@ static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTraceMask arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9140,7 +10020,7 @@ static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail; { - arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -9158,7 +10038,7 @@ static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9195,7 +10075,7 @@ static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9232,7 +10112,7 @@ static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9253,7 +10133,7 @@ static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxArrayString *result; char *kwnames[] = { NULL @@ -9280,7 +10160,7 @@ static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *arg1 = (wxChar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9305,7 +10185,7 @@ static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -9329,7 +10209,7 @@ static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTraceMask result; char *kwnames[] = { NULL @@ -9344,7 +10224,7 @@ static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -9353,7 +10233,7 @@ static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *arg1 = (wxChar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9381,7 +10261,7 @@ static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel result; char *kwnames[] = { NULL @@ -9396,7 +10276,7 @@ static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -9405,7 +10285,7 @@ static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *result; char *kwnames[] = { NULL @@ -9427,7 +10307,7 @@ static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -9436,7 +10316,7 @@ static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = Log_TimeStamp(); + result = wxLog_TimeStamp(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9455,7 +10335,7 @@ static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9487,7 +10367,7 @@ static PyObject * Log_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogStderr *result; char *kwnames[] = { NULL @@ -9516,7 +10396,7 @@ static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxLogTextCtrl *result; PyObject * obj0 = 0 ; @@ -9549,7 +10429,7 @@ static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogGui *result; char *kwnames[] = { NULL @@ -9578,7 +10458,7 @@ static PyObject * LogGui_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -9603,13 +10483,13 @@ static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwarg } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9636,7 +10516,7 @@ static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -9650,7 +10530,7 @@ static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -9669,7 +10549,7 @@ static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -9697,7 +10577,7 @@ static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; wxLog *result; PyObject * obj0 = 0 ; @@ -9723,7 +10603,7 @@ static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9751,7 +10631,7 @@ static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, P static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9764,7 +10644,7 @@ static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9789,7 +10669,7 @@ static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; wxLogChain *result; PyObject * obj0 = 0 ; @@ -9815,7 +10695,7 @@ static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; wxLog *arg2 = (wxLog *) 0 ; PyObject * obj0 = 0 ; @@ -9844,7 +10724,7 @@ static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9857,7 +10737,7 @@ static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9875,7 +10755,7 @@ static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9903,7 +10783,7 @@ static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, Py static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; wxLog *result; PyObject * obj0 = 0 ; @@ -9936,7 +10816,7 @@ static PyObject * LogChain_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogBuffer *result; char *kwnames[] = { NULL @@ -9958,7 +10838,7 @@ static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogBuffer *arg1 = (wxLogBuffer *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -9993,7 +10873,7 @@ static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogBuffer *arg1 = (wxLogBuffer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10025,7 +10905,7 @@ static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long result; char *kwnames[] = { NULL @@ -10040,7 +10920,7 @@ static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10049,7 +10929,7 @@ static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 = (unsigned long) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10060,7 +10940,7 @@ static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -10085,7 +10965,7 @@ static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10122,7 +11002,7 @@ static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10159,7 +11039,7 @@ static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10196,7 +11076,7 @@ static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10233,7 +11113,7 @@ static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10270,7 +11150,7 @@ static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10307,7 +11187,7 @@ static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10344,7 +11224,7 @@ static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10381,7 +11261,7 @@ static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10422,7 +11302,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10459,7 +11339,7 @@ static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10471,7 +11351,7 @@ static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10502,7 +11382,7 @@ static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10511,7 +11391,7 @@ static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10542,7 +11422,7 @@ static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -10633,7 +11513,7 @@ static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) { static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -10686,7 +11566,7 @@ static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogNull *result; char *kwnames[] = { NULL @@ -10708,7 +11588,7 @@ static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogNull *arg1 = (wxLogNull *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10740,7 +11620,7 @@ static PyObject * LogNull_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyLog *result; char *kwnames[] = { NULL @@ -10762,7 +11642,7 @@ static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyLog *arg1 = (wxPyLog *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10800,7 +11680,7 @@ static PyObject * PyLog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxSignal arg2 = (wxSignal) wxSIGTERM ; int arg3 = (int) wxKILL_NOCHILDREN ; @@ -10814,24 +11694,24 @@ static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxSignal)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3); + result = (wxKillError)wxPyProcess::Kill(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10844,7 +11724,7 @@ static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool result; PyObject * obj0 = 0 ; @@ -10854,7 +11734,7 @@ static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10874,7 +11754,7 @@ static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *result; @@ -10893,7 +11773,7 @@ static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -10920,7 +11800,7 @@ static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) NULL ; int arg2 = (int) -1 ; wxPyProcess *result; @@ -10937,7 +11817,7 @@ static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -10956,7 +11836,7 @@ static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10987,7 +11867,7 @@ static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; int arg2 ; int arg3 ; @@ -11002,11 +11882,11 @@ static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11024,7 +11904,7 @@ static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11049,7 +11929,7 @@ static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11077,7 +11957,7 @@ static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11102,7 +11982,7 @@ static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -11135,7 +12015,7 @@ static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -11168,7 +12048,7 @@ static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxOutputStream *result; PyObject * obj0 = 0 ; @@ -11194,7 +12074,7 @@ static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11219,7 +12099,7 @@ static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11247,7 +12127,7 @@ static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11275,7 +12155,7 @@ static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11310,7 +12190,7 @@ static PyObject * Process_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -11325,19 +12205,19 @@ static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11356,7 +12236,7 @@ static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11375,7 +12255,7 @@ static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11384,7 +12264,7 @@ static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11403,7 +12283,7 @@ static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11412,7 +12292,7 @@ static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11425,7 +12305,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_pid = arg2; @@ -11438,7 +12318,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11452,7 +12332,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObje result = (int) ((arg1)->m_pid); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11461,7 +12341,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11474,7 +12354,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_exitcode = arg2; @@ -11487,7 +12367,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, P static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11501,7 +12381,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, P result = (int) ((arg1)->m_exitcode); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11517,7 +12397,7 @@ static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *arg3 = (wxPyProcess *) NULL ; @@ -11538,7 +12418,7 @@ static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -11555,7 +12435,7 @@ static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp1) @@ -11572,7 +12452,7 @@ static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxSignal arg2 = (wxSignal) wxSIGTERM ; wxKillError *arg3 = (wxKillError *) 0 ; @@ -11591,30 +12471,30 @@ static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { } if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxSignal)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg4 = (int)(SWIG_As_int(obj2)); + arg4 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4); + result = (int)wxKill(arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { PyObject* o; @@ -11628,7 +12508,7 @@ static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxJOYSTICK1 ; wxJoystick *result; PyObject * obj0 = 0 ; @@ -11639,7 +12519,7 @@ static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -11659,7 +12539,7 @@ static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11684,7 +12564,7 @@ static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -11704,7 +12584,7 @@ static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -11714,7 +12594,7 @@ static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11733,7 +12613,7 @@ static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11742,7 +12622,7 @@ static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11761,7 +12641,7 @@ static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11770,7 +12650,7 @@ static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11789,7 +12669,7 @@ static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11798,7 +12678,7 @@ static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11817,7 +12697,7 @@ static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11826,7 +12706,7 @@ static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11845,7 +12725,7 @@ static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11854,7 +12734,7 @@ static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11873,7 +12753,7 @@ static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11882,7 +12762,7 @@ static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11901,7 +12781,7 @@ static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11910,7 +12790,7 @@ static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11929,7 +12809,7 @@ static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11938,7 +12818,7 @@ static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11951,7 +12831,7 @@ static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11969,7 +12849,7 @@ static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11997,7 +12877,7 @@ static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12016,7 +12896,7 @@ static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12025,7 +12905,7 @@ static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, P static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12044,7 +12924,7 @@ static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12053,7 +12933,7 @@ static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12072,7 +12952,7 @@ static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12081,7 +12961,7 @@ static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -12113,7 +12993,7 @@ static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12132,7 +13012,7 @@ static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12141,7 +13021,7 @@ static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12160,7 +13040,7 @@ static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12169,7 +13049,7 @@ static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12188,7 +13068,7 @@ static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12197,7 +13077,7 @@ static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12216,7 +13096,7 @@ static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12225,7 +13105,7 @@ static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12244,7 +13124,7 @@ static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12253,7 +13133,7 @@ static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12272,7 +13152,7 @@ static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12281,7 +13161,7 @@ static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12300,7 +13180,7 @@ static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12309,7 +13189,7 @@ static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyO static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12328,7 +13208,7 @@ static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12337,7 +13217,7 @@ static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12356,7 +13236,7 @@ static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12365,7 +13245,7 @@ static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12384,7 +13264,7 @@ static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12393,7 +13273,7 @@ static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12412,7 +13292,7 @@ static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12421,7 +13301,7 @@ static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12440,7 +13320,7 @@ static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12449,7 +13329,7 @@ static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12468,7 +13348,7 @@ static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12477,7 +13357,7 @@ static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12496,7 +13376,7 @@ static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12505,7 +13385,7 @@ static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12524,7 +13404,7 @@ static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12533,7 +13413,7 @@ static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12552,7 +13432,7 @@ static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12561,7 +13441,7 @@ static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12580,7 +13460,7 @@ static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12589,7 +13469,7 @@ static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12608,7 +13488,7 @@ static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12617,7 +13497,7 @@ static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12645,7 +13525,7 @@ static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12673,7 +13553,7 @@ static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12701,7 +13581,7 @@ static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12729,7 +13609,7 @@ static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12757,7 +13637,7 @@ static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12785,7 +13665,7 @@ static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12813,7 +13693,7 @@ static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -12832,7 +13712,7 @@ static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -12853,7 +13733,7 @@ static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12888,7 +13768,7 @@ static PyObject * Joystick_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) wxJOYSTICK1 ; @@ -12905,25 +13785,25 @@ static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12942,7 +13822,7 @@ static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -12962,7 +13842,7 @@ static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyO } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -12972,7 +13852,7 @@ static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12991,7 +13871,7 @@ static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13000,7 +13880,7 @@ static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13019,7 +13899,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13028,7 +13908,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13047,7 +13927,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13056,7 +13936,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13075,7 +13955,7 @@ static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13084,7 +13964,7 @@ static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13097,7 +13977,7 @@ static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13115,7 +13995,7 @@ static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13128,7 +14008,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13146,7 +14026,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13159,7 +14039,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13177,7 +14057,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -13209,7 +14089,7 @@ static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13222,7 +14102,7 @@ static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13240,7 +14120,7 @@ static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13268,7 +14148,7 @@ static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObje static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13296,7 +14176,7 @@ static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13324,7 +14204,7 @@ static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13339,7 +14219,7 @@ static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13360,7 +14240,7 @@ static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyOb static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13375,7 +14255,7 @@ static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13396,7 +14276,7 @@ static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObje static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13411,7 +14291,7 @@ static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, Py if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13439,7 +14319,7 @@ static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxSound *result; @@ -13481,7 +14361,7 @@ static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxSound *result; PyObject * obj0 = 0 ; @@ -13507,7 +14387,7 @@ static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13532,7 +14412,7 @@ static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; wxString *arg2 = 0 ; bool result; @@ -13576,7 +14456,7 @@ static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -13607,7 +14487,7 @@ static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13635,7 +14515,7 @@ static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ; bool result; @@ -13650,7 +14530,7 @@ static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13672,7 +14552,7 @@ static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ; bool result; @@ -13691,7 +14571,7 @@ static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13721,7 +14601,7 @@ static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -13750,7 +14630,7 @@ static PyObject * Sound_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -13836,7 +14716,7 @@ static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxArrayString *arg1 = 0 ; wxFileTypeInfo *result; bool temp1 = false ; @@ -13884,7 +14764,7 @@ static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyOb static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *result; char *kwnames[] = { NULL @@ -13906,7 +14786,7 @@ static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13934,7 +14814,7 @@ static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -13956,7 +14836,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -13983,7 +14863,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14024,7 +14904,7 @@ static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14059,7 +14939,7 @@ static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14094,7 +14974,7 @@ static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, P static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14129,7 +15009,7 @@ static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14164,7 +15044,7 @@ static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14199,7 +15079,7 @@ static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, P static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxArrayString *result; PyObject * obj0 = 0 ; @@ -14230,7 +15110,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, Py static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14249,7 +15129,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14258,7 +15138,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *arg static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14293,7 +15173,7 @@ static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14312,7 +15192,7 @@ static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14328,7 +15208,7 @@ static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = 0 ; wxFileType *result; PyObject * obj0 = 0 ; @@ -14360,7 +15240,7 @@ static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14385,7 +15265,7 @@ static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14411,7 +15291,7 @@ static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14437,7 +15317,7 @@ static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14463,7 +15343,7 @@ static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -14489,7 +15369,7 @@ static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14515,7 +15395,7 @@ static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14541,7 +15421,7 @@ static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14602,7 +15482,7 @@ static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14663,7 +15543,7 @@ static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14724,7 +15604,7 @@ static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -14755,7 +15635,7 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -14792,7 +15672,7 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -14818,7 +15698,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -14847,7 +15727,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -14875,7 +15755,7 @@ static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14911,7 +15791,7 @@ static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObje } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3); + result = wxFileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14967,7 +15847,7 @@ static int _wrap_TheMimeTypesManager_set(PyObject *) { static PyObject *_wrap_TheMimeTypesManager_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0); return pyobj; @@ -14975,7 +15855,7 @@ static PyObject *_wrap_TheMimeTypesManager_get(void) { static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool result; @@ -15031,7 +15911,7 @@ static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyO static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *result; char *kwnames[] = { NULL @@ -15053,7 +15933,7 @@ static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; int arg2 = (int) wxMAILCAP_ALL ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -15071,7 +15951,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, P if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15105,7 +15985,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, P static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15130,7 +16010,7 @@ static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, Py static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; @@ -15172,7 +16052,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyO static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; @@ -15214,7 +16094,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyOb static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -15237,7 +16117,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -15266,7 +16146,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; bool result; @@ -15310,7 +16190,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -15336,7 +16216,7 @@ static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *a static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileTypeInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -15371,7 +16251,7 @@ static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileTypeInfo *arg2 = 0 ; wxFileType *result; @@ -15407,7 +16287,7 @@ static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, Py static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileType *arg2 = (wxFileType *) 0 ; bool result; @@ -15439,7 +16319,7 @@ static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15477,7 +16357,7 @@ static int _wrap_ART_TOOLBAR_set(PyObject *) { static PyObject *_wrap_ART_TOOLBAR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15497,7 +16377,7 @@ static int _wrap_ART_MENU_set(PyObject *) { static PyObject *_wrap_ART_MENU_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15517,7 +16397,7 @@ static int _wrap_ART_FRAME_ICON_set(PyObject *) { static PyObject *_wrap_ART_FRAME_ICON_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15537,7 +16417,7 @@ static int _wrap_ART_CMN_DIALOG_set(PyObject *) { static PyObject *_wrap_ART_CMN_DIALOG_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15557,7 +16437,7 @@ static int _wrap_ART_HELP_BROWSER_set(PyObject *) { static PyObject *_wrap_ART_HELP_BROWSER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15577,7 +16457,7 @@ static int _wrap_ART_MESSAGE_BOX_set(PyObject *) { static PyObject *_wrap_ART_MESSAGE_BOX_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15597,7 +16477,7 @@ static int _wrap_ART_BUTTON_set(PyObject *) { static PyObject *_wrap_ART_BUTTON_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15617,7 +16497,7 @@ static int _wrap_ART_OTHER_set(PyObject *) { static PyObject *_wrap_ART_OTHER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15637,7 +16517,7 @@ static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) { static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15657,7 +16537,7 @@ static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) { static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15677,7 +16557,7 @@ static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) { static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15697,7 +16577,7 @@ static int _wrap_ART_HELP_SETTINGS_set(PyObject *) { static PyObject *_wrap_ART_HELP_SETTINGS_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15717,7 +16597,7 @@ static int _wrap_ART_HELP_BOOK_set(PyObject *) { static PyObject *_wrap_ART_HELP_BOOK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15737,7 +16617,7 @@ static int _wrap_ART_HELP_FOLDER_set(PyObject *) { static PyObject *_wrap_ART_HELP_FOLDER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15757,7 +16637,7 @@ static int _wrap_ART_HELP_PAGE_set(PyObject *) { static PyObject *_wrap_ART_HELP_PAGE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15777,7 +16657,7 @@ static int _wrap_ART_GO_BACK_set(PyObject *) { static PyObject *_wrap_ART_GO_BACK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15797,7 +16677,7 @@ static int _wrap_ART_GO_FORWARD_set(PyObject *) { static PyObject *_wrap_ART_GO_FORWARD_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15817,7 +16697,7 @@ static int _wrap_ART_GO_UP_set(PyObject *) { static PyObject *_wrap_ART_GO_UP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15837,7 +16717,7 @@ static int _wrap_ART_GO_DOWN_set(PyObject *) { static PyObject *_wrap_ART_GO_DOWN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15857,7 +16737,7 @@ static int _wrap_ART_GO_TO_PARENT_set(PyObject *) { static PyObject *_wrap_ART_GO_TO_PARENT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15877,7 +16757,7 @@ static int _wrap_ART_GO_HOME_set(PyObject *) { static PyObject *_wrap_ART_GO_HOME_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15897,7 +16777,7 @@ static int _wrap_ART_FILE_OPEN_set(PyObject *) { static PyObject *_wrap_ART_FILE_OPEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15917,7 +16797,7 @@ static int _wrap_ART_FILE_SAVE_set(PyObject *) { static PyObject *_wrap_ART_FILE_SAVE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15937,7 +16817,7 @@ static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) { static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15957,7 +16837,7 @@ static int _wrap_ART_PRINT_set(PyObject *) { static PyObject *_wrap_ART_PRINT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15977,7 +16857,7 @@ static int _wrap_ART_HELP_set(PyObject *) { static PyObject *_wrap_ART_HELP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15997,7 +16877,7 @@ static int _wrap_ART_TIP_set(PyObject *) { static PyObject *_wrap_ART_TIP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16017,7 +16897,7 @@ static int _wrap_ART_REPORT_VIEW_set(PyObject *) { static PyObject *_wrap_ART_REPORT_VIEW_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16037,7 +16917,7 @@ static int _wrap_ART_LIST_VIEW_set(PyObject *) { static PyObject *_wrap_ART_LIST_VIEW_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16057,7 +16937,7 @@ static int _wrap_ART_NEW_DIR_set(PyObject *) { static PyObject *_wrap_ART_NEW_DIR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16077,7 +16957,7 @@ static int _wrap_ART_HARDDISK_set(PyObject *) { static PyObject *_wrap_ART_HARDDISK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16097,7 +16977,7 @@ static int _wrap_ART_FLOPPY_set(PyObject *) { static PyObject *_wrap_ART_FLOPPY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16117,7 +16997,7 @@ static int _wrap_ART_CDROM_set(PyObject *) { static PyObject *_wrap_ART_CDROM_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16137,7 +17017,7 @@ static int _wrap_ART_REMOVABLE_set(PyObject *) { static PyObject *_wrap_ART_REMOVABLE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16157,7 +17037,7 @@ static int _wrap_ART_FOLDER_set(PyObject *) { static PyObject *_wrap_ART_FOLDER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16177,7 +17057,7 @@ static int _wrap_ART_FOLDER_OPEN_set(PyObject *) { static PyObject *_wrap_ART_FOLDER_OPEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16197,7 +17077,7 @@ static int _wrap_ART_GO_DIR_UP_set(PyObject *) { static PyObject *_wrap_ART_GO_DIR_UP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16217,7 +17097,7 @@ static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) { static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16237,7 +17117,7 @@ static int _wrap_ART_NORMAL_FILE_set(PyObject *) { static PyObject *_wrap_ART_NORMAL_FILE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16257,7 +17137,7 @@ static int _wrap_ART_TICK_MARK_set(PyObject *) { static PyObject *_wrap_ART_TICK_MARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16277,7 +17157,7 @@ static int _wrap_ART_CROSS_MARK_set(PyObject *) { static PyObject *_wrap_ART_CROSS_MARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16297,7 +17177,7 @@ static int _wrap_ART_ERROR_set(PyObject *) { static PyObject *_wrap_ART_ERROR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16317,7 +17197,7 @@ static int _wrap_ART_QUESTION_set(PyObject *) { static PyObject *_wrap_ART_QUESTION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16337,7 +17217,7 @@ static int _wrap_ART_WARNING_set(PyObject *) { static PyObject *_wrap_ART_WARNING_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16357,7 +17237,7 @@ static int _wrap_ART_INFORMATION_set(PyObject *) { static PyObject *_wrap_ART_INFORMATION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16377,7 +17257,7 @@ static int _wrap_ART_MISSING_IMAGE_set(PyObject *) { static PyObject *_wrap_ART_MISSING_IMAGE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16397,7 +17277,7 @@ static int _wrap_ART_COPY_set(PyObject *) { static PyObject *_wrap_ART_COPY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16417,7 +17297,7 @@ static int _wrap_ART_CUT_set(PyObject *) { static PyObject *_wrap_ART_CUT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16437,7 +17317,7 @@ static int _wrap_ART_PASTE_set(PyObject *) { static PyObject *_wrap_ART_PASTE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16457,7 +17337,7 @@ static int _wrap_ART_DELETE_set(PyObject *) { static PyObject *_wrap_ART_DELETE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16477,7 +17357,7 @@ static int _wrap_ART_NEW_set(PyObject *) { static PyObject *_wrap_ART_NEW_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16497,7 +17377,7 @@ static int _wrap_ART_UNDO_set(PyObject *) { static PyObject *_wrap_ART_UNDO_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16517,7 +17397,7 @@ static int _wrap_ART_REDO_set(PyObject *) { static PyObject *_wrap_ART_REDO_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16537,7 +17417,7 @@ static int _wrap_ART_QUIT_set(PyObject *) { static PyObject *_wrap_ART_QUIT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16557,7 +17437,7 @@ static int _wrap_ART_FIND_set(PyObject *) { static PyObject *_wrap_ART_FIND_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16577,7 +17457,7 @@ static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) { static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16591,7 +17471,7 @@ static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) { static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *result; char *kwnames[] = { NULL @@ -16614,7 +17494,7 @@ static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -16645,7 +17525,7 @@ static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16670,7 +17550,7 @@ static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -16694,7 +17574,7 @@ static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16722,7 +17602,7 @@ static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, Py static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyART_OTHER ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -16768,7 +17648,7 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObjec } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } { @@ -16794,7 +17674,7 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyART_OTHER ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -16840,7 +17720,7 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } { @@ -16866,7 +17746,7 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool arg2 = (bool) false ; wxSize result; @@ -16885,7 +17765,7 @@ static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObj } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16898,7 +17778,7 @@ static PyObject *_wrap_ArtProvider_GetSizeHint(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); } { @@ -16916,7 +17796,7 @@ static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16948,7 +17828,7 @@ static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16973,7 +17853,7 @@ static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxConfigBase *result; PyObject * obj0 = 0 ; @@ -16999,7 +17879,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; wxConfigBase *result; PyObject * obj0 = 0 ; @@ -17010,7 +17890,7 @@ static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -17029,7 +17909,7 @@ static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *result; char *kwnames[] = { NULL @@ -17051,7 +17931,7 @@ static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -17072,7 +17952,7 @@ static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -17113,7 +17993,7 @@ static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -17148,7 +18028,7 @@ static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -17174,7 +18054,7 @@ static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject *result; @@ -17188,7 +18068,7 @@ static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17206,7 +18086,7 @@ static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -17232,7 +18112,7 @@ static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject *result; @@ -17246,7 +18126,7 @@ static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17264,7 +18144,7 @@ static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; size_t result; @@ -17279,7 +18159,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17291,7 +18171,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -17300,7 +18180,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; size_t result; @@ -17315,7 +18195,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17327,7 +18207,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -17336,7 +18216,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -17380,7 +18260,7 @@ static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -17424,7 +18304,7 @@ static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -17468,7 +18348,7 @@ static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxConfigBase::EntryType result; @@ -17510,7 +18390,7 @@ static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -17577,7 +18457,7 @@ static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) 0 ; @@ -17600,7 +18480,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17612,7 +18492,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp2) @@ -17629,7 +18509,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; double arg3 = (double) 0.0 ; @@ -17652,7 +18532,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17664,7 +18544,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } { if (temp2) @@ -17681,7 +18561,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -17704,7 +18584,7 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17733,7 +18613,7 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -17793,7 +18673,7 @@ static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; long arg3 ; @@ -17815,7 +18695,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17843,7 +18723,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; double arg3 ; @@ -17865,7 +18745,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObjec temp2 = true; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17893,7 +18773,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 ; @@ -17915,7 +18795,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17943,7 +18823,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; bool result; @@ -17958,7 +18838,7 @@ static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17979,7 +18859,7 @@ static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -18039,7 +18919,7 @@ static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -18099,7 +18979,7 @@ static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -18122,7 +19002,7 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -18151,7 +19031,7 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -18195,7 +19075,7 @@ static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18223,7 +19103,7 @@ static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -18237,7 +19117,7 @@ static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, P if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -18256,7 +19136,7 @@ static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, P static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18284,7 +19164,7 @@ static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -18298,7 +19178,7 @@ static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -18317,7 +19197,7 @@ static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18345,7 +19225,7 @@ static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -18393,7 +19273,7 @@ static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18425,7 +19305,7 @@ static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18457,7 +19337,7 @@ static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -18498,7 +19378,7 @@ static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -18539,7 +19419,7 @@ static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -18552,7 +19432,7 @@ static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18570,7 +19450,7 @@ static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long result; PyObject * obj0 = 0 ; @@ -18589,7 +19469,7 @@ static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -18605,7 +19485,7 @@ static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -18660,7 +19540,7 @@ static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -18711,7 +19591,7 @@ static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfig *arg1 = (wxConfig *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18743,7 +19623,7 @@ static PyObject * Config_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -18798,7 +19678,7 @@ static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwar } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -18849,7 +19729,7 @@ static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileConfig *arg1 = (wxFileConfig *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18881,7 +19761,7 @@ static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxConfigPathChanger *result; @@ -18923,7 +19803,7 @@ static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18948,7 +19828,7 @@ static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -18990,7 +19870,7 @@ static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -19040,7 +19920,7 @@ static int _wrap_DefaultDateTimeFormat_set(PyObject *) { static PyObject *_wrap_DefaultDateTimeFormat_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -19060,7 +19940,7 @@ static int _wrap_DefaultTimeSpanFormat_set(PyObject *) { static PyObject *_wrap_DefaultTimeSpanFormat_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -19074,7 +19954,7 @@ static PyObject *_wrap_DefaultTimeSpanFormat_get(void) { static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19083,12 +19963,12 @@ static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail; { - arg1 = (wxDateTime::Country)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxDateTime::SetCountry((wxDateTime::Country )arg1); + wxDateTime::SetCountry(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19101,7 +19981,7 @@ static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country result; char *kwnames[] = { NULL @@ -19123,7 +20003,7 @@ static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; PyObject * obj0 = 0 ; @@ -19134,13 +20014,13 @@ static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Country)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1); + result = (bool)wxDateTime::IsWestEuropeanCountry(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19155,7 +20035,7 @@ static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ; int result; PyObject * obj0 = 0 ; @@ -19166,19 +20046,19 @@ static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1); + result = (int)wxDateTime::GetCurrentYear(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19187,7 +20067,7 @@ static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -19197,7 +20077,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -19208,7 +20088,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19217,7 +20097,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ; wxDateTime::Month result; PyObject * obj0 = 0 ; @@ -19228,13 +20108,13 @@ static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1); + result = (wxDateTime::Month)wxDateTime::GetCurrentMonth(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19247,7 +20127,7 @@ static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ; bool result; @@ -19260,19 +20140,19 @@ static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2); + result = (bool)wxDateTime::IsLeapYear(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19287,7 +20167,7 @@ static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; int result; PyObject * obj0 = 0 ; @@ -19298,7 +20178,7 @@ static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -19310,7 +20190,7 @@ static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19319,7 +20199,7 @@ static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ; int result; @@ -19331,24 +20211,24 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2); + result = (int)wxDateTime::GetNumberOfDays(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19357,7 +20237,7 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Month arg1 ; int arg2 = (int) wxDateTime::Inv_Year ; wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ; @@ -19371,30 +20251,30 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (wxDateTime::Month)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (wxDateTime::Calendar)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3); + result = (int)wxDateTime::GetNumberOfDays(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19403,7 +20283,7 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *arg static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Month arg1 ; wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ; wxString result; @@ -19415,18 +20295,18 @@ static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxDateTime::Month)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2); + result = wxDateTime::GetMonthName(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19445,7 +20325,7 @@ static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::WeekDay arg1 ; wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ; wxString result; @@ -19457,18 +20337,18 @@ static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2); + result = wxDateTime::GetWeekDayName(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19487,7 +20367,7 @@ static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *result; char *kwnames[] = { NULL @@ -19496,7 +20376,7 @@ static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)DateTime_GetAmPmStrings(); + result = (PyObject *)wxDateTime_GetAmPmStrings(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19509,7 +20389,7 @@ static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; @@ -19522,19 +20402,19 @@ static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2); + result = (bool)wxDateTime::IsDSTApplicable(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19549,7 +20429,7 @@ static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; wxDateTime result; @@ -19562,26 +20442,26 @@ static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2); + result = wxDateTime::GetBeginDST(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19591,7 +20471,7 @@ static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; wxDateTime result; @@ -19604,26 +20484,26 @@ static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2); + result = wxDateTime::GetEndDST(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19633,7 +20513,7 @@ static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19649,7 +20529,7 @@ static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19659,7 +20539,7 @@ static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19675,7 +20555,7 @@ static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwarg } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19685,7 +20565,7 @@ static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19701,7 +20581,7 @@ static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwar } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19711,7 +20591,7 @@ static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *result; char *kwnames[] = { NULL @@ -19733,7 +20613,7 @@ static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; time_t arg1 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19743,7 +20623,7 @@ static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail; { - arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -19761,7 +20641,7 @@ static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19771,7 +20651,7 @@ static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail; { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -19789,7 +20669,7 @@ static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -19805,24 +20685,24 @@ static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -19841,7 +20721,7 @@ static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -19863,48 +20743,48 @@ static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7); + result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4,arg5,arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19917,7 +20797,7 @@ static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19942,7 +20822,7 @@ static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19971,7 +20851,7 @@ static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; time_t arg2 ; wxDateTime *result; @@ -19985,7 +20865,7 @@ static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20006,7 +20886,7 @@ static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double arg2 ; wxDateTime *result; @@ -20020,7 +20900,7 @@ static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20041,7 +20921,7 @@ static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; int arg3 = (int) 0 ; @@ -20061,24 +20941,24 @@ static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -20100,7 +20980,7 @@ static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -20126,49 +21006,49 @@ static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::Month)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8); + wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7,arg8); result = (wxDateTime *) &_result_ref; } @@ -20183,7 +21063,7 @@ static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -20212,7 +21092,7 @@ static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20226,7 +21106,7 @@ static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20247,7 +21127,7 @@ static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 ; wxDateTime *result; @@ -20261,13 +21141,13 @@ static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2); + wxDateTime &_result_ref = (arg1)->SetMonth(arg2); result = (wxDateTime *) &_result_ref; } @@ -20282,7 +21162,7 @@ static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20296,7 +21176,7 @@ static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20317,7 +21197,7 @@ static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20331,7 +21211,7 @@ static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20352,7 +21232,7 @@ static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20366,7 +21246,7 @@ static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20387,7 +21267,7 @@ static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20401,7 +21281,7 @@ static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20422,7 +21302,7 @@ static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20436,7 +21316,7 @@ static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20457,7 +21337,7 @@ static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; @@ -20473,19 +21353,19 @@ static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3); + wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek(arg2,arg3); result = (wxDateTime *) &_result_ref; } @@ -20500,7 +21380,7 @@ static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *arg static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; @@ -20516,25 +21396,25 @@ static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3); + result = (arg1)->GetWeekDayInSameWeek(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20544,7 +21424,7 @@ static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime *result; @@ -20558,13 +21438,13 @@ static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2); + wxDateTime &_result_ref = (arg1)->SetToNextWeekDay(arg2); result = (wxDateTime *) &_result_ref; } @@ -20579,7 +21459,7 @@ static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime result; @@ -20593,19 +21473,19 @@ static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2); + result = (arg1)->GetNextWeekDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20615,7 +21495,7 @@ static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime *result; @@ -20629,13 +21509,13 @@ static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2); + wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay(arg2); result = (wxDateTime *) &_result_ref; } @@ -20650,7 +21530,7 @@ static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime result; @@ -20664,19 +21544,19 @@ static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2); + result = (arg1)->GetPrevWeekDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20686,7 +21566,7 @@ static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; int arg3 = (int) 1 ; @@ -20706,30 +21586,30 @@ static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxDateTime::Month)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5); + result = (bool)(arg1)->SetToWeekDay(arg2,arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20744,7 +21624,7 @@ static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -20762,24 +21642,24 @@ static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::Month)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4); + result = (bool)(arg1)->SetToLastWeekDay(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20794,7 +21674,7 @@ static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -20812,31 +21692,31 @@ static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::Month)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4); + result = (arg1)->GetLastWeekDay(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20846,7 +21726,7 @@ static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20864,24 +21744,24 @@ static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4); + result = (bool)(arg1)->SetToTheWeek(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20896,7 +21776,7 @@ static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20914,31 +21794,31 @@ static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4); + result = (arg1)->GetWeek(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20948,7 +21828,7 @@ static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20962,29 +21842,29 @@ static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3); + result = wxDateTime::SetToWeekOfYear(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20994,7 +21874,7 @@ static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -21011,20 +21891,20 @@ static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, Py if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3); + wxDateTime &_result_ref = (arg1)->SetToLastMonthDay(arg2,arg3); result = (wxDateTime *) &_result_ref; } @@ -21039,7 +21919,7 @@ static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, Py static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -21056,26 +21936,26 @@ static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3); + result = (arg1)->GetLastMonthDay(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21085,7 +21965,7 @@ static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -21099,7 +21979,7 @@ static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21120,7 +22000,7 @@ static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime result; @@ -21134,7 +22014,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21146,7 +22026,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21156,7 +22036,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21175,7 +22055,7 @@ static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21184,7 +22064,7 @@ static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, P static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21203,7 +22083,7 @@ static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21212,7 +22092,7 @@ static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21231,7 +22111,7 @@ static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21240,7 +22120,7 @@ static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21259,7 +22139,7 @@ static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21268,7 +22148,7 @@ static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21287,7 +22167,7 @@ static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21296,7 +22176,7 @@ static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -21318,7 +22198,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -21331,7 +22211,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } { @@ -21347,7 +22227,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -21369,7 +22249,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObjec } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -21397,7 +22277,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -21419,7 +22299,7 @@ static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObjec } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -21432,7 +22312,7 @@ static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObjec } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } { @@ -21448,7 +22328,7 @@ static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -21470,7 +22350,7 @@ static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -21498,7 +22378,7 @@ static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime result; @@ -21513,7 +22393,7 @@ static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21526,7 +22406,7 @@ static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwar } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21536,7 +22416,7 @@ static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime *result; @@ -21551,7 +22431,7 @@ static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21573,7 +22453,7 @@ static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime result; @@ -21588,7 +22468,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21601,7 +22481,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwar } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21611,7 +22491,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime *result; @@ -21626,7 +22506,7 @@ static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21648,7 +22528,7 @@ static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime result; @@ -21663,7 +22543,7 @@ static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21676,7 +22556,7 @@ static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kw } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21686,7 +22566,7 @@ static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime *result; @@ -21701,7 +22581,7 @@ static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject 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; } } @@ -21723,7 +22603,7 @@ static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; int result; @@ -21738,19 +22618,19 @@ static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->IsDST((wxDateTime::Country )arg2); + result = (int)(arg1)->IsDST(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -21759,7 +22639,7 @@ static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21787,7 +22667,7 @@ static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; time_t result; PyObject * obj0 = 0 ; @@ -21806,7 +22686,7 @@ static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -21815,7 +22695,7 @@ static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21844,7 +22724,7 @@ static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21859,7 +22739,7 @@ static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21901,7 +22781,7 @@ static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21930,7 +22810,7 @@ static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21945,7 +22825,7 @@ static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21987,7 +22867,7 @@ static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22016,7 +22896,7 @@ static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22031,7 +22911,7 @@ static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22060,7 +22940,7 @@ static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22075,7 +22955,7 @@ static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22104,7 +22984,7 @@ static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22119,7 +22999,7 @@ static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22148,7 +23028,7 @@ static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22163,7 +23043,7 @@ static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22192,7 +23072,7 @@ static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22207,7 +23087,7 @@ static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ; @@ -22226,7 +23106,7 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22238,13 +23118,13 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3); + result = (int)((wxDateTime const *)arg1)->GetWeekOfYear(arg2,(wxDateTime::TimeZone const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) delete arg3; @@ -22259,7 +23139,7 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ; @@ -22278,7 +23158,7 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22290,13 +23170,13 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3); + result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth(arg2,(wxDateTime::TimeZone const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) delete arg3; @@ -22311,7 +23191,7 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; @@ -22326,13 +23206,13 @@ static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2); + result = (bool)((wxDateTime const *)arg1)->IsWorkDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -22347,7 +23227,7 @@ static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22385,7 +23265,7 @@ static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22423,7 +23303,7 @@ static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22461,7 +23341,7 @@ static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxDateTime *arg3 = 0 ; @@ -22509,7 +23389,7 @@ static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, Py static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxDateTime *arg3 = 0 ; @@ -22557,7 +23437,7 @@ static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22595,7 +23475,7 @@ static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22633,7 +23513,7 @@ static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan *arg3 = 0 ; @@ -22681,7 +23561,7 @@ static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22720,7 +23600,7 @@ static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -22759,7 +23639,7 @@ static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22798,7 +23678,7 @@ static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -22837,7 +23717,7 @@ static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan result; @@ -22867,7 +23747,7 @@ static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *k } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -22877,7 +23757,7 @@ static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22913,7 +23793,7 @@ static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -23016,7 +23896,7 @@ static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -23052,7 +23932,7 @@ static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -23155,7 +24035,7 @@ static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime result; @@ -23182,7 +24062,7 @@ static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -23192,7 +24072,7 @@ static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime result; @@ -23219,7 +24099,7 @@ static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -23296,7 +24176,7 @@ static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan result; @@ -23323,7 +24203,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23333,7 +24213,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime result; @@ -23360,7 +24240,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -23370,7 +24250,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime result; @@ -23397,7 +24277,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -23500,7 +24380,7 @@ static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23532,7 +24412,7 @@ static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23564,7 +24444,7 @@ static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23596,7 +24476,7 @@ static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23628,7 +24508,7 @@ static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23660,7 +24540,7 @@ static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23692,7 +24572,7 @@ static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23719,7 +24599,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23736,7 +24616,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ; @@ -23787,7 +24667,7 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23812,7 +24692,7 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23839,7 +24719,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23856,7 +24736,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23883,7 +24763,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23900,7 +24780,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23927,7 +24807,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23944,7 +24824,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -24011,7 +24891,7 @@ static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24043,7 +24923,7 @@ static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24075,7 +24955,7 @@ static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24107,7 +24987,7 @@ static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24146,7 +25026,7 @@ static PyObject * DateTime_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24156,7 +25036,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24168,7 +25048,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24178,7 +25058,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24194,7 +25074,7 @@ static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwa } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24204,7 +25084,7 @@ static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24214,7 +25094,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24226,7 +25106,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24236,7 +25116,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24252,7 +25132,7 @@ static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwa } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24262,7 +25142,7 @@ static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24272,7 +25152,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24284,7 +25164,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24294,7 +25174,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24310,7 +25190,7 @@ static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24320,7 +25200,7 @@ static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24330,7 +25210,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24342,7 +25222,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24352,7 +25232,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24368,7 +25248,7 @@ static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24378,7 +25258,7 @@ static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24388,7 +25268,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24400,7 +25280,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24410,7 +25290,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24426,7 +25306,7 @@ static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24436,7 +25316,7 @@ static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 = (long) 0 ; long arg2 = (long) 0 ; long arg3 = (long) 0 ; @@ -24453,25 +25333,25 @@ static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -24490,7 +25370,7 @@ static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24515,7 +25395,7 @@ static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24554,7 +25434,7 @@ static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24593,7 +25473,7 @@ static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan *result; @@ -24607,7 +25487,7 @@ static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24628,7 +25508,7 @@ static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *result; PyObject * obj0 = 0 ; @@ -24657,7 +25537,7 @@ static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24677,7 +25557,7 @@ static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24687,7 +25567,7 @@ static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24726,7 +25606,7 @@ static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24765,7 +25645,7 @@ static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan *result; @@ -24779,7 +25659,7 @@ static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24800,7 +25680,7 @@ static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *result; PyObject * obj0 = 0 ; @@ -24829,7 +25709,7 @@ static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan result; @@ -24859,7 +25739,7 @@ static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24869,7 +25749,7 @@ static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan result; @@ -24899,7 +25779,7 @@ static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24909,7 +25789,7 @@ static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan result; @@ -24923,7 +25803,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24935,7 +25815,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24945,7 +25825,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan result; @@ -24959,7 +25839,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24971,7 +25851,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24981,7 +25861,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25013,7 +25893,7 @@ static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25045,7 +25925,7 @@ static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25077,7 +25957,7 @@ static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25109,7 +25989,7 @@ static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25141,7 +26021,7 @@ static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25173,7 +26053,7 @@ static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25201,7 +26081,7 @@ static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25229,7 +26109,7 @@ static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25257,7 +26137,7 @@ static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -25295,7 +26175,7 @@ static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -25333,7 +26213,7 @@ static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -25371,7 +26251,7 @@ static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25390,7 +26270,7 @@ static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25399,7 +26279,7 @@ static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25418,7 +26298,7 @@ static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25427,7 +26307,7 @@ static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25446,7 +26326,7 @@ static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25455,7 +26335,7 @@ static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25474,7 +26354,7 @@ static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25483,7 +26363,7 @@ static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxLongLong result; PyObject * obj0 = 0 ; @@ -25520,7 +26400,7 @@ static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxLongLong result; PyObject * obj0 = 0 ; @@ -25557,7 +26437,7 @@ static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -25615,7 +26495,7 @@ static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -25632,25 +26512,25 @@ static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -25669,7 +26549,7 @@ static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25694,7 +26574,7 @@ static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25704,7 +26584,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25716,7 +26596,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25726,7 +26606,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25742,7 +26622,7 @@ static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25752,7 +26632,7 @@ static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25762,7 +26642,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25774,7 +26654,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25784,7 +26664,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25800,7 +26680,7 @@ static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25810,7 +26690,7 @@ static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25820,7 +26700,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25832,7 +26712,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25842,7 +26722,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25858,7 +26738,7 @@ static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25868,7 +26748,7 @@ static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25878,7 +26758,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25890,7 +26770,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25900,7 +26780,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25916,7 +26796,7 @@ static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25926,7 +26806,7 @@ static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25940,7 +26820,7 @@ static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25961,7 +26841,7 @@ static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25975,7 +26855,7 @@ static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25996,7 +26876,7 @@ static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -26010,7 +26890,7 @@ static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26031,7 +26911,7 @@ static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -26045,7 +26925,7 @@ static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26066,7 +26946,7 @@ static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26085,7 +26965,7 @@ static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26094,7 +26974,7 @@ static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26113,7 +26993,7 @@ static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26122,7 +27002,7 @@ static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26141,7 +27021,7 @@ static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26150,7 +27030,7 @@ static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26169,7 +27049,7 @@ static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26178,7 +27058,7 @@ static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26197,7 +27077,7 @@ static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26206,7 +27086,7 @@ static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -26245,7 +27125,7 @@ static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -26284,7 +27164,7 @@ static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *result; PyObject * obj0 = 0 ; @@ -26313,7 +27193,7 @@ static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -26327,7 +27207,7 @@ static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26348,7 +27228,7 @@ static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -26387,7 +27267,7 @@ static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -26426,7 +27306,7 @@ static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *result; PyObject * obj0 = 0 ; @@ -26455,7 +27335,7 @@ static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -26469,7 +27349,7 @@ static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26490,7 +27370,7 @@ static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan result; @@ -26520,7 +27400,7 @@ static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -26530,7 +27410,7 @@ static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan result; @@ -26560,7 +27440,7 @@ static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -26570,7 +27450,7 @@ static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan result; @@ -26584,7 +27464,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26596,7 +27476,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -26606,7 +27486,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan result; @@ -26620,7 +27500,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26632,7 +27512,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -26642,7 +27522,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = (wxDateSpan *) 0 ; bool result; @@ -26674,7 +27554,7 @@ static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = (wxDateSpan *) 0 ; bool result; @@ -26713,7 +27593,7 @@ static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -26728,7 +27608,7 @@ static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26737,7 +27617,7 @@ static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -26752,7 +27632,7 @@ static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26761,7 +27641,7 @@ static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -26776,7 +27656,7 @@ static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26785,7 +27665,7 @@ static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLongLong result; char *kwnames[] = { NULL @@ -26824,7 +27704,7 @@ static int _wrap_DefaultDateTime_set(PyObject *) { static PyObject *_wrap_DefaultDateTime_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0); return pyobj; @@ -26832,7 +27712,7 @@ static PyObject *_wrap_DefaultDateTime_get(void) { static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormatId arg1 ; wxDataFormat *result; PyObject * obj0 = 0 ; @@ -26842,12 +27722,12 @@ static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail; { - arg1 = (wxDataFormatId)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1); + result = (wxDataFormat *)new wxDataFormat(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26860,7 +27740,7 @@ static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxDataFormat *result; bool temp1 = false ; @@ -26898,7 +27778,7 @@ static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26923,7 +27803,7 @@ static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; bool result; @@ -26934,12 +27814,12 @@ static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2); + result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26954,7 +27834,7 @@ static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; bool result; @@ -26965,12 +27845,12 @@ static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2); + result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26985,7 +27865,7 @@ static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -27079,7 +27959,7 @@ static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) { static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -27173,7 +28053,7 @@ static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) { static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; PyObject * obj0 = 0 ; @@ -27186,12 +28066,12 @@ static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetType((wxDataFormatId )arg2); + (arg1)->SetType(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -27204,7 +28084,7 @@ static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId result; PyObject * obj0 = 0 ; @@ -27230,7 +28110,7 @@ static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -27262,7 +28142,7 @@ static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -27316,7 +28196,7 @@ static int _wrap_FormatInvalid_set(PyObject *) { static PyObject *_wrap_FormatInvalid_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0); return pyobj; @@ -27324,7 +28204,7 @@ static PyObject *_wrap_FormatInvalid_get(void) { static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27349,7 +28229,7 @@ static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; SwigValueWrapper result; @@ -27364,20 +28244,20 @@ static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2); + result = ((wxDataObject const *)arg1)->GetPreferredFormat(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDataFormat * resultptr; - resultptr = new wxDataFormat((wxDataFormat &)(result)); + resultptr = new wxDataFormat(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1); } return resultobj; @@ -27387,7 +28267,7 @@ static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; size_t result; @@ -27402,19 +28282,19 @@ static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyO if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2); + result = (size_t)((wxDataObject const *)arg1)->GetFormatCount(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -27423,7 +28303,7 @@ static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyO static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ; @@ -27448,13 +28328,13 @@ static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3); + result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -27469,7 +28349,7 @@ static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; size_t result; @@ -27498,7 +28378,7 @@ static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -27507,7 +28387,7 @@ static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; PyObject *result; @@ -27522,13 +28402,13 @@ static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2); + result = (PyObject *)wxDataObject_GetAllFormats(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -27541,7 +28421,7 @@ static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; PyObject *result; @@ -27577,7 +28457,7 @@ static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -27625,7 +28505,7 @@ static PyObject * DataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat const &arg1_defvalue = wxFormatInvalid ; wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ; wxDataObjectSimple *result; @@ -27660,7 +28540,7 @@ static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; wxDataFormat *result; PyObject * obj0 = 0 ; @@ -27689,7 +28569,7 @@ static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, Py static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; wxDataFormat *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27724,7 +28604,7 @@ static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, Py static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -27743,7 +28623,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -27752,7 +28632,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -27778,7 +28658,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -27816,7 +28696,7 @@ static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat const &arg1_defvalue = wxFormatInvalid ; wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ; wxPyDataObjectSimple *result; @@ -27851,7 +28731,7 @@ static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -27889,7 +28769,7 @@ static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectComposite *result; char *kwnames[] = { NULL @@ -27911,7 +28791,7 @@ static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ; wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ; bool arg3 = (bool) false ; @@ -27929,7 +28809,7 @@ static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -27955,7 +28835,7 @@ static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxTextDataObject *result; @@ -27996,7 +28876,7 @@ static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -28015,7 +28895,7 @@ static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -28024,7 +28904,7 @@ static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -28056,7 +28936,7 @@ static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -28104,7 +28984,7 @@ static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxPyTextDataObject *result; @@ -28145,7 +29025,7 @@ static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28183,7 +29063,7 @@ static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap const &arg1_defvalue = wxNullBitmap ; wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ; wxBitmapDataObject *result; @@ -28218,7 +29098,7 @@ static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -28238,7 +29118,7 @@ static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, Py } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -28248,7 +29128,7 @@ static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -28290,7 +29170,7 @@ static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap const &arg1_defvalue = wxNullBitmap ; wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ; wxPyBitmapDataObject *result; @@ -28325,7 +29205,7 @@ static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28363,7 +29243,7 @@ static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *result; char *kwnames[] = { NULL @@ -28385,7 +29265,7 @@ static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *arg1 = (wxFileDataObject *) 0 ; wxArrayString *result; PyObject * obj0 = 0 ; @@ -28416,7 +29296,7 @@ static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, P static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *arg1 = (wxFileDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -28464,7 +29344,7 @@ static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = 0 ; wxCustomDataObject *result; PyObject * obj0 = 0 ; @@ -28493,7 +29373,7 @@ static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxCustomDataObject *result; bool temp1 = false ; @@ -28528,7 +29408,7 @@ static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *result; if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail; @@ -28589,7 +29469,7 @@ static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) { static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -28620,7 +29500,7 @@ static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -28639,7 +29519,7 @@ static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -28648,7 +29528,7 @@ static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -28681,7 +29561,7 @@ static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *result; char *kwnames[] = { NULL @@ -28703,7 +29583,7 @@ static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *arg1 = (wxURLDataObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -28735,7 +29615,7 @@ static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *arg1 = (wxURLDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -28783,7 +29663,7 @@ static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetafileDataObject *result; char *kwnames[] = { NULL @@ -28812,7 +29692,7 @@ static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDragResult arg1 ; bool result; PyObject * obj0 = 0 ; @@ -28822,12 +29702,12 @@ static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail; { - arg1 = (wxDragResult)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxIsDragResultOk((wxDragResult )arg1); + result = (bool)wxIsDragResultOk(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28842,7 +29722,7 @@ static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxIcon const &arg2_defvalue = wxNullIcon ; wxIcon *arg2 = (wxIcon *) &arg2_defvalue ; @@ -28907,7 +29787,7 @@ static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28926,7 +29806,7 @@ static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, P arg2 = obj1; arg3 = obj2; { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -28944,7 +29824,7 @@ static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, P static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -28969,7 +29849,7 @@ static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDataObject *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -29004,7 +29884,7 @@ static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDataObject *result; PyObject * obj0 = 0 ; @@ -29030,7 +29910,7 @@ static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDragResult arg2 ; wxCursor *arg3 = 0 ; @@ -29045,7 +29925,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -29058,7 +29938,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3); + (arg1)->SetCursor(arg2,(wxCursor const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29071,7 +29951,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; int arg2 = (int) wxDrag_CopyOnly ; wxDragResult result; @@ -29086,7 +29966,7 @@ static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -29105,7 +29985,7 @@ static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDragResult arg2 ; bool result; @@ -29119,12 +29999,12 @@ static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2); + result = (bool)(arg1)->base_GiveFeedback(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29146,7 +30026,7 @@ static PyObject * DropSource_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) NULL ; wxPyDropTarget *result; PyObject * obj0 = 0 ; @@ -29174,7 +30054,7 @@ static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -29205,7 +30085,7 @@ static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, P static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29230,7 +30110,7 @@ static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDataObject *result; PyObject * obj0 = 0 ; @@ -29256,7 +30136,7 @@ static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; PyObject * obj0 = 0 ; @@ -29285,7 +30165,7 @@ static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29303,20 +30183,20 @@ static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29329,7 +30209,7 @@ static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29347,20 +30227,20 @@ static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29373,7 +30253,7 @@ static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, Py static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29398,7 +30278,7 @@ static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29414,11 +30294,11 @@ static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -29438,7 +30318,7 @@ static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29466,7 +30346,7 @@ static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDragResult arg2 ; PyObject * obj0 = 0 ; @@ -29479,12 +30359,12 @@ static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDefaultAction((wxDragResult )arg2); + (arg1)->SetDefaultAction(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29497,7 +30377,7 @@ static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, P static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDragResult result; PyObject * obj0 = 0 ; @@ -29530,7 +30410,7 @@ static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *result; char *kwnames[] = { NULL @@ -29552,7 +30432,7 @@ static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -29583,7 +30463,7 @@ static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29601,20 +30481,20 @@ static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29627,7 +30507,7 @@ static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, P static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29645,20 +30525,20 @@ static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29671,7 +30551,7 @@ static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29696,7 +30576,7 @@ static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, P static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29712,11 +30592,11 @@ static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -29736,7 +30616,7 @@ static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, Py static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29754,20 +30634,20 @@ static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29787,7 +30667,7 @@ static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *result; char *kwnames[] = { NULL @@ -29809,7 +30689,7 @@ static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -29840,7 +30720,7 @@ static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29858,20 +30738,20 @@ static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29884,7 +30764,7 @@ static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, P static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29902,20 +30782,20 @@ static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29928,7 +30808,7 @@ static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29953,7 +30833,7 @@ static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, P static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29969,11 +30849,11 @@ static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -29993,7 +30873,7 @@ static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, Py static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -30011,20 +30891,20 @@ static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -30044,7 +30924,7 @@ static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *result; char *kwnames[] = { NULL @@ -30066,7 +30946,7 @@ static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30091,7 +30971,7 @@ static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30119,7 +30999,7 @@ static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30144,7 +31024,7 @@ static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30172,7 +31052,7 @@ static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; bool result; @@ -30204,7 +31084,7 @@ static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; bool result; @@ -30236,7 +31116,7 @@ static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -30274,7 +31154,7 @@ static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = 0 ; bool result; @@ -30312,7 +31192,7 @@ static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30337,7 +31217,7 @@ static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30365,7 +31245,7 @@ static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -30379,7 +31259,7 @@ static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -30398,7 +31278,7 @@ static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *result; char *kwnames[] = { NULL @@ -30427,7 +31307,7 @@ static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) NULL ; wxClipboardLocker *result; PyObject * obj0 = 0 ; @@ -30455,7 +31335,7 @@ static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30480,7 +31360,7 @@ static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30515,7 +31395,7 @@ static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -30532,25 +31412,25 @@ static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -30569,7 +31449,7 @@ static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30594,7 +31474,7 @@ static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = 0 ; bool result; @@ -30632,7 +31512,7 @@ static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30651,7 +31531,7 @@ static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30660,7 +31540,7 @@ static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30679,7 +31559,7 @@ static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30688,7 +31568,7 @@ static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30707,7 +31587,7 @@ static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30716,7 +31596,7 @@ static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30744,7 +31624,7 @@ static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = (wxVideoMode *) 0 ; bool result; @@ -30776,7 +31656,7 @@ static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = (wxVideoMode *) 0 ; bool result; @@ -30808,7 +31688,7 @@ static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30821,7 +31701,7 @@ static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->w = arg2; @@ -30834,7 +31714,7 @@ static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30848,7 +31728,7 @@ static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->w); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30857,7 +31737,7 @@ static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30870,7 +31750,7 @@ static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->h = arg2; @@ -30883,7 +31763,7 @@ static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30897,7 +31777,7 @@ static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->h); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30906,7 +31786,7 @@ static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30919,7 +31799,7 @@ static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->bpp = arg2; @@ -30932,7 +31812,7 @@ static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30946,7 +31826,7 @@ static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *k result = (int) ((arg1)->bpp); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30955,7 +31835,7 @@ static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30968,7 +31848,7 @@ static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->refresh = arg2; @@ -30981,7 +31861,7 @@ static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30995,7 +31875,7 @@ static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObjec result = (int) ((arg1)->refresh); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31017,7 +31897,7 @@ static int _wrap_DefaultVideoMode_set(PyObject *) { static PyObject *_wrap_DefaultVideoMode_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0); return pyobj; @@ -31025,7 +31905,7 @@ static PyObject *_wrap_DefaultVideoMode_get(void) { static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t arg1 = (size_t) 0 ; wxDisplay *result; PyObject * obj0 = 0 ; @@ -31036,7 +31916,7 @@ static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -31055,7 +31935,7 @@ static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31080,7 +31960,7 @@ static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t result; char *kwnames[] = { NULL @@ -31095,7 +31975,7 @@ static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -31104,7 +31984,7 @@ static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; int result; wxPoint temp1 ; @@ -31126,7 +32006,7 @@ static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31135,7 +32015,7 @@ static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -31148,13 +32028,13 @@ static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)Display_GetFromWindow(arg1); + result = (int)wxDisplay_GetFromWindow(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31163,7 +32043,7 @@ static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31191,7 +32071,7 @@ static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -31211,7 +32091,7 @@ static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -31221,7 +32101,7 @@ static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31253,7 +32133,7 @@ static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31281,7 +32161,7 @@ static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ; wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ; @@ -31320,7 +32200,7 @@ static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode result; PyObject * obj0 = 0 ; @@ -31340,7 +32220,7 @@ static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObje } { wxVideoMode * resultptr; - resultptr = new wxVideoMode((wxVideoMode &)(result)); + resultptr = new wxVideoMode(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1); } return resultobj; @@ -31350,7 +32230,7 @@ static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ; wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ; @@ -31391,7 +32271,7 @@ static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31423,7 +32303,7 @@ static PyObject * Display_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *result; char *kwnames[] = { NULL @@ -31432,7 +32312,7 @@ static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxStandardPaths *)StandardPaths_Get(); + result = (wxStandardPaths *)wxStandardPaths_Get(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -31445,7 +32325,7 @@ static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31477,7 +32357,7 @@ static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, Py static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31509,7 +32389,7 @@ static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31541,7 +32421,7 @@ static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31573,7 +32453,7 @@ static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31605,7 +32485,7 @@ static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31637,7 +32517,7 @@ static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *a static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31669,7 +32549,7 @@ static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, P static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31710,7 +32590,7 @@ static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31773,7 +32653,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31817,12 +32696,37 @@ static PyMethodDef SwigMethods[] = { { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FindWindowAtPointer", (PyCFunction) _wrap_FindWindowAtPointer, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_MouseState", (PyCFunction) _wrap_new_MouseState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_MouseState", (PyCFunction) _wrap_delete_MouseState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_GetX", (PyCFunction) _wrap_MouseState_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_GetY", (PyCFunction) _wrap_MouseState_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_LeftDown", (PyCFunction) _wrap_MouseState_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_MiddleDown", (PyCFunction) _wrap_MouseState_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_RightDown", (PyCFunction) _wrap_MouseState_RightDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_ControlDown", (PyCFunction) _wrap_MouseState_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_ShiftDown", (PyCFunction) _wrap_MouseState_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_AltDown", (PyCFunction) _wrap_MouseState_AltDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_MetaDown", (PyCFunction) _wrap_MouseState_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_CmdDown", (PyCFunction) _wrap_MouseState_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetX", (PyCFunction) _wrap_MouseState_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetY", (PyCFunction) _wrap_MouseState_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetLeftDown", (PyCFunction) _wrap_MouseState_SetLeftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetMiddleDown", (PyCFunction) _wrap_MouseState_SetMiddleDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetRightDown", (PyCFunction) _wrap_MouseState_SetRightDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetControlDown", (PyCFunction) _wrap_MouseState_SetControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetShiftDown", (PyCFunction) _wrap_MouseState_SetShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetAltDown", (PyCFunction) _wrap_MouseState_SetAltDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetMetaDown", (PyCFunction) _wrap_MouseState_SetMetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_swigregister", MouseState_swigregister, METH_VARARGS, NULL}, + { (char *)"GetMouseState", (PyCFunction) _wrap_GetMouseState, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -32727,14 +33631,11 @@ static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) { return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x)); } static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) { - return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x)); + return (void *)((wxDataObject *) ((wxURLDataObject *) x)); } static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) { return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x)); } -static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) { - return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x)); -} static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) { return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x)); } @@ -33086,207 +33987,700 @@ static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) { static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) { return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x)); } -static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemorySize[] = {{"_p_wxMemorySize", 0, "wxMemorySize *", 0, 0, 0, 0},{"_p_wxMemorySize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogBuffer[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxLogChain, -_swigt__p_wxMutexGuiLocker, -_swigt__p_wxFileHistory, -_swigt__p_wxLog, -_swigt__p_wxMenu, -_swigt__p_wxEvent, -_swigt__p_wxDateTime__TimeZone, -_swigt__p_wxConfigBase, -_swigt__p_wxDisplay, -_swigt__p_wxFileType, -_swigt__p_wxLogGui, -_swigt__p_wxMemorySize, -_swigt__p_wxFont, -_swigt__p_wxDataFormat, -_swigt__p_wxTimerEvent, -_swigt__p_wxCaret, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_void, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxClipboard, -_swigt__p_wxStopWatch, -_swigt__p_wxDC, -_swigt__p_wxClipboardLocker, -_swigt__p_wxIcon, -_swigt__p_wxLogStderr, -_swigt__p_wxLogTextCtrl, -_swigt__p_wxTextCtrl, -_swigt__p_wxBusyCursor, -_swigt__p_wxBitmapDataObject, -_swigt__p_wxTextDataObject, -_swigt__p_wxDataObject, -_swigt__p_wxPyTextDataObject, -_swigt__p_wxPyBitmapDataObject, -_swigt__p_wxFileDataObject, -_swigt__p_wxCustomDataObject, -_swigt__p_wxURLDataObject, -_swigt__p_wxMetafileDataObject, -_swigt__p_wxSound, -_swigt__p_wxTimerRunner, -_swigt__p_wxLogWindow, -_swigt__p_wxTimeSpan, -_swigt__p_wxArrayString, -_swigt__p_wxWindowDisabler, -_swigt__p_form_ops_t, -_swigt__p_wxToolTip, -_swigt__p_wxDataObjectComposite, -_swigt__p_wxSystemSettings, -_swigt__p_wxFileConfig, -_swigt__p_wxVideoMode, -_swigt__p_wxDataObjectSimple, -_swigt__p_wxPyDataObjectSimple, -_swigt__p_wxDuplexMode, -_swigt__p_wxEvtHandler, -_swigt__p_wxRect, -_swigt__p_char, -_swigt__p_wxSingleInstanceChecker, -_swigt__p_wxStandardPaths, -_swigt__p_wxFileTypeInfo, -_swigt__p_wxFrame, -_swigt__p_wxTimer, -_swigt__p_wxPaperSize, -_swigt__p_wxMimeTypesManager, -_swigt__p_wxPyTipProvider, -_swigt__p_wxTipProvider, -_swigt__p_wxJoystick, -_swigt__p_wxSystemOptions, -_swigt__p_wxPyArtProvider, -_swigt__p_wxPoint, -_swigt__p_wxJoystickEvent, -_swigt__p_wxCursor, -_swigt__p_wxObject, -_swigt__p_wxOutputStream, -_swigt__p_wxDateTime, -_swigt__p_wxPyDropSource, -_swigt__p_unsigned_long, -_swigt__p_wxLogBuffer, -_swigt__p_wxKillError, -_swigt__p_wxWindow, -_swigt__p_wxString, -_swigt__p_wxPyProcess, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_wxConfig, -_swigt__p_unsigned_char, -_swigt__p_wxChar, -_swigt__p_wxBusyInfo, -_swigt__p_wxPyDropTarget, -_swigt__p_wxPyTextDropTarget, -_swigt__p_wxPyFileDropTarget, -_swigt__p_wxProcessEvent, -_swigt__p_wxPyLog, -_swigt__p_wxLogNull, -_swigt__p_wxColour, -_swigt__p_wxPyTimer, -_swigt__p_wxConfigPathChanger, -_swigt__p_wxDateSpan, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0}; +static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", "wxClipboard *", 0, 0, 0}; +static swig_type_info _swigt__p_wxClipboardLocker = {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfig = {"_p_wxConfig", "wxConfig *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfigPathChanger = {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCustomDataObject = {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataFormat = {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObject = {"_p_wxDataObject", "wxDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObjectComposite = {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObjectSimple = {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateSpan = {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime__TimeZone = {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplay = {"_p_wxDisplay", "wxDisplay *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileConfig = {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDataObject = {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileType = {"_p_wxFileType", "wxFileType *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLog = {"_p_wxLog", "wxLog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogBuffer = {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogChain = {"_p_wxLogChain", "wxLogChain *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogGui = {"_p_wxLogGui", "wxLogGui *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogNull = {"_p_wxLogNull", "wxLogNull *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogStderr = {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogTextCtrl = {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogWindow = {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemorySize = {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMimeTypesManager = {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseState = {"_p_wxMouseState", "wxMouseState *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMutexGuiLocker = {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyArtProvider = {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyBitmapDataObject = {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDataObjectSimple = {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropSource = {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyFileDropTarget = {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyLog = {"_p_wxPyLog", "wxPyLog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTextDataObject = {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTextDropTarget = {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTipProvider = {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleInstanceChecker = {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSound = {"_p_wxSound", "wxSound *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStandardPaths = {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStopWatch = {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemSettings = {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextDataObject = {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimeSpan = {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimer = {"_p_wxTimer", "wxTimer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimerRunner = {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTipProvider = {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0}; +static swig_type_info _swigt__p_wxURLDataObject = {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVideoMode = {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDisabler = {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0}; +static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; + +static swig_type_info *swig_type_initial[] = { + &_swigt__p_char, + &_swigt__p_form_ops_t, + &_swigt__p_int, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_void, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBitmapDataObject, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBusyCursor, + &_swigt__p_wxBusyInfo, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCaret, + &_swigt__p_wxChar, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClipboard, + &_swigt__p_wxClipboardLocker, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxConfig, + &_swigt__p_wxConfigBase, + &_swigt__p_wxConfigPathChanger, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxCustomDataObject, + &_swigt__p_wxDC, + &_swigt__p_wxDataFormat, + &_swigt__p_wxDataObject, + &_swigt__p_wxDataObjectComposite, + &_swigt__p_wxDataObjectSimple, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDateSpan, + &_swigt__p_wxDateTime, + &_swigt__p_wxDateTime__TimeZone, + &_swigt__p_wxDisplay, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileConfig, + &_swigt__p_wxFileDataObject, + &_swigt__p_wxFileHistory, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFileType, + &_swigt__p_wxFileTypeInfo, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFrame, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxJoystick, + &_swigt__p_wxJoystickEvent, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxKillError, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxLog, + &_swigt__p_wxLogBuffer, + &_swigt__p_wxLogChain, + &_swigt__p_wxLogGui, + &_swigt__p_wxLogNull, + &_swigt__p_wxLogStderr, + &_swigt__p_wxLogTextCtrl, + &_swigt__p_wxLogWindow, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemorySize, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMetafileDataObject, + &_swigt__p_wxMimeTypesManager, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMouseState, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxMutexGuiLocker, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxOutputStream, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxProcessEvent, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyArtProvider, + &_swigt__p_wxPyBitmapDataObject, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyDataObjectSimple, + &_swigt__p_wxPyDropSource, + &_swigt__p_wxPyDropTarget, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyFileDropTarget, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyLog, + &_swigt__p_wxPyProcess, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTextDataObject, + &_swigt__p_wxPyTextDropTarget, + &_swigt__p_wxPyTimer, + &_swigt__p_wxPyTipProvider, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSingleInstanceChecker, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSound, + &_swigt__p_wxStandardPaths, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxStopWatch, + &_swigt__p_wxString, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxSystemOptions, + &_swigt__p_wxSystemSettings, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTextCtrl, + &_swigt__p_wxTextDataObject, + &_swigt__p_wxTimeSpan, + &_swigt__p_wxTimer, + &_swigt__p_wxTimerEvent, + &_swigt__p_wxTimerRunner, + &_swigt__p_wxTipProvider, + &_swigt__p_wxToolTip, + &_swigt__p_wxURLDataObject, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVideoMode, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxWindowDisabler, + &_swigt__p_wxXPMHandler, + &_swigt__ptrdiff_t, + &_swigt__std__ptrdiff_t, + &_swigt__unsigned_int, +}; + +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmapDataObject[] = { {&_swigt__p_wxBitmapDataObject, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBusyInfo[] = { {&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxClipboard[] = { {&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxClipboardLocker[] = { {&_swigt__p_wxClipboardLocker, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfig[] = { {&_swigt__p_wxConfig, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxFileConfig, _p_wxFileConfigTo_p_wxConfigBase, 0, 0}, {&_swigt__p_wxConfigBase, 0, 0, 0}, {&_swigt__p_wxConfig, _p_wxConfigTo_p_wxConfigBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfigPathChanger[] = { {&_swigt__p_wxConfigPathChanger, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCustomDataObject[] = { {&_swigt__p_wxCustomDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataFormat[] = { {&_swigt__p_wxDataFormat, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObject[] = { {&_swigt__p_wxDataObjectSimple, _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObjectComposite, _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObject, 0, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxURLDataObject, _p_wxURLDataObjectTo_p_wxDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObjectComposite[] = { {&_swigt__p_wxDataObjectComposite, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObjectSimple[] = { {&_swigt__p_wxDataObjectSimple, 0, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateSpan[] = { {&_swigt__p_wxDateSpan, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime__TimeZone[] = { {&_swigt__p_wxDateTime__TimeZone, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDisplay[] = { {&_swigt__p_wxDisplay, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileConfig[] = { {&_swigt__p_wxFileConfig, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileDataObject[] = { {&_swigt__p_wxFileDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileHistory[] = { {&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileType[] = { {&_swigt__p_wxFileType, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLog[] = { {&_swigt__p_wxLogBuffer, _p_wxLogBufferTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogStderr, _p_wxLogStderrTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogTextCtrl, _p_wxLogTextCtrlTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogWindow, _p_wxLogWindowTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogChain, _p_wxLogChainTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogGui, _p_wxLogGuiTo_p_wxLog, 0, 0}, {&_swigt__p_wxPyLog, _p_wxPyLogTo_p_wxLog, 0, 0}, {&_swigt__p_wxLog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogBuffer[] = { {&_swigt__p_wxLogBuffer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogChain[] = { {&_swigt__p_wxLogChain, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogGui[] = { {&_swigt__p_wxLogGui, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogNull[] = { {&_swigt__p_wxLogNull, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogStderr[] = { {&_swigt__p_wxLogStderr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogTextCtrl[] = { {&_swigt__p_wxLogTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogWindow[] = { {&_swigt__p_wxLogWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemorySize[] = { {&_swigt__p_wxMemorySize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMimeTypesManager[] = { {&_swigt__p_wxMimeTypesManager, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseState[] = { {&_swigt__p_wxMouseState, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMutexGuiLocker[] = { {&_swigt__p_wxMutexGuiLocker, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxProcessEvent[] = { {&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyArtProvider[] = { {&_swigt__p_wxPyArtProvider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyBitmapDataObject[] = { {&_swigt__p_wxPyBitmapDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDataObjectSimple[] = { {&_swigt__p_wxPyDataObjectSimple, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropSource[] = { {&_swigt__p_wxPyDropSource, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0}, {&_swigt__p_wxPyTextDropTarget, _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0}, {&_swigt__p_wxPyFileDropTarget, _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyFileDropTarget[] = { {&_swigt__p_wxPyFileDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyLog[] = { {&_swigt__p_wxPyLog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyProcess[] = { {&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTextDataObject[] = { {&_swigt__p_wxPyTextDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTextDropTarget[] = { {&_swigt__p_wxPyTextDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTimer[] = { {&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTipProvider[] = { {&_swigt__p_wxPyTipProvider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSingleInstanceChecker[] = { {&_swigt__p_wxSingleInstanceChecker, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSound[] = { {&_swigt__p_wxSound, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStandardPaths[] = { {&_swigt__p_wxStandardPaths, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStopWatch[] = { {&_swigt__p_wxStopWatch, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemOptions[] = { {&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemSettings[] = { {&_swigt__p_wxSystemSettings, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextDataObject[] = { {&_swigt__p_wxTextDataObject, 0, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimeSpan[] = { {&_swigt__p_wxTimeSpan, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimer[] = { {&_swigt__p_wxTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimerEvent[] = { {&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimerRunner[] = { {&_swigt__p_wxTimerRunner, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTipProvider[] = { {&_swigt__p_wxTipProvider, 0, 0, 0}, {&_swigt__p_wxPyTipProvider, _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxURLDataObject[] = { {&_swigt__p_wxURLDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVideoMode[] = { {&_swigt__p_wxVideoMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDisabler[] = { {&_swigt__p_wxWindowDisabler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_void, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBitmapDataObject, + _swigc__p_wxBoxSizer, + _swigc__p_wxBusyCursor, + _swigc__p_wxBusyInfo, + _swigc__p_wxCURHandler, + _swigc__p_wxCaret, + _swigc__p_wxChar, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClipboard, + _swigc__p_wxClipboardLocker, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxConfig, + _swigc__p_wxConfigBase, + _swigc__p_wxConfigPathChanger, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxCustomDataObject, + _swigc__p_wxDC, + _swigc__p_wxDataFormat, + _swigc__p_wxDataObject, + _swigc__p_wxDataObjectComposite, + _swigc__p_wxDataObjectSimple, + _swigc__p_wxDateEvent, + _swigc__p_wxDateSpan, + _swigc__p_wxDateTime, + _swigc__p_wxDateTime__TimeZone, + _swigc__p_wxDisplay, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileConfig, + _swigc__p_wxFileDataObject, + _swigc__p_wxFileHistory, + _swigc__p_wxFileSystem, + _swigc__p_wxFileType, + _swigc__p_wxFileTypeInfo, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFrame, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxJoystick, + _swigc__p_wxJoystickEvent, + _swigc__p_wxKeyEvent, + _swigc__p_wxKillError, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxLog, + _swigc__p_wxLogBuffer, + _swigc__p_wxLogChain, + _swigc__p_wxLogGui, + _swigc__p_wxLogNull, + _swigc__p_wxLogStderr, + _swigc__p_wxLogTextCtrl, + _swigc__p_wxLogWindow, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemorySize, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMetafileDataObject, + _swigc__p_wxMimeTypesManager, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMouseState, + _swigc__p_wxMoveEvent, + _swigc__p_wxMutexGuiLocker, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxOutputStream, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxProcessEvent, + _swigc__p_wxPyApp, + _swigc__p_wxPyArtProvider, + _swigc__p_wxPyBitmapDataObject, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyDataObjectSimple, + _swigc__p_wxPyDropSource, + _swigc__p_wxPyDropTarget, + _swigc__p_wxPyEvent, + _swigc__p_wxPyFileDropTarget, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyLog, + _swigc__p_wxPyProcess, + _swigc__p_wxPySizer, + _swigc__p_wxPyTextDataObject, + _swigc__p_wxPyTextDropTarget, + _swigc__p_wxPyTimer, + _swigc__p_wxPyTipProvider, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSingleInstanceChecker, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSound, + _swigc__p_wxStandardPaths, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxStopWatch, + _swigc__p_wxString, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxSystemOptions, + _swigc__p_wxSystemSettings, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTextCtrl, + _swigc__p_wxTextDataObject, + _swigc__p_wxTimeSpan, + _swigc__p_wxTimer, + _swigc__p_wxTimerEvent, + _swigc__p_wxTimerRunner, + _swigc__p_wxTipProvider, + _swigc__p_wxToolTip, + _swigc__p_wxURLDataObject, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVideoMode, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxWindowDisabler, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -33303,6 +34697,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 @@ -33320,7 +34925,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; @@ -33330,13 +34935,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; @@ -33349,7 +34954,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -33362,7 +34967,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) { @@ -33375,72 +34980,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; } @@ -33449,11 +35071,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); @@ -33490,7 +35112,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, @@ -33502,7 +35124,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]); @@ -33515,14 +35137,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; + } + } } } } @@ -33532,69 +35158,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 @@ -33603,316 +35166,295 @@ extern "C" { * Partial Init method * -----------------------------------------------------------------------------*/ -#ifdef SWIG_LINK_RUNTIME -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); -#endif - #ifdef __cplusplus extern "C" #endif -SWIGEXPORT(void) SWIG_init(void) { +SWIGEXPORT void SWIG_init(void) { static PyObject *SWIG_globals = 0; - static int typeinit = 0; PyObject *m, *d; - int i; if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); /* Fix SwigMethods to carry the callback ptrs when needed */ - SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); + SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); m = Py_InitModule((char *) SWIG_name, SwigMethods); d = PyModule_GetDict(m); - if (!typeinit) { -#ifdef SWIG_LINK_RUNTIME - swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); -#else -# ifndef SWIG_STATIC_RUNTIME - swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); -# endif -#endif - for (i = 0; swig_types_initial[i]; i++) { - swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); - } - typeinit = 1; - } + SWIG_InitializeModule(0); SWIG_InstallConstants(d,swig_const_table); { - PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_OEM_FIXED_FONT))); } { - PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_ANSI_FIXED_FONT))); } { - PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT))); + PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast(wxSYS_ANSI_VAR_FONT))); } { - PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT))); + PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast(wxSYS_SYSTEM_FONT))); } { - PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT))); + PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast(wxSYS_DEVICE_DEFAULT_FONT))); } { - PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE))); + PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast(wxSYS_DEFAULT_PALETTE))); } { - PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_SYSTEM_FIXED_FONT))); } { - PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT))); + PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast(wxSYS_DEFAULT_GUI_FONT))); } { - PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT))); + PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast(wxSYS_ICONTITLE_FONT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR))); + PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast(wxSYS_COLOUR_SCROLLBAR))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND))); + PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast(wxSYS_COLOUR_BACKGROUND))); } { - PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP))); + PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast(wxSYS_COLOUR_DESKTOP))); } { - PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_ACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU))); + PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int(static_cast(wxSYS_COLOUR_MENU))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOWFRAME))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOWTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_CAPTIONTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER))); + PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast(wxSYS_COLOUR_ACTIVEBORDER))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVEBORDER))); } { - PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE))); + PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast(wxSYS_COLOUR_APPWORKSPACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_HIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_HIGHLIGHTTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNFACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE))); + PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast(wxSYS_COLOUR_3DFACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_3DSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_GRAYTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVECAPTIONTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNHIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DHIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_3DDKSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_INFOTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK))); + PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast(wxSYS_COLOUR_INFOBK))); } { - PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX))); + PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast(wxSYS_COLOUR_LISTBOX))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_HOTLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_GRADIENTACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_GRADIENTINACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUBAR))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX))); + PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int(static_cast(wxSYS_COLOUR_MAX))); } { - PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS))); + PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast(wxSYS_MOUSE_BUTTONS))); } { - PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X))); + PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int(static_cast(wxSYS_BORDER_X))); } { - PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y))); + PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int(static_cast(wxSYS_BORDER_Y))); } { - PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X))); + PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int(static_cast(wxSYS_CURSOR_X))); } { - PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y))); + PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int(static_cast(wxSYS_CURSOR_Y))); } { - PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X))); + PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int(static_cast(wxSYS_DCLICK_X))); } { - PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y))); + PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int(static_cast(wxSYS_DCLICK_Y))); } { - PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X))); + PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int(static_cast(wxSYS_DRAG_X))); } { - PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y))); + PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int(static_cast(wxSYS_DRAG_Y))); } { - PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X))); + PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int(static_cast(wxSYS_EDGE_X))); } { - PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y))); + PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int(static_cast(wxSYS_EDGE_Y))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X))); + PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast(wxSYS_HSCROLL_ARROW_X))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y))); + PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast(wxSYS_HSCROLL_ARROW_Y))); } { - PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X))); + PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int(static_cast(wxSYS_HTHUMB_X))); } { - PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X))); + PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int(static_cast(wxSYS_ICON_X))); } { - PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y))); + PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int(static_cast(wxSYS_ICON_Y))); } { - PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X))); + PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int(static_cast(wxSYS_ICONSPACING_X))); } { - PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y))); + PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast(wxSYS_ICONSPACING_Y))); } { - PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X))); + PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast(wxSYS_WINDOWMIN_X))); } { - PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y))); + PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast(wxSYS_WINDOWMIN_Y))); } { - PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X))); + PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int(static_cast(wxSYS_SCREEN_X))); } { - PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y))); + PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int(static_cast(wxSYS_SCREEN_Y))); } { - PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X))); + PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast(wxSYS_FRAMESIZE_X))); } { - PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y))); + PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast(wxSYS_FRAMESIZE_Y))); } { - PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X))); + PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int(static_cast(wxSYS_SMALLICON_X))); } { - PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y))); + PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int(static_cast(wxSYS_SMALLICON_Y))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y))); + PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int(static_cast(wxSYS_HSCROLL_Y))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X))); + PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int(static_cast(wxSYS_VSCROLL_X))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X))); + PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast(wxSYS_VSCROLL_ARROW_X))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y))); + PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast(wxSYS_VSCROLL_ARROW_Y))); } { - PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y))); + PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int(static_cast(wxSYS_VTHUMB_Y))); } { - PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y))); + PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int(static_cast(wxSYS_CAPTION_Y))); } { - PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y))); + PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int(static_cast(wxSYS_MENU_Y))); } { - PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT))); + PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast(wxSYS_NETWORK_PRESENT))); } { - PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT))); + PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast(wxSYS_PENWINDOWS_PRESENT))); } { - PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS))); + PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast(wxSYS_SHOW_SOUNDS))); } { - PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS))); + PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast(wxSYS_SWAP_BUTTONS))); } { - PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS))); + PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast(wxSYS_CAN_DRAW_FRAME_DECORATIONS))); } { - PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME))); + PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast(wxSYS_CAN_ICONIZE_FRAME))); } { - PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE))); + PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int(static_cast(wxSYS_SCREEN_NONE))); } { - PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY))); + PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int(static_cast(wxSYS_SCREEN_TINY))); } { - PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA))); + PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int(static_cast(wxSYS_SCREEN_PDA))); } { - PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL))); + PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast(wxSYS_SCREEN_SMALL))); } { - PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP))); + PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast(wxSYS_SCREEN_DESKTOP))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set); @@ -33920,53 +35462,53 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); { - PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF))); + PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast(wxSHUTDOWN_POWEROFF))); } { - PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT))); + PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast(wxSHUTDOWN_REBOOT))); } { - PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS))); + PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int(static_cast(wxTIMER_CONTINUOUS))); } { - PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT))); + PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int(static_cast(wxTIMER_ONE_SHOT))); } PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER)); wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer"); { - PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError))); + PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int(static_cast(wxLOG_FatalError))); } { - PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error))); + PyDict_SetItemString(d,"LOG_Error", SWIG_From_int(static_cast(wxLOG_Error))); } { - PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning))); + PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int(static_cast(wxLOG_Warning))); } { - PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message))); + PyDict_SetItemString(d,"LOG_Message", SWIG_From_int(static_cast(wxLOG_Message))); } { - PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status))); + PyDict_SetItemString(d,"LOG_Status", SWIG_From_int(static_cast(wxLOG_Status))); } { - PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info))); + PyDict_SetItemString(d,"LOG_Info", SWIG_From_int(static_cast(wxLOG_Info))); } { - PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug))); + PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int(static_cast(wxLOG_Debug))); } { - PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace))); + PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int(static_cast(wxLOG_Trace))); } { - PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress))); + PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int(static_cast(wxLOG_Progress))); } { - PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User))); + PyDict_SetItemString(d,"LOG_User", SWIG_From_int(static_cast(wxLOG_User))); } { - PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max))); + PyDict_SetItemString(d,"LOG_Max", SWIG_From_int(static_cast(wxLOG_Max))); } PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc")); PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages")); @@ -33974,165 +35516,165 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount")); PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole")); { - PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"TraceMessages", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004))); + PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int(static_cast(0x0004))); } { - PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008))); + PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int(static_cast(0x0008))); } { - PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100))); + PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int(static_cast(0x0100))); } { - PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT))); + PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int(static_cast(wxPROCESS_DEFAULT))); } { - PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT))); + PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int(static_cast(wxPROCESS_REDIRECT))); } { - PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK))); + PyDict_SetItemString(d,"KILL_OK", SWIG_From_int(static_cast(wxKILL_OK))); } { - PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL))); + PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast(wxKILL_BAD_SIGNAL))); } { - PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED))); + PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast(wxKILL_ACCESS_DENIED))); } { - PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS))); + PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int(static_cast(wxKILL_NO_PROCESS))); } { - PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR))); + PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int(static_cast(wxKILL_ERROR))); } { - PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN))); + PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int(static_cast(wxKILL_NOCHILDREN))); } { - PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN))); + PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int(static_cast(wxKILL_CHILDREN))); } { - PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE))); + PyDict_SetItemString(d,"SIGNONE", SWIG_From_int(static_cast(wxSIGNONE))); } { - PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP))); + PyDict_SetItemString(d,"SIGHUP", SWIG_From_int(static_cast(wxSIGHUP))); } { - PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT))); + PyDict_SetItemString(d,"SIGINT", SWIG_From_int(static_cast(wxSIGINT))); } { - PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT))); + PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int(static_cast(wxSIGQUIT))); } { - PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL))); + PyDict_SetItemString(d,"SIGILL", SWIG_From_int(static_cast(wxSIGILL))); } { - PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP))); + PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int(static_cast(wxSIGTRAP))); } { - PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT))); + PyDict_SetItemString(d,"SIGABRT", SWIG_From_int(static_cast(wxSIGABRT))); } { - PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT))); + PyDict_SetItemString(d,"SIGIOT", SWIG_From_int(static_cast(wxSIGIOT))); } { - PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT))); + PyDict_SetItemString(d,"SIGEMT", SWIG_From_int(static_cast(wxSIGEMT))); } { - PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE))); + PyDict_SetItemString(d,"SIGFPE", SWIG_From_int(static_cast(wxSIGFPE))); } { - PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL))); + PyDict_SetItemString(d,"SIGKILL", SWIG_From_int(static_cast(wxSIGKILL))); } { - PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS))); + PyDict_SetItemString(d,"SIGBUS", SWIG_From_int(static_cast(wxSIGBUS))); } { - PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV))); + PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int(static_cast(wxSIGSEGV))); } { - PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS))); + PyDict_SetItemString(d,"SIGSYS", SWIG_From_int(static_cast(wxSIGSYS))); } { - PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE))); + PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int(static_cast(wxSIGPIPE))); } { - PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM))); + PyDict_SetItemString(d,"SIGALRM", SWIG_From_int(static_cast(wxSIGALRM))); } { - PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM))); + PyDict_SetItemString(d,"SIGTERM", SWIG_From_int(static_cast(wxSIGTERM))); } PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS)); { - PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC))); + PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int(static_cast(wxEXEC_ASYNC))); } { - PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC))); + PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int(static_cast(wxEXEC_SYNC))); } { - PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE))); + PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int(static_cast(wxEXEC_NOHIDE))); } { - PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER))); + PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast(wxEXEC_MAKE_GROUP_LEADER))); } { - PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE))); + PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int(static_cast(wxEXEC_NODISABLE))); } wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); { - PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1))); + PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int(static_cast(wxJOYSTICK1))); } { - PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2))); + PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int(static_cast(wxJOYSTICK2))); } { - PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY))); + PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int(static_cast(wxJOY_BUTTON_ANY))); } { - PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1))); + PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int(static_cast(wxJOY_BUTTON1))); } { - PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2))); + PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int(static_cast(wxJOY_BUTTON2))); } { - PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3))); + PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int(static_cast(wxJOY_BUTTON3))); } { - PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4))); + PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int(static_cast(wxJOY_BUTTON4))); } PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN)); PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP)); PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE)); PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE)); { - PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC))); + PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int(static_cast(wxSOUND_SYNC))); } { - PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC))); + PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int(static_cast(wxSOUND_ASYNC))); } { - PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP))); + PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int(static_cast(wxSOUND_LOOP))); } { - PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD))); + PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int(static_cast(wxMAILCAP_STANDARD))); } { - PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE))); + PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast(wxMAILCAP_NETSCAPE))); } { - PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE))); + PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int(static_cast(wxMAILCAP_KDE))); } { - PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME))); + PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int(static_cast(wxMAILCAP_GNOME))); } { - PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL))); + PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int(static_cast(wxMAILCAP_ALL))); } SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set); @@ -34195,596 +35737,596 @@ SWIGEXPORT(void) SWIG_init(void) { wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider"); { - PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE))); + PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast(wxCONFIG_USE_LOCAL_FILE))); } { - PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE))); + PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast(wxCONFIG_USE_GLOBAL_FILE))); } { - PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH))); + PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast(wxCONFIG_USE_RELATIVE_PATH))); } { - PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS))); + PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast(wxCONFIG_USE_NO_ESCAPE_CHARACTERS))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown))); + PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast(wxConfigBase::Type_Unknown))); } { - PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String))); + PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int(static_cast(wxConfigBase::Type_String))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean))); + PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast(wxConfigBase::Type_Boolean))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer))); + PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int(static_cast(wxConfigBase::Type_Integer))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float))); + PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int(static_cast(wxConfigBase::Type_Float))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set); { - PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local))); + PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int(static_cast(wxDateTime::Local))); } { - PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12))); + PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int(static_cast(wxDateTime::GMT_12))); } { - PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11))); + PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int(static_cast(wxDateTime::GMT_11))); } { - PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10))); + PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int(static_cast(wxDateTime::GMT_10))); } { - PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9))); + PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int(static_cast(wxDateTime::GMT_9))); } { - PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8))); + PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int(static_cast(wxDateTime::GMT_8))); } { - PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7))); + PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int(static_cast(wxDateTime::GMT_7))); } { - PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6))); + PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int(static_cast(wxDateTime::GMT_6))); } { - PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5))); + PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int(static_cast(wxDateTime::GMT_5))); } { - PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4))); + PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int(static_cast(wxDateTime::GMT_4))); } { - PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3))); + PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int(static_cast(wxDateTime::GMT_3))); } { - PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2))); + PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int(static_cast(wxDateTime::GMT_2))); } { - PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1))); + PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int(static_cast(wxDateTime::GMT_1))); } { - PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0))); + PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int(static_cast(wxDateTime::GMT0))); } { - PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1))); + PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int(static_cast(wxDateTime::GMT1))); } { - PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2))); + PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int(static_cast(wxDateTime::GMT2))); } { - PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3))); + PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int(static_cast(wxDateTime::GMT3))); } { - PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4))); + PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int(static_cast(wxDateTime::GMT4))); } { - PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5))); + PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int(static_cast(wxDateTime::GMT5))); } { - PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6))); + PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int(static_cast(wxDateTime::GMT6))); } { - PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7))); + PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int(static_cast(wxDateTime::GMT7))); } { - PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8))); + PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int(static_cast(wxDateTime::GMT8))); } { - PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9))); + PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int(static_cast(wxDateTime::GMT9))); } { - PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10))); + PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int(static_cast(wxDateTime::GMT10))); } { - PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11))); + PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int(static_cast(wxDateTime::GMT11))); } { - PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12))); + PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int(static_cast(wxDateTime::GMT12))); } { - PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET))); + PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int(static_cast(wxDateTime::WET))); } { - PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST))); + PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int(static_cast(wxDateTime::WEST))); } { - PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET))); + PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int(static_cast(wxDateTime::CET))); } { - PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST))); + PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int(static_cast(wxDateTime::CEST))); } { - PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET))); + PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int(static_cast(wxDateTime::EET))); } { - PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST))); + PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int(static_cast(wxDateTime::EEST))); } { - PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK))); + PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int(static_cast(wxDateTime::MSK))); } { - PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD))); + PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int(static_cast(wxDateTime::MSD))); } { - PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST))); + PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int(static_cast(wxDateTime::AST))); } { - PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT))); + PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int(static_cast(wxDateTime::ADT))); } { - PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST))); + PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int(static_cast(wxDateTime::EST))); } { - PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT))); + PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int(static_cast(wxDateTime::EDT))); } { - PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST))); + PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int(static_cast(wxDateTime::CST))); } { - PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT))); + PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int(static_cast(wxDateTime::CDT))); } { - PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST))); + PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int(static_cast(wxDateTime::MST))); } { - PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT))); + PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int(static_cast(wxDateTime::MDT))); } { - PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST))); + PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int(static_cast(wxDateTime::PST))); } { - PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT))); + PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int(static_cast(wxDateTime::PDT))); } { - PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST))); + PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int(static_cast(wxDateTime::HST))); } { - PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST))); + PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int(static_cast(wxDateTime::AKST))); } { - PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT))); + PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int(static_cast(wxDateTime::AKDT))); } { - PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST))); + PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int(static_cast(wxDateTime::A_WST))); } { - PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST))); + PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int(static_cast(wxDateTime::A_CST))); } { - PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST))); + PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int(static_cast(wxDateTime::A_EST))); } { - PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST))); + PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int(static_cast(wxDateTime::A_ESST))); } { - PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC))); + PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int(static_cast(wxDateTime::UTC))); } { - PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian))); + PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int(static_cast(wxDateTime::Gregorian))); } { - PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian))); + PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int(static_cast(wxDateTime::Julian))); } { - PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown))); + PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int(static_cast(wxDateTime::Gr_Unknown))); } { - PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard))); + PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int(static_cast(wxDateTime::Gr_Standard))); } { - PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska))); + PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int(static_cast(wxDateTime::Gr_Alaska))); } { - PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania))); + PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int(static_cast(wxDateTime::Gr_Albania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria))); + PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int(static_cast(wxDateTime::Gr_Austria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Brixen))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Salzburg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Tyrol))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Carinthia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Styria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium))); + PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int(static_cast(wxDateTime::Gr_Belgium))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_3))); } { - PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada))); + PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int(static_cast(wxDateTime::Gr_Canada))); } { - PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China))); + PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int(static_cast(wxDateTime::Gr_China))); } { - PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1))); + PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int(static_cast(wxDateTime::Gr_China_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2))); + PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int(static_cast(wxDateTime::Gr_China_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia))); + PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast(wxDateTime::Gr_Czechoslovakia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark))); + PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int(static_cast(wxDateTime::Gr_Denmark))); } { - PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt))); + PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int(static_cast(wxDateTime::Gr_Egypt))); } { - PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia))); + PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int(static_cast(wxDateTime::Gr_Estonia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland))); + PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int(static_cast(wxDateTime::Gr_Finland))); } { - PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France))); + PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int(static_cast(wxDateTime::Gr_France))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace))); + PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast(wxDateTime::Gr_France_Alsace))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine))); + PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast(wxDateTime::Gr_France_Lorraine))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg))); + PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast(wxDateTime::Gr_France_Strasbourg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany))); + PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int(static_cast(wxDateTime::Gr_Germany))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Catholic))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Prussia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Protestant))); } { - PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain))); + PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast(wxDateTime::Gr_GreatBritain))); } { - PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece))); + PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int(static_cast(wxDateTime::Gr_Greece))); } { - PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary))); + PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int(static_cast(wxDateTime::Gr_Hungary))); } { - PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland))); + PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int(static_cast(wxDateTime::Gr_Ireland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy))); + PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int(static_cast(wxDateTime::Gr_Italy))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan))); + PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int(static_cast(wxDateTime::Gr_Japan))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_3))); } { - PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia))); + PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int(static_cast(wxDateTime::Gr_Latvia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania))); + PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast(wxDateTime::Gr_Lithuania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg))); + PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast(wxDateTime::Gr_Luxemburg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Groningen))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Gelderland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Utrecht))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Friesland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway))); + PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int(static_cast(wxDateTime::Gr_Norway))); } { - PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland))); + PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int(static_cast(wxDateTime::Gr_Poland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal))); + PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int(static_cast(wxDateTime::Gr_Portugal))); } { - PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania))); + PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int(static_cast(wxDateTime::Gr_Romania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia))); + PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int(static_cast(wxDateTime::Gr_Russia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland))); + PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int(static_cast(wxDateTime::Gr_Scotland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain))); + PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int(static_cast(wxDateTime::Gr_Spain))); } { - PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden))); + PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int(static_cast(wxDateTime::Gr_Sweden))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland_Catholic))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland_Protestant))); } { - PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey))); + PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int(static_cast(wxDateTime::Gr_Turkey))); } { - PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA))); + PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int(static_cast(wxDateTime::Gr_USA))); } { - PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales))); + PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int(static_cast(wxDateTime::Gr_Wales))); } { - PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia))); + PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast(wxDateTime::Gr_Yugoslavia))); } { - PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown))); + PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int(static_cast(wxDateTime::Country_Unknown))); } { - PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default))); + PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int(static_cast(wxDateTime::Country_Default))); } { - PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start))); + PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast(wxDateTime::Country_WesternEurope_Start))); } { - PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC))); + PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int(static_cast(wxDateTime::Country_EEC))); } { - PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France))); + PyDict_SetItemString(d,"DateTime_France", SWIG_From_int(static_cast(wxDateTime::France))); } { - PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany))); + PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int(static_cast(wxDateTime::Germany))); } { - PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK))); + PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int(static_cast(wxDateTime::UK))); } { - PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End))); + PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast(wxDateTime::Country_WesternEurope_End))); } { - PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia))); + PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int(static_cast(wxDateTime::Russia))); } { - PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA))); + PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int(static_cast(wxDateTime::USA))); } { - PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan))); + PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int(static_cast(wxDateTime::Jan))); } { - PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb))); + PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int(static_cast(wxDateTime::Feb))); } { - PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar))); + PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int(static_cast(wxDateTime::Mar))); } { - PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr))); + PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int(static_cast(wxDateTime::Apr))); } { - PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May))); + PyDict_SetItemString(d,"DateTime_May", SWIG_From_int(static_cast(wxDateTime::May))); } { - PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun))); + PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int(static_cast(wxDateTime::Jun))); } { - PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul))); + PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int(static_cast(wxDateTime::Jul))); } { - PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug))); + PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int(static_cast(wxDateTime::Aug))); } { - PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep))); + PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int(static_cast(wxDateTime::Sep))); } { - PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct))); + PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int(static_cast(wxDateTime::Oct))); } { - PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov))); + PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int(static_cast(wxDateTime::Nov))); } { - PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec))); + PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int(static_cast(wxDateTime::Dec))); } { - PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month))); + PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int(static_cast(wxDateTime::Inv_Month))); } { - PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun))); + PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int(static_cast(wxDateTime::Sun))); } { - PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon))); + PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int(static_cast(wxDateTime::Mon))); } { - PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue))); + PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int(static_cast(wxDateTime::Tue))); } { - PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed))); + PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int(static_cast(wxDateTime::Wed))); } { - PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu))); + PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int(static_cast(wxDateTime::Thu))); } { - PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri))); + PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int(static_cast(wxDateTime::Fri))); } { - PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat))); + PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int(static_cast(wxDateTime::Sat))); } { - PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay))); + PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast(wxDateTime::Inv_WeekDay))); } { - PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year))); + PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int(static_cast(wxDateTime::Inv_Year))); } { - PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full))); + PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int(static_cast(wxDateTime::Name_Full))); } { - PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr))); + PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int(static_cast(wxDateTime::Name_Abbr))); } { - PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First))); + PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int(static_cast(wxDateTime::Default_First))); } { - PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First))); + PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int(static_cast(wxDateTime::Monday_First))); } { - PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First))); + PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int(static_cast(wxDateTime::Sunday_First))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set); { - PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID))); + PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int(static_cast(wxDF_INVALID))); } { - PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT))); + PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int(static_cast(wxDF_TEXT))); } { - PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP))); + PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int(static_cast(wxDF_BITMAP))); } { - PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE))); + PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int(static_cast(wxDF_METAFILE))); } { - PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK))); + PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int(static_cast(wxDF_SYLK))); } { - PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF))); + PyDict_SetItemString(d,"DF_DIF", SWIG_From_int(static_cast(wxDF_DIF))); } { - PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF))); + PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int(static_cast(wxDF_TIFF))); } { - PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT))); + PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int(static_cast(wxDF_OEMTEXT))); } { - PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB))); + PyDict_SetItemString(d,"DF_DIB", SWIG_From_int(static_cast(wxDF_DIB))); } { - PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE))); + PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int(static_cast(wxDF_PALETTE))); } { - PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA))); + PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int(static_cast(wxDF_PENDATA))); } { - PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF))); + PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int(static_cast(wxDF_RIFF))); } { - PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE))); + PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int(static_cast(wxDF_WAVE))); } { - PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT))); + PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int(static_cast(wxDF_UNICODETEXT))); } { - PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE))); + PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int(static_cast(wxDF_ENHMETAFILE))); } { - PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME))); + PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int(static_cast(wxDF_FILENAME))); } { - PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE))); + PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int(static_cast(wxDF_LOCALE))); } { - PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE))); + PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int(static_cast(wxDF_PRIVATE))); } { - PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML))); + PyDict_SetItemString(d,"DF_HTML", SWIG_From_int(static_cast(wxDF_HTML))); } { - PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX))); + PyDict_SetItemString(d,"DF_MAX", SWIG_From_int(static_cast(wxDF_MAX))); } SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set); { - PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get))); + PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int(static_cast(wxDataObject::Get))); } { - PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set))); + PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int(static_cast(wxDataObject::Set))); } { - PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both))); + PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int(static_cast(wxDataObject::Both))); } { - PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly))); + PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int(static_cast(wxDrag_CopyOnly))); } { - PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove))); + PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int(static_cast(wxDrag_AllowMove))); } { - PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove))); + PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int(static_cast(wxDrag_DefaultMove))); } { - PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError))); + PyDict_SetItemString(d,"DragError", SWIG_From_int(static_cast(wxDragError))); } { - PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone))); + PyDict_SetItemString(d,"DragNone", SWIG_From_int(static_cast(wxDragNone))); } { - PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy))); + PyDict_SetItemString(d,"DragCopy", SWIG_From_int(static_cast(wxDragCopy))); } { - PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove))); + PyDict_SetItemString(d,"DragMove", SWIG_From_int(static_cast(wxDragMove))); } { - PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink))); + PyDict_SetItemString(d,"DragLink", SWIG_From_int(static_cast(wxDragLink))); } { - PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel))); + PyDict_SetItemString(d,"DragCancel", SWIG_From_int(static_cast(wxDragCancel))); } wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource"); diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index 23c3cc6b07..670e93ce21 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _windows_ @@ -620,6 +620,7 @@ class Dialog(TopLevelWindow): """Proxy of C++ Dialog class""" def __repr__(self): return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + ButtonSizerFlags = _windows_.Dialog_ButtonSizerFlags def __init__(self, *args, **kwargs): """ __init__(self, Window parent, int id=-1, String title=EmptyString, @@ -653,7 +654,7 @@ class Dialog(TopLevelWindow): return _windows_.Dialog_CreateTextSizer(*args, **kwargs) def CreateButtonSizer(*args, **kwargs): - """CreateButtonSizer(self, long flags) -> Sizer""" + """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer""" return _windows_.Dialog_CreateButtonSizer(*args, **kwargs) def CreateStdDialogButtonSizer(*args, **kwargs): @@ -2393,6 +2394,13 @@ class ColourDialogPtr(ColourDialog): self.__class__ = ColourDialog _windows_.ColourDialog_swigregister(ColourDialogPtr) + +def GetColourFromUser(*args, **kwargs): + """ + GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour, + String caption=EmptyString) -> Colour + """ + return _windows_.GetColourFromUser(*args, **kwargs) class DirDialog(Dialog): """ wx.DirDialog allows the user to select a directory by browising the @@ -2996,6 +3004,10 @@ class FontDialogPtr(FontDialog): self.__class__ = FontDialog _windows_.FontDialog_swigregister(FontDialogPtr) + +def GetFontFromUser(*args, **kwargs): + """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font""" + return _windows_.GetFontFromUser(*args, **kwargs) class MessageDialog(Dialog): """ This class provides a simple dialog that shows a single or multi-line @@ -4702,6 +4714,7 @@ class PrintPreview(_core.Object): def __init__(self, *args): """ __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview + __init__(self, Printout printout, Printout printoutForPrinting) -> PrintPreview __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview """ newobj = _windows_.new_PrintPreview(*args) @@ -4812,6 +4825,7 @@ class PyPrintPreview(PrintPreview): def __init__(self, *args): """ __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview + __init__(self, Printout printout, Printout printoutForPrinting) -> PyPrintPreview __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview """ newobj = _windows_.new_PyPrintPreview(*args) @@ -4949,3 +4963,4 @@ class PyPreviewControlBarPtr(PyPreviewControlBar): _windows_.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr) + diff --git a/wxPython/src/gtk/_windows_wrap.cpp b/wxPython/src/gtk/_windows_wrap.cpp index df9c60d0e1..60f81c0e68 100644 --- a/wxPython/src/gtk/_windows_wrap.cpp +++ b/wxPython/src/gtk/_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_wxSashLayoutWindow swig_types[61] -#define SWIGTYPE_p_wxSplitterWindow swig_types[62] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[63] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64] -#define SWIGTYPE_p_wxPyPopupTransientWindow 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 /*@@*/ @@ -1694,7 +1855,7 @@ SWIG_Check_double(PyObject* obj) static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ } static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; } - /*@/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 /*@@*/ @@ -1745,7 +1906,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() {} @@ -1829,7 +1990,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; @@ -1843,19 +2004,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)); } @@ -1865,7 +2026,7 @@ SWIGINTERNSHORT PyObject* class wxPyVListBox : public wxVListBox { - DECLARE_ABSTRACT_CLASS(wxPyVListBox); + DECLARE_ABSTRACT_CLASS(wxPyVListBox) public: wxPyVListBox() : wxVListBox() {} @@ -1948,7 +2109,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() {} @@ -2036,7 +2197,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() {} @@ -2470,7 +2631,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); \ @@ -2501,7 +2662,7 @@ public: {} wxPyPrintPreview(wxPyPrintout* printout, wxPyPrintout* printoutForPrinting, - wxPrintData* data=NULL) + wxPrintData* data) : wxPrintPreview(printout, printoutForPrinting, data) {} @@ -2536,7 +2697,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, @@ -2566,7 +2727,7 @@ IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); class wxPyPreviewControlBar : public wxPreviewControlBar { - DECLARE_CLASS(wxPyPreviewControlBar); + DECLARE_CLASS(wxPyPreviewControlBar) public: wxPyPreviewControlBar(wxPrintPreview *preview, long buttons, @@ -2594,7 +2755,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 ; @@ -2623,7 +2784,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; } } @@ -2641,7 +2802,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; } } @@ -2676,7 +2837,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 @@ -2699,7 +2860,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 ; @@ -2732,7 +2893,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; } } @@ -2750,7 +2911,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; } } @@ -2786,7 +2947,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[] = { @@ -2811,7 +2972,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[] = { @@ -2836,7 +2997,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[] = { @@ -2861,7 +3022,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 ; @@ -2872,21 +3033,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; @@ -2903,7 +3064,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 ; @@ -2932,7 +3093,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; } } @@ -2950,7 +3111,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; } } @@ -2985,7 +3146,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 @@ -3008,7 +3169,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 ; @@ -3041,7 +3202,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; } } @@ -3059,7 +3220,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; } } @@ -3095,7 +3256,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 ; @@ -3120,36 +3281,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; } } @@ -3168,7 +3329,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 ; @@ -3183,11 +3344,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; } { @@ -3205,7 +3366,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; @@ -3219,7 +3380,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; } { @@ -3230,7 +3391,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: @@ -3239,7 +3400,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 ; @@ -3254,11 +3415,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; } { @@ -3276,7 +3437,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 ; @@ -3291,11 +3452,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; } { @@ -3313,7 +3474,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 ; @@ -3350,7 +3511,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 ; @@ -3365,11 +3526,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; } { @@ -3387,7 +3548,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 ; @@ -3424,7 +3585,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 ; @@ -3439,11 +3600,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; } { @@ -3461,7 +3622,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 ; @@ -3480,7 +3641,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: @@ -3489,7 +3650,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 ; @@ -3508,7 +3669,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: @@ -3517,7 +3678,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; @@ -3541,7 +3702,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; @@ -3551,7 +3712,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 ; @@ -3571,11 +3732,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; } { @@ -3653,7 +3814,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; @@ -3677,7 +3838,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; @@ -3687,7 +3848,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 ; @@ -3707,11 +3868,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; } { @@ -3789,7 +3950,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[] = { @@ -3814,7 +3975,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; @@ -3843,7 +4004,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: @@ -3852,7 +4013,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 ; @@ -3881,7 +4042,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 ; @@ -3909,7 +4070,7 @@ static PyObject *_wrap_ScrolledWindow_GetTargetWindow(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 ; @@ -3944,7 +4105,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 ; @@ -3955,21 +4116,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; @@ -3992,7 +4153,7 @@ static int _wrap_FrameNameStr_set(PyObject *) { static PyObject *_wrap_FrameNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4012,7 +4173,7 @@ static int _wrap_DialogNameStr_set(PyObject *) { static PyObject *_wrap_DialogNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4032,7 +4193,7 @@ static int _wrap_StatusLineNameStr_set(PyObject *) { static PyObject *_wrap_StatusLineNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4052,7 +4213,7 @@ static int _wrap_ToolBarNameStr_set(PyObject *) { static PyObject *_wrap_ToolBarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4066,7 +4227,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 ; @@ -4080,7 +4241,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; } } @@ -4099,7 +4260,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[] = { @@ -4124,7 +4285,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 ; @@ -4138,7 +4299,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; } } @@ -4157,7 +4318,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 ; @@ -4185,7 +4346,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 ; @@ -4213,7 +4374,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 ; @@ -4233,7 +4394,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; @@ -4243,7 +4404,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 ; @@ -4278,7 +4439,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 ; @@ -4313,7 +4474,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 ; @@ -4329,12 +4490,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; } } @@ -4355,7 +4516,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 ; @@ -4383,7 +4544,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 ; @@ -4424,7 +4585,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 ; @@ -4456,7 +4617,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; @@ -4494,7 +4655,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 ; @@ -4508,7 +4669,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; } } @@ -4527,7 +4688,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 ; @@ -4555,7 +4716,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 ; @@ -4568,7 +4729,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; } { @@ -4586,7 +4747,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 ; @@ -4621,7 +4782,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 ; @@ -4654,7 +4815,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; } } @@ -4679,7 +4840,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; } } @@ -4722,7 +4883,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 @@ -4745,7 +4906,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 ; @@ -4782,7 +4943,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; } } @@ -4807,7 +4968,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; } } @@ -4851,7 +5012,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 ; @@ -4871,7 +5032,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; @@ -4881,7 +5042,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[] = { @@ -4906,7 +5067,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 ; @@ -4935,7 +5096,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 ; @@ -4963,7 +5124,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; @@ -4977,7 +5138,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; } { @@ -4997,7 +5158,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 ; @@ -5020,19 +5181,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; } } @@ -5068,7 +5229,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 ; @@ -5096,7 +5257,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 ; @@ -5125,7 +5286,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 ; @@ -5147,7 +5308,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; } } @@ -5174,7 +5335,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 ; @@ -5213,7 +5374,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 ; @@ -5235,7 +5396,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; } } @@ -5262,7 +5423,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 ; @@ -5276,7 +5437,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; } } @@ -5295,7 +5456,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 ; @@ -5308,7 +5469,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; } { @@ -5326,7 +5487,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 ; @@ -5345,7 +5506,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: @@ -5354,7 +5515,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 ; @@ -5375,13 +5536,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; } } @@ -5417,7 +5578,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 ; @@ -5445,7 +5606,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 ; @@ -5474,7 +5635,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 ; @@ -5495,7 +5656,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; } { @@ -5521,7 +5682,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 ; @@ -5552,7 +5713,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 ; @@ -5563,21 +5724,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; @@ -5594,7 +5755,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 ; @@ -5627,7 +5788,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; } } @@ -5652,7 +5813,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; } } @@ -5695,7 +5856,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 @@ -5718,7 +5879,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 ; @@ -5755,7 +5916,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; } } @@ -5780,7 +5941,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; } } @@ -5824,7 +5985,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 ; @@ -5837,7 +5998,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; } { @@ -5855,7 +6016,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 ; @@ -5874,7 +6035,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: @@ -5883,7 +6044,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; @@ -5927,26 +6088,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; @@ -5961,7 +6138,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; @@ -5975,7 +6152,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; } { @@ -5993,7 +6170,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 ; @@ -6021,7 +6198,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 ; @@ -6040,7 +6217,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: @@ -6049,7 +6226,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 ; @@ -6062,7 +6239,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; } { @@ -6080,7 +6257,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 ; @@ -6091,21 +6268,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; @@ -6122,7 +6299,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 ; @@ -6155,7 +6332,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; } } @@ -6180,7 +6357,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; } } @@ -6223,7 +6400,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 @@ -6246,7 +6423,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 ; @@ -6283,7 +6460,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; } } @@ -6308,7 +6485,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; } } @@ -6359,7 +6536,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 ; @@ -6393,7 +6570,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) { @@ -6410,7 +6587,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; } } @@ -6430,7 +6607,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 ; @@ -6465,7 +6642,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 ; @@ -6504,7 +6681,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 ; @@ -6540,18 +6717,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; } } @@ -6569,7 +6746,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; } } @@ -6589,7 +6766,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 ; @@ -6608,7 +6785,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: @@ -6617,7 +6794,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 ; @@ -6643,7 +6820,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 ; @@ -6662,7 +6839,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: @@ -6678,7 +6855,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 ; @@ -6699,13 +6876,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; } } @@ -6740,7 +6917,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 @@ -6763,7 +6940,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 ; @@ -6788,13 +6965,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; } } @@ -6830,7 +7007,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 ; @@ -6844,7 +7021,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; } } @@ -6863,7 +7040,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 ; @@ -6882,7 +7059,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: @@ -6891,7 +7068,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 ; @@ -6913,7 +7090,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; } } @@ -6940,7 +7117,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; @@ -6955,7 +7132,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; } } @@ -6980,7 +7157,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 ; @@ -7002,7 +7179,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; } } @@ -7029,7 +7206,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 ; @@ -7043,7 +7220,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; } } @@ -7062,7 +7239,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 ; @@ -7101,7 +7278,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 ; @@ -7140,7 +7317,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; @@ -7154,7 +7331,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; } { @@ -7166,7 +7343,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; @@ -7176,7 +7353,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 ; @@ -7189,7 +7366,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; } { @@ -7207,7 +7384,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 ; @@ -7226,7 +7403,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: @@ -7235,7 +7412,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 ; @@ -7254,7 +7431,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: @@ -7263,7 +7440,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 ; @@ -7274,21 +7451,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; @@ -7311,7 +7488,7 @@ static int _wrap_SplitterNameStr_set(PyObject *) { static PyObject *_wrap_SplitterNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -7325,7 +7502,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 ; @@ -7354,7 +7531,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; } } @@ -7372,7 +7549,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; } } @@ -7407,7 +7584,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 @@ -7430,7 +7607,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 ; @@ -7463,7 +7640,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; } } @@ -7481,7 +7658,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; } } @@ -7517,7 +7694,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 ; @@ -7545,7 +7722,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 ; @@ -7573,7 +7750,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 ; @@ -7586,7 +7763,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; } { @@ -7604,7 +7781,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 ; @@ -7630,7 +7807,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 ; @@ -7659,7 +7836,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 ; @@ -7682,7 +7859,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; } } @@ -7703,7 +7880,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 ; @@ -7726,7 +7903,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; } } @@ -7747,7 +7924,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; @@ -7781,7 +7958,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 ; @@ -7817,7 +7994,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[] = { @@ -7842,7 +8019,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 ; @@ -7870,7 +8047,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 ; @@ -7883,7 +8060,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; } { @@ -7901,7 +8078,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 ; @@ -7914,7 +8091,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; } { @@ -7932,7 +8109,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 ; @@ -7951,7 +8128,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: @@ -7960,7 +8137,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 ; @@ -7979,7 +8156,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: @@ -7988,7 +8165,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 ; @@ -8003,12 +8180,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; } } @@ -8027,7 +8204,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 ; @@ -8046,7 +8223,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: @@ -8055,7 +8232,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 ; @@ -8068,7 +8245,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; } { @@ -8086,7 +8263,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 ; @@ -8105,7 +8282,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: @@ -8114,7 +8291,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 ; @@ -8127,7 +8304,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; } { @@ -8145,7 +8322,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 ; @@ -8164,7 +8341,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: @@ -8173,7 +8350,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 ; @@ -8191,16 +8368,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; } } @@ -8221,7 +8398,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[] = { @@ -8246,7 +8423,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 ; @@ -8259,7 +8436,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; } { @@ -8277,7 +8454,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 ; @@ -8305,7 +8482,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 ; @@ -8316,21 +8493,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; @@ -8347,7 +8524,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; @@ -8360,7 +8537,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; } } @@ -8383,7 +8560,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 ; @@ -8396,7 +8573,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; } { @@ -8414,7 +8591,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 ; @@ -8433,7 +8610,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: @@ -8442,7 +8619,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 ; @@ -8470,7 +8647,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 ; @@ -8489,7 +8666,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: @@ -8498,7 +8675,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 ; @@ -8517,7 +8694,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: @@ -8539,7 +8716,7 @@ static int _wrap_SashNameStr_set(PyObject *) { static PyObject *_wrap_SashNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8559,7 +8736,7 @@ static int _wrap_SashLayoutNameStr_set(PyObject *) { static PyObject *_wrap_SashLayoutNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8573,7 +8750,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 ; @@ -8602,7 +8779,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; } } @@ -8620,7 +8797,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; } } @@ -8655,7 +8832,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 @@ -8678,7 +8855,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 ; @@ -8711,7 +8888,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; } } @@ -8729,7 +8906,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; } } @@ -8765,7 +8942,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 ; @@ -8780,16 +8957,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; @@ -8802,7 +8979,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; @@ -8816,12 +8993,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; @@ -8836,7 +9013,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 ; @@ -8851,16 +9028,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; @@ -8873,7 +9050,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; @@ -8887,12 +9064,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; @@ -8907,7 +9084,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; @@ -8921,18 +9098,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: @@ -8941,7 +9118,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 ; @@ -8954,7 +9131,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; } { @@ -8972,7 +9149,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 ; @@ -8991,7 +9168,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: @@ -9000,7 +9177,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 ; @@ -9013,7 +9190,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; } { @@ -9031,7 +9208,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 ; @@ -9050,7 +9227,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: @@ -9059,7 +9236,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 ; @@ -9072,7 +9249,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; } { @@ -9090,7 +9267,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 ; @@ -9103,7 +9280,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; } { @@ -9121,7 +9298,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 ; @@ -9140,7 +9317,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: @@ -9149,7 +9326,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 ; @@ -9168,7 +9345,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: @@ -9177,7 +9354,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 ; @@ -9190,7 +9367,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; } { @@ -9208,7 +9385,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 ; @@ -9221,7 +9398,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; } { @@ -9239,7 +9416,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 ; @@ -9258,7 +9435,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: @@ -9267,7 +9444,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 ; @@ -9286,7 +9463,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: @@ -9295,7 +9472,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 ; @@ -9313,16 +9490,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; } } @@ -9341,7 +9518,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[] = { @@ -9373,7 +9550,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; @@ -9386,19 +9563,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; @@ -9411,7 +9588,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 ; @@ -9424,12 +9601,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; @@ -9442,7 +9619,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 ; @@ -9468,7 +9645,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 ; @@ -9500,7 +9677,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 ; @@ -9520,7 +9697,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; @@ -9530,7 +9707,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 ; @@ -9543,12 +9720,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; @@ -9561,7 +9738,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 ; @@ -9594,7 +9771,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 ; @@ -9605,7 +9782,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; } } @@ -9624,7 +9801,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 ; @@ -9637,7 +9814,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; } { @@ -9655,7 +9832,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 ; @@ -9674,7 +9851,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: @@ -9683,7 +9860,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 ; @@ -9696,7 +9873,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; } { @@ -9714,7 +9891,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 ; @@ -9733,7 +9910,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: @@ -9742,7 +9919,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 ; @@ -9774,7 +9951,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 ; @@ -9794,7 +9971,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; @@ -9804,7 +9981,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 ; @@ -9817,12 +9994,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; @@ -9835,7 +10012,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 ; @@ -9861,7 +10038,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 ; @@ -9874,12 +10051,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; @@ -9892,7 +10069,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 ; @@ -9925,7 +10102,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 ; @@ -9936,7 +10113,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; } } @@ -9955,7 +10132,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 ; @@ -9968,7 +10145,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; } { @@ -9986,7 +10163,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 ; @@ -10005,7 +10182,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: @@ -10014,7 +10191,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 ; @@ -10046,7 +10223,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 ; @@ -10066,7 +10243,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; @@ -10083,7 +10260,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 ; @@ -10112,7 +10289,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; } } @@ -10130,7 +10307,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; } } @@ -10165,7 +10342,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 @@ -10188,7 +10365,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 ; @@ -10221,7 +10398,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; } } @@ -10239,7 +10416,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; } } @@ -10275,7 +10452,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 ; @@ -10301,7 +10478,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 ; @@ -10327,7 +10504,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 ; @@ -10340,12 +10517,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; @@ -10358,7 +10535,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 ; @@ -10390,7 +10567,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 ; @@ -10403,12 +10580,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; @@ -10428,7 +10605,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 @@ -10450,7 +10627,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[] = { @@ -10475,7 +10652,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 ; @@ -10513,7 +10690,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 ; @@ -10551,7 +10728,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 ; @@ -10596,7 +10773,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; @@ -10611,7 +10788,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; } } @@ -10631,7 +10808,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 @@ -10654,7 +10831,7 @@ static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) wxBORDER_NONE ; @@ -10673,7 +10850,7 @@ static PyObject *_wrap_PopupWindow_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; } } @@ -10694,7 +10871,7 @@ static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -10740,7 +10917,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; @@ -10755,7 +10932,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; } } @@ -10775,7 +10952,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 @@ -10798,7 +10975,7 @@ static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, P static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10829,7 +11006,7 @@ static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObjec static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; PyObject * obj0 = 0 ; @@ -10860,7 +11037,7 @@ static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, Py static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10892,7 +11069,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 ; @@ -10917,7 +11094,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; } } @@ -10949,7 +11126,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 ; @@ -10981,7 +11158,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[] = { @@ -11013,7 +11190,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 ; @@ -11042,7 +11219,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; } } @@ -11060,7 +11237,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; } } @@ -11095,7 +11272,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 @@ -11118,7 +11295,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 ; @@ -11149,7 +11326,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 ; @@ -11182,7 +11359,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; } } @@ -11200,7 +11377,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; } } @@ -11236,7 +11413,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 ; @@ -11249,7 +11426,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; } { @@ -11267,7 +11444,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; @@ -11281,7 +11458,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; } { @@ -11301,7 +11478,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; @@ -11315,7 +11492,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; } { @@ -11335,7 +11512,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; @@ -11349,7 +11526,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; } { @@ -11369,7 +11546,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 ; @@ -11382,7 +11559,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; } { @@ -11400,7 +11577,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 ; @@ -11415,11 +11592,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; } { @@ -11437,7 +11614,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 ; @@ -11453,11 +11630,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; } { @@ -11468,7 +11645,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: @@ -11477,7 +11654,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; @@ -11503,7 +11680,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: @@ -11512,7 +11689,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[] = { @@ -11537,7 +11714,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 ; @@ -11556,7 +11733,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: @@ -11565,7 +11742,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 ; @@ -11584,7 +11761,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: @@ -11593,7 +11770,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 ; @@ -11612,7 +11789,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: @@ -11621,7 +11798,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; @@ -11635,7 +11812,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; } { @@ -11655,7 +11832,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 ; @@ -11674,7 +11851,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: @@ -11683,7 +11860,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 ; @@ -11702,7 +11879,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: @@ -11724,7 +11901,7 @@ static int _wrap_VListBoxNameStr_set(PyObject *) { static PyObject *_wrap_VListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -11738,7 +11915,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 ; @@ -11767,7 +11944,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; } } @@ -11785,7 +11962,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; } } @@ -11820,7 +11997,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 @@ -11843,7 +12020,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 ; @@ -11874,7 +12051,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 ; @@ -11907,7 +12084,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; } } @@ -11925,7 +12102,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; } } @@ -11961,7 +12138,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 ; @@ -11980,7 +12157,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: @@ -11989,7 +12166,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 ; @@ -12017,7 +12194,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 ; @@ -12036,7 +12213,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: @@ -12045,7 +12222,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; @@ -12059,7 +12236,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; } { @@ -12079,7 +12256,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; @@ -12093,7 +12270,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; } { @@ -12113,7 +12290,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 ; @@ -12132,7 +12309,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: @@ -12141,7 +12318,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 ; @@ -12167,7 +12344,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; @@ -12181,7 +12358,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; } { @@ -12199,7 +12376,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 ; @@ -12219,7 +12396,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; @@ -12229,7 +12406,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 ; @@ -12258,7 +12435,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 ; @@ -12271,7 +12448,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; } { @@ -12289,7 +12466,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[] = { @@ -12314,7 +12491,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 ; @@ -12327,7 +12504,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; } { @@ -12345,7 +12522,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 ; @@ -12361,12 +12538,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; } } @@ -12387,7 +12564,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 ; @@ -12403,11 +12580,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; } { @@ -12427,7 +12604,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 ; @@ -12440,7 +12617,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; } { @@ -12458,7 +12635,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 ; @@ -12486,7 +12663,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 ; @@ -12514,7 +12691,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 ; @@ -12546,7 +12723,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 ; @@ -12561,11 +12738,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; } { @@ -12583,7 +12760,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 ; @@ -12622,7 +12799,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 ; @@ -12651,7 +12828,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; } } @@ -12669,7 +12846,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; } } @@ -12704,7 +12881,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 @@ -12727,7 +12904,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 ; @@ -12758,7 +12935,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 ; @@ -12791,7 +12968,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; } } @@ -12809,7 +12986,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; } } @@ -12845,7 +13022,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[] = { @@ -12870,7 +13047,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 ; @@ -12883,7 +13060,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; } { @@ -12901,7 +13078,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 ; @@ -12937,7 +13114,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 @@ -12960,7 +13137,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 ; @@ -12979,7 +13156,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; } { @@ -12997,7 +13174,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[] = { @@ -13022,7 +13199,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 ; @@ -13050,7 +13227,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 ; @@ -13078,7 +13255,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 ; @@ -13135,7 +13312,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 ; @@ -13163,7 +13340,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; @@ -13202,7 +13379,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; @@ -13214,7 +13391,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); @@ -13247,7 +13424,7 @@ static int _wrap_FileSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_FileSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13267,7 +13444,7 @@ static int _wrap_DirSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_DirSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13287,7 +13464,7 @@ static int _wrap_DirDialogNameStr_set(PyObject *) { static PyObject *_wrap_DirDialogNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13307,7 +13484,7 @@ static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13327,7 +13504,7 @@ static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { static PyObject *_wrap_GetTextFromUserPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13347,7 +13524,7 @@ static int _wrap_MessageBoxCaptionStr_set(PyObject *) { static PyObject *_wrap_MessageBoxCaptionStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13361,7 +13538,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 @@ -13383,7 +13560,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[] = { @@ -13408,7 +13585,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 ; @@ -13436,7 +13613,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 ; @@ -13456,7 +13633,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; @@ -13466,7 +13643,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; @@ -13480,7 +13657,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; } { @@ -13492,7 +13669,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; @@ -13502,7 +13679,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 ; @@ -13515,7 +13692,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; } { @@ -13533,7 +13710,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 ; @@ -13565,7 +13742,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 ; @@ -13581,7 +13758,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; } { @@ -13610,7 +13787,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; @@ -13643,7 +13820,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 ; @@ -13678,8 +13855,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 ; @@ -13728,7 +13966,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; } } @@ -13791,7 +14029,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 ; @@ -13823,7 +14061,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 ; @@ -13855,7 +14093,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 ; @@ -13874,7 +14112,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: @@ -13883,7 +14121,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 ; @@ -13924,7 +14162,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 ; @@ -13972,7 +14210,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 ; @@ -14035,7 +14273,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; } } @@ -14093,7 +14331,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 ; @@ -14134,7 +14372,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 ; @@ -14175,7 +14413,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 ; @@ -14216,7 +14454,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 ; @@ -14257,7 +14495,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 ; @@ -14298,7 +14536,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 ; @@ -14311,7 +14549,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; } { @@ -14329,7 +14567,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 ; @@ -14342,7 +14580,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; } { @@ -14360,7 +14598,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 ; @@ -14392,7 +14630,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 ; @@ -14424,7 +14662,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 ; @@ -14456,7 +14694,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 ; @@ -14488,7 +14726,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 ; @@ -14520,7 +14758,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 ; @@ -14539,7 +14777,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: @@ -14548,7 +14786,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 ; @@ -14567,7 +14805,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: @@ -14576,7 +14814,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 ; @@ -14602,7 +14840,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 ; @@ -14635,7 +14873,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 ; @@ -14680,7 +14918,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; } } @@ -14728,7 +14966,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 ; @@ -14778,7 +15016,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 ; @@ -14811,7 +15049,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 ; @@ -14854,7 +15092,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; } } @@ -14902,7 +15140,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 ; @@ -14921,7 +15159,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: @@ -14930,7 +15168,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 ; @@ -14962,7 +15200,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 ; @@ -14975,7 +15213,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; } { @@ -15000,7 +15238,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 ; @@ -15049,7 +15287,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; } } @@ -15099,7 +15337,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 ; @@ -15131,7 +15369,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 ; @@ -15185,7 +15423,7 @@ static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15199,7 +15437,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 ; @@ -15248,7 +15486,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; } } @@ -15304,7 +15542,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 @@ -15326,7 +15564,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[] = { @@ -15351,7 +15589,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 ; @@ -15364,7 +15602,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; } { @@ -15382,7 +15620,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 ; @@ -15410,7 +15648,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 ; @@ -15430,7 +15668,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; @@ -15440,7 +15678,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 ; @@ -15460,7 +15698,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; @@ -15470,7 +15708,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 ; @@ -15498,7 +15736,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 ; @@ -15518,7 +15756,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; @@ -15528,7 +15766,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 ; @@ -15556,7 +15794,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 ; @@ -15569,7 +15807,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; } { @@ -15587,7 +15825,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 ; @@ -15622,7 +15860,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 ; @@ -15654,7 +15892,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 ; @@ -15689,7 +15927,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 ; @@ -15704,11 +15942,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; } { @@ -15726,7 +15964,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 ; @@ -15739,7 +15977,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; } { @@ -15764,7 +16002,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; @@ -15801,43 +16039,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 ; @@ -15875,7 +16177,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; } } @@ -15924,7 +16226,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 ; @@ -15955,7 +16257,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; } } @@ -15965,7 +16267,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; } } @@ -16001,7 +16303,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 ; @@ -16019,7 +16321,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) { @@ -16054,7 +16356,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[] = { @@ -16086,7 +16388,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; @@ -16099,13 +16401,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; } } @@ -16124,7 +16426,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 ; @@ -16143,7 +16445,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: @@ -16152,7 +16454,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 ; @@ -16187,7 +16489,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 ; @@ -16222,7 +16524,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 ; @@ -16248,7 +16550,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 ; @@ -16261,7 +16563,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; } { @@ -16279,7 +16581,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 ; @@ -16320,7 +16622,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 ; @@ -16368,7 +16670,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 ; @@ -16379,7 +16681,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; } } @@ -16398,7 +16700,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[] = { @@ -16423,7 +16725,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 ; @@ -16458,7 +16760,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 ; @@ -16493,7 +16795,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 ; @@ -16512,7 +16814,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: @@ -16521,7 +16823,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 ; @@ -16534,7 +16836,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; } { @@ -16552,7 +16854,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 ; @@ -16593,7 +16895,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 ; @@ -16641,7 +16943,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 ; @@ -16668,7 +16970,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; } } @@ -16696,7 +16998,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 @@ -16719,7 +17021,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 ; @@ -16750,7 +17052,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; } } @@ -16779,7 +17081,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 ; @@ -16805,7 +17107,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 ; @@ -16841,7 +17143,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 ; @@ -16874,7 +17176,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; } } @@ -16899,7 +17201,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; } } @@ -16942,7 +17244,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 @@ -16965,7 +17267,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 ; @@ -17002,7 +17304,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; } } @@ -17027,7 +17329,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; } } @@ -17071,7 +17373,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[] = { @@ -17096,7 +17398,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[] = { @@ -17121,7 +17423,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[] = { @@ -17146,7 +17448,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[] = { @@ -17171,7 +17473,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 ; @@ -17199,7 +17501,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 ; @@ -17227,7 +17529,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 ; @@ -17255,7 +17557,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 ; @@ -17269,13 +17571,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; @@ -17295,7 +17597,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 ; @@ -17328,7 +17630,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; } } @@ -17353,7 +17655,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; } } @@ -17396,7 +17698,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 @@ -17419,7 +17721,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 ; @@ -17456,7 +17758,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; } } @@ -17481,7 +17783,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; } } @@ -17525,7 +17827,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[] = { @@ -17550,7 +17852,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 ; @@ -17564,7 +17866,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; } } @@ -17583,7 +17885,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[] = { @@ -17615,7 +17917,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; @@ -17630,7 +17932,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; } } @@ -17650,7 +17952,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 @@ -17673,7 +17975,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 ; @@ -17692,7 +17994,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; } } @@ -17720,7 +18022,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 ; @@ -17749,7 +18051,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; } } @@ -17767,7 +18069,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; } } @@ -17802,7 +18104,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 @@ -17825,7 +18127,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 ; @@ -17856,7 +18158,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 ; @@ -17888,7 +18190,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; @@ -17920,7 +18222,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 ; @@ -17939,19 +18241,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; } { @@ -17969,7 +18271,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 ; @@ -17990,24 +18292,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; } } @@ -18026,7 +18328,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 ; @@ -18041,11 +18343,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; } { @@ -18063,7 +18365,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 ; @@ -18078,11 +18380,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; } { @@ -18100,7 +18402,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 ; @@ -18137,7 +18439,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 ; @@ -18174,7 +18476,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 ; @@ -18211,7 +18513,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 ; @@ -18231,7 +18533,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; @@ -18241,7 +18543,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 ; @@ -18261,7 +18563,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; @@ -18271,7 +18573,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[] = { @@ -18296,7 +18598,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 ; @@ -18324,7 +18626,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 ; @@ -18352,7 +18654,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 ; @@ -18380,7 +18682,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 ; @@ -18408,7 +18710,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 ; @@ -18436,7 +18738,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 ; @@ -18456,7 +18758,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; @@ -18466,7 +18768,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 ; @@ -18495,7 +18797,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 ; @@ -18524,7 +18826,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 ; @@ -18552,7 +18854,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 ; @@ -18572,7 +18874,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; @@ -18582,7 +18884,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[] = { @@ -18614,7 +18916,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 ; @@ -18643,7 +18945,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; } } @@ -18661,7 +18963,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; } } @@ -18696,7 +18998,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 @@ -18719,7 +19021,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 ; @@ -18750,7 +19052,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 ; @@ -18782,7 +19084,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; @@ -18814,7 +19116,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 ; @@ -18833,19 +19135,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; } { @@ -18863,7 +19165,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 ; @@ -18884,24 +19186,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; } } @@ -18920,7 +19222,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 ; @@ -18935,11 +19237,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; } { @@ -18957,7 +19259,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 ; @@ -18972,11 +19274,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; } { @@ -18994,7 +19296,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 ; @@ -19031,7 +19333,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 ; @@ -19068,7 +19370,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 ; @@ -19105,7 +19407,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 ; @@ -19125,7 +19427,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; @@ -19135,7 +19437,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 ; @@ -19155,7 +19457,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; @@ -19165,7 +19467,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[] = { @@ -19190,7 +19492,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 ; @@ -19218,7 +19520,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 ; @@ -19246,7 +19548,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 ; @@ -19274,7 +19576,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 ; @@ -19302,7 +19604,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 ; @@ -19330,7 +19632,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 ; @@ -19350,7 +19652,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; @@ -19360,7 +19662,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 ; @@ -19389,7 +19691,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 ; @@ -19418,7 +19720,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 ; @@ -19446,7 +19748,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 ; @@ -19466,7 +19768,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; @@ -19476,7 +19778,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[] = { @@ -19508,7 +19810,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 ; @@ -19537,7 +19839,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; } } @@ -19555,7 +19857,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; } } @@ -19590,7 +19892,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 @@ -19613,7 +19915,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 ; @@ -19644,7 +19946,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 ; @@ -19676,7 +19978,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; @@ -19708,7 +20010,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 ; @@ -19727,19 +20029,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; } { @@ -19757,7 +20059,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 ; @@ -19778,24 +20080,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; } } @@ -19814,7 +20116,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 ; @@ -19829,11 +20131,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; } { @@ -19851,7 +20153,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 ; @@ -19866,11 +20168,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; } { @@ -19888,7 +20190,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 ; @@ -19925,7 +20227,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 ; @@ -19962,7 +20264,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 ; @@ -19999,7 +20301,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 ; @@ -20019,7 +20321,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; @@ -20029,7 +20331,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 ; @@ -20049,7 +20351,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; @@ -20059,7 +20361,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[] = { @@ -20084,7 +20386,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 ; @@ -20112,7 +20414,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 ; @@ -20140,7 +20442,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 ; @@ -20168,7 +20470,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 ; @@ -20196,7 +20498,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 ; @@ -20224,7 +20526,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 ; @@ -20244,7 +20546,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; @@ -20254,7 +20556,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 ; @@ -20283,7 +20585,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 ; @@ -20312,7 +20614,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 ; @@ -20340,7 +20642,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 ; @@ -20360,7 +20662,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; @@ -20370,7 +20672,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[] = { @@ -20408,7 +20710,7 @@ static int _wrap_PrintoutTitleStr_set(PyObject *) { static PyObject *_wrap_PrintoutTitleStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -20428,7 +20730,7 @@ static int _wrap_PreviewCanvasNameStr_set(PyObject *) { static PyObject *_wrap_PreviewCanvasNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -20442,7 +20744,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; @@ -20461,7 +20763,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 ; @@ -20523,7 +20825,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[] = { @@ -20548,7 +20850,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 ; @@ -20567,7 +20869,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: @@ -20576,7 +20878,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 ; @@ -20604,7 +20906,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 ; @@ -20623,7 +20925,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: @@ -20632,7 +20934,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 ; @@ -20660,7 +20962,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 ; @@ -20695,7 +20997,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 ; @@ -20723,7 +21025,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 ; @@ -20749,7 +21051,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 ; @@ -20775,7 +21077,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 ; @@ -20804,7 +21106,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 ; @@ -20823,7 +21125,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: @@ -20832,7 +21134,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 ; @@ -20858,7 +21160,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 ; @@ -20884,7 +21186,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 ; @@ -20897,7 +21199,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; } { @@ -20915,7 +21217,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 ; @@ -20928,7 +21230,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; } { @@ -20946,7 +21248,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 ; @@ -20959,7 +21261,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; } { @@ -20977,7 +21279,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 ; @@ -21018,7 +21320,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 ; @@ -21031,7 +21333,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; } { @@ -21049,7 +21351,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 ; @@ -21062,12 +21364,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; @@ -21080,7 +21382,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 ; @@ -21093,12 +21395,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; @@ -21111,7 +21413,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 ; @@ -21143,7 +21445,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 ; @@ -21156,7 +21458,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; } { @@ -21174,7 +21476,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 ; @@ -21187,12 +21489,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; @@ -21205,7 +21507,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 ; @@ -21218,12 +21520,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; @@ -21236,7 +21538,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 ; @@ -21268,7 +21570,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 ; @@ -21309,7 +21611,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 ; @@ -21335,7 +21637,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 ; @@ -21370,7 +21672,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; @@ -21389,7 +21691,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 ; @@ -21418,7 +21720,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 ; @@ -21495,7 +21797,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[] = { @@ -21520,7 +21822,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 ; @@ -21533,7 +21835,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; } { @@ -21551,7 +21853,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 ; @@ -21564,7 +21866,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; } { @@ -21582,7 +21884,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 ; @@ -21595,7 +21897,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; } { @@ -21613,7 +21915,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 ; @@ -21626,7 +21928,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; } { @@ -21644,7 +21946,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 ; @@ -21657,7 +21959,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; } { @@ -21675,7 +21977,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 ; @@ -21703,7 +22005,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 ; @@ -21731,7 +22033,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 ; @@ -21759,7 +22061,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 ; @@ -21787,7 +22089,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 ; @@ -21815,7 +22117,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 ; @@ -21843,7 +22145,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 ; @@ -21871,7 +22173,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 ; @@ -21891,7 +22193,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; @@ -21901,7 +22203,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 ; @@ -21921,7 +22223,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; @@ -21931,7 +22233,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 ; @@ -21951,7 +22253,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; @@ -21961,7 +22263,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 ; @@ -21981,7 +22283,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; @@ -21991,7 +22293,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 ; @@ -22017,7 +22319,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 ; @@ -22037,7 +22339,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; @@ -22047,7 +22349,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 ; @@ -22076,7 +22378,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 ; @@ -22104,7 +22406,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 ; @@ -22117,7 +22419,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; } { @@ -22135,7 +22437,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 ; @@ -22148,7 +22450,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; } { @@ -22166,7 +22468,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 ; @@ -22198,7 +22500,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 ; @@ -22230,7 +22532,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 ; @@ -22262,7 +22564,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 ; @@ -22294,7 +22596,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 ; @@ -22307,12 +22609,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; @@ -22325,7 +22627,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 ; @@ -22357,7 +22659,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 ; @@ -22392,7 +22694,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[] = { @@ -22417,7 +22719,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[] = { @@ -22449,7 +22751,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; @@ -22482,7 +22784,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 ; @@ -22511,7 +22813,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 ; @@ -22540,7 +22842,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 ; @@ -22559,7 +22861,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: @@ -22575,7 +22877,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; @@ -22594,7 +22896,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 ; @@ -22623,7 +22925,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 ; @@ -22700,7 +23002,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[] = { @@ -22725,7 +23027,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 ; @@ -22744,7 +23046,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: @@ -22753,7 +23055,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 ; @@ -22772,7 +23074,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: @@ -22781,7 +23083,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 ; @@ -22800,7 +23102,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: @@ -22809,7 +23111,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 ; @@ -22828,7 +23130,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: @@ -22837,7 +23139,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 ; @@ -22856,7 +23158,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: @@ -22865,7 +23167,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 ; @@ -22893,7 +23195,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 ; @@ -22921,7 +23223,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 ; @@ -22949,7 +23251,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 ; @@ -22977,7 +23279,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 ; @@ -22990,7 +23292,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; } { @@ -23008,7 +23310,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 ; @@ -23021,7 +23323,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; } { @@ -23039,7 +23341,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 ; @@ -23052,7 +23354,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; } { @@ -23070,7 +23372,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 ; @@ -23083,7 +23385,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; } { @@ -23101,7 +23403,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 ; @@ -23114,7 +23416,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; } { @@ -23132,7 +23434,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 ; @@ -23145,7 +23447,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; } { @@ -23163,7 +23465,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 ; @@ -23176,7 +23478,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; } { @@ -23194,7 +23496,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 ; @@ -23207,7 +23509,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; } { @@ -23225,7 +23527,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 ; @@ -23238,7 +23540,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; } { @@ -23256,7 +23558,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 ; @@ -23269,7 +23571,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; } { @@ -23287,7 +23589,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 ; @@ -23300,7 +23602,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; } { @@ -23318,7 +23620,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 ; @@ -23331,7 +23633,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; } { @@ -23349,7 +23651,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 ; @@ -23362,7 +23664,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; } { @@ -23380,7 +23682,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 ; @@ -23408,7 +23710,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 ; @@ -23436,7 +23738,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 ; @@ -23464,7 +23766,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 ; @@ -23492,7 +23794,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 ; @@ -23520,7 +23822,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 ; @@ -23549,7 +23851,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 ; @@ -23591,7 +23893,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; @@ -23624,7 +23926,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 ; @@ -23643,7 +23945,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: @@ -23652,7 +23954,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 ; @@ -23681,7 +23983,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 ; @@ -23710,7 +24012,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 ; @@ -23745,7 +24047,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 ; @@ -23774,7 +24076,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[] = { @@ -23799,7 +24101,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 ; @@ -23835,7 +24137,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 ; @@ -23884,7 +24186,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; @@ -23916,7 +24218,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 ; @@ -23939,7 +24241,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; } } @@ -23960,7 +24262,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; @@ -23992,7 +24294,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 ; @@ -24021,7 +24323,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 ; @@ -24049,7 +24351,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 @@ -24078,7 +24380,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; @@ -24122,7 +24424,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 ; @@ -24153,7 +24455,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 ; @@ -24185,7 +24487,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 ; @@ -24213,7 +24515,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 ; @@ -24242,7 +24544,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 ; @@ -24257,11 +24559,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; } { @@ -24279,7 +24581,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 ; @@ -24316,7 +24618,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 ; @@ -24331,11 +24633,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; } { @@ -24353,7 +24655,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 ; @@ -24390,7 +24692,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 ; @@ -24405,11 +24707,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; } { @@ -24427,7 +24729,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 ; @@ -24464,7 +24766,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 ; @@ -24479,11 +24781,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; } { @@ -24501,7 +24803,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 ; @@ -24538,7 +24840,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 ; @@ -24566,7 +24868,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 ; @@ -24579,7 +24881,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; } { @@ -24597,7 +24899,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 ; @@ -24613,11 +24915,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; } { @@ -24637,7 +24939,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[] = { @@ -24662,7 +24964,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[] = { @@ -24687,7 +24989,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[] = { @@ -24712,7 +25014,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[] = { @@ -24737,7 +25039,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; @@ -24751,7 +25053,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; } { @@ -24771,7 +25073,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 ; @@ -24827,7 +25129,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 ; @@ -24870,7 +25172,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; } } @@ -24912,7 +25214,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 ; @@ -24963,7 +25265,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; } } @@ -25006,7 +25308,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[] = { @@ -25031,7 +25333,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[] = { @@ -25056,7 +25358,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[] = { @@ -25081,7 +25383,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 ; @@ -25114,7 +25416,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 ; @@ -25144,7 +25446,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); @@ -25163,7 +25465,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; } } @@ -25198,7 +25500,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 ; @@ -25217,7 +25519,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: @@ -25226,7 +25528,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 ; @@ -25239,7 +25541,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; } { @@ -25257,7 +25559,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 ; @@ -25283,7 +25585,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[] = { @@ -25308,7 +25610,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[] = { @@ -25333,7 +25635,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[] = { @@ -25358,7 +25660,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[] = { @@ -25383,7 +25685,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[] = { @@ -25415,24 +25717,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(); @@ -25449,7 +25749,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 ; @@ -25489,7 +25817,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; @@ -25511,9 +25839,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) { @@ -25561,7 +25912,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); } } } @@ -25573,7 +25924,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; @@ -25587,7 +25938,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; } { @@ -25607,7 +25958,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 ; @@ -25626,7 +25977,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: @@ -25635,7 +25986,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 ; @@ -25664,7 +26015,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 ; @@ -25692,7 +26043,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 ; @@ -25720,7 +26071,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 ; @@ -25749,7 +26100,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 ; @@ -25778,7 +26129,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 ; @@ -25806,7 +26157,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 ; @@ -25832,7 +26183,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 ; @@ -25874,7 +26225,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 ; @@ -25916,7 +26267,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; @@ -25930,7 +26281,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; } { @@ -25950,7 +26301,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 ; @@ -25979,7 +26330,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 ; @@ -26008,7 +26359,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 ; @@ -26021,7 +26372,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; } { @@ -26039,7 +26390,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 ; @@ -26058,7 +26409,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: @@ -26067,7 +26418,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 ; @@ -26086,7 +26437,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: @@ -26095,7 +26446,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 ; @@ -26114,7 +26465,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: @@ -26123,7 +26474,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 ; @@ -26151,7 +26502,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 ; @@ -26164,7 +26515,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; } { @@ -26182,7 +26533,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; @@ -26196,7 +26547,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; } { @@ -26216,7 +26567,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[] = { @@ -26248,24 +26599,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(); @@ -26282,7 +26631,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 ; @@ -26322,7 +26699,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; @@ -26344,9 +26721,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) { @@ -26394,7 +26794,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); } } } @@ -26406,7 +26806,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 ; @@ -26437,7 +26837,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; @@ -26451,7 +26851,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; } { @@ -26471,7 +26871,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 ; @@ -26513,7 +26913,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 ; @@ -26555,7 +26955,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; @@ -26569,7 +26969,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; } { @@ -26589,7 +26989,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 ; @@ -26602,7 +27002,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; } { @@ -26620,7 +27020,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; @@ -26634,7 +27034,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; } { @@ -26654,7 +27054,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[] = { @@ -26686,7 +27086,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 ; @@ -26737,7 +27137,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; } } @@ -26780,7 +27180,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 ; @@ -26811,7 +27211,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 ; @@ -26840,7 +27240,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 ; @@ -26869,7 +27269,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[] = { @@ -26894,7 +27294,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[] = { @@ -26919,7 +27319,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[] = { @@ -26951,7 +27351,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 ; @@ -26981,7 +27381,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); @@ -27000,7 +27400,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; } } @@ -27035,7 +27435,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 ; @@ -27066,7 +27466,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 ; @@ -27095,7 +27495,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[] = { @@ -27120,7 +27520,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 ; @@ -27133,7 +27533,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; } { @@ -27467,6 +27867,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}, @@ -27526,6 +27927,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}, @@ -28896,203 +29298,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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_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_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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 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},{"_p_wxTipWindow", _p_wxTipWindowTo_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_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_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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_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_wxTipWindow", _p_wxTipWindowTo_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_wxSashLayoutWindow, -_swigt__p_wxSplitterWindow, -_swigt__p_wxSplashScreenWindow, -_swigt__p_wxPyVScrolledWindow, -_swigt__p_wxPyPopupTransientWindow, -_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_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_wxTipWindow, _p_wxTipWindowTo_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_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_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_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_wxTipWindow, _p_wxTipWindowTo_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}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 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_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_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_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_wxTipWindow, _p_wxTipWindowTo_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, }; @@ -29104,6 +29967,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 @@ -29121,7 +30195,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; @@ -29131,13 +30205,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; @@ -29150,7 +30224,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -29163,7 +30237,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) { @@ -29176,72 +30250,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; } @@ -29250,11 +30341,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); @@ -29291,7 +30382,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, @@ -29303,7 +30394,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]); @@ -29316,14 +30407,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; + } + } } } } @@ -29333,69 +30428,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 @@ -29404,42 +30436,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); @@ -29448,182 +30459,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)); @@ -29632,83 +30646,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)); @@ -29733,32 +30747,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)); @@ -29766,150 +30780,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"); diff --git a/wxPython/src/gtk/calendar.py b/wxPython/src/gtk/calendar.py index cebc5cfc2b..b6b4a33193 100644 --- a/wxPython/src/gtk/calendar.py +++ b/wxPython/src/gtk/calendar.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -591,3 +591,4 @@ def _wxdate2pydate(date): return None + diff --git a/wxPython/src/gtk/calendar_wrap.cpp b/wxPython/src/gtk/calendar_wrap.cpp index 8d2be85bf3..fb358f4840 100644 --- a/wxPython/src/gtk/calendar_wrap.cpp +++ b/wxPython/src/gtk/calendar_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,32 +1431,115 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxObject swig_types[0] -#define SWIGTYPE_p_unsigned_char swig_types[1] -#define SWIGTYPE_p_wxColour swig_types[2] -#define SWIGTYPE_p_wxCalendarDateAttr swig_types[3] -#define SWIGTYPE_p_wxCalendarEvent swig_types[4] -#define SWIGTYPE_p_wxVisualAttributes swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_wxCommandEvent swig_types[7] -#define SWIGTYPE_p_unsigned_long swig_types[8] -#define SWIGTYPE_p_unsigned_int swig_types[9] -#define SWIGTYPE_unsigned_int swig_types[10] -#define SWIGTYPE_p_form_ops_t swig_types[11] -#define SWIGTYPE_p_wxDuplexMode swig_types[12] -#define SWIGTYPE_p_wxDateEvent swig_types[13] -#define SWIGTYPE_p_char swig_types[14] -#define SWIGTYPE_p_wxEvtHandler swig_types[15] -#define SWIGTYPE_std__ptrdiff_t swig_types[16] -#define SWIGTYPE_ptrdiff_t swig_types[17] -#define SWIGTYPE_p_wxFont swig_types[18] -#define SWIGTYPE_p_wxDateTime swig_types[19] -#define SWIGTYPE_p_wxControl swig_types[20] -#define SWIGTYPE_p_wxEvent swig_types[21] -#define SWIGTYPE_p_wxPaperSize swig_types[22] -#define SWIGTYPE_p_wxCalendarCtrl swig_types[23] -#define SWIGTYPE_p_int swig_types[24] -static swig_type_info *swig_types[26]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBoxSizer swig_types[10] +#define SWIGTYPE_p_wxBusyInfo swig_types[11] +#define SWIGTYPE_p_wxCURHandler swig_types[12] +#define SWIGTYPE_p_wxCalendarCtrl swig_types[13] +#define SWIGTYPE_p_wxCalendarDateAttr swig_types[14] +#define SWIGTYPE_p_wxCalendarEvent swig_types[15] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[16] +#define SWIGTYPE_p_wxClipboard swig_types[17] +#define SWIGTYPE_p_wxCloseEvent swig_types[18] +#define SWIGTYPE_p_wxColour 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_wxDateEvent swig_types[24] +#define SWIGTYPE_p_wxDateTime swig_types[25] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[27] +#define SWIGTYPE_p_wxDuplexMode swig_types[28] +#define SWIGTYPE_p_wxEraseEvent swig_types[29] +#define SWIGTYPE_p_wxEvent swig_types[30] +#define SWIGTYPE_p_wxEvtHandler swig_types[31] +#define SWIGTYPE_p_wxFSFile swig_types[32] +#define SWIGTYPE_p_wxFileHistory swig_types[33] +#define SWIGTYPE_p_wxFileSystem swig_types[34] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[35] +#define SWIGTYPE_p_wxFocusEvent swig_types[36] +#define SWIGTYPE_p_wxFont swig_types[37] +#define SWIGTYPE_p_wxGBSizerItem swig_types[38] +#define SWIGTYPE_p_wxGIFHandler swig_types[39] +#define SWIGTYPE_p_wxGridBagSizer swig_types[40] +#define SWIGTYPE_p_wxGridSizer swig_types[41] +#define SWIGTYPE_p_wxICOHandler swig_types[42] +#define SWIGTYPE_p_wxIconizeEvent swig_types[43] +#define SWIGTYPE_p_wxIdleEvent swig_types[44] +#define SWIGTYPE_p_wxImage swig_types[45] +#define SWIGTYPE_p_wxImageHandler swig_types[46] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[47] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[48] +#define SWIGTYPE_p_wxJPEGHandler swig_types[49] +#define SWIGTYPE_p_wxJoystickEvent swig_types[50] +#define SWIGTYPE_p_wxKeyEvent swig_types[51] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[52] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[53] +#define SWIGTYPE_p_wxMenu swig_types[54] +#define SWIGTYPE_p_wxMenuBar swig_types[55] +#define SWIGTYPE_p_wxMenuEvent swig_types[56] +#define SWIGTYPE_p_wxMenuItem swig_types[57] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58] +#define SWIGTYPE_p_wxMouseEvent swig_types[59] +#define SWIGTYPE_p_wxMoveEvent swig_types[60] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[62] +#define SWIGTYPE_p_wxNotifyEvent swig_types[63] +#define SWIGTYPE_p_wxObject swig_types[64] +#define SWIGTYPE_p_wxPCXHandler swig_types[65] +#define SWIGTYPE_p_wxPNGHandler swig_types[66] +#define SWIGTYPE_p_wxPNMHandler swig_types[67] +#define SWIGTYPE_p_wxPaintEvent swig_types[68] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69] +#define SWIGTYPE_p_wxPaperSize swig_types[70] +#define SWIGTYPE_p_wxProcessEvent swig_types[71] +#define SWIGTYPE_p_wxPyApp swig_types[72] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[73] +#define SWIGTYPE_p_wxPyEvent swig_types[74] +#define SWIGTYPE_p_wxPyImageHandler swig_types[75] +#define SWIGTYPE_p_wxPyProcess swig_types[76] +#define SWIGTYPE_p_wxPySizer swig_types[77] +#define SWIGTYPE_p_wxPyTimer swig_types[78] +#define SWIGTYPE_p_wxPyValidator swig_types[79] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[80] +#define SWIGTYPE_p_wxScrollEvent swig_types[81] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[82] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[83] +#define SWIGTYPE_p_wxShowEvent swig_types[84] +#define SWIGTYPE_p_wxSizeEvent swig_types[85] +#define SWIGTYPE_p_wxSizer swig_types[86] +#define SWIGTYPE_p_wxSizerItem swig_types[87] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[88] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[89] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[90] +#define SWIGTYPE_p_wxSystemOptions swig_types[91] +#define SWIGTYPE_p_wxTIFFHandler swig_types[92] +#define SWIGTYPE_p_wxTimerEvent swig_types[93] +#define SWIGTYPE_p_wxToolTip swig_types[94] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[95] +#define SWIGTYPE_p_wxValidator swig_types[96] +#define SWIGTYPE_p_wxVisualAttributes swig_types[97] +#define SWIGTYPE_p_wxWindow swig_types[98] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[99] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[100] +#define SWIGTYPE_p_wxXPMHandler swig_types[101] +#define SWIGTYPE_ptrdiff_t swig_types[102] +#define SWIGTYPE_std__ptrdiff_t swig_types[103] +#define SWIGTYPE_unsigned_int swig_types[104] +static swig_type_info *swig_types[106]; +static swig_module_info swig_module = {swig_types, 105, 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) -------- */ @@ -1382,7 +1557,7 @@ static swig_type_info *swig_types[26]; #include - /*@/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 /*@@*/ @@ -1435,7 +1610,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; @@ -1449,7 +1624,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1457,7 +1632,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1471,7 +1646,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1503,7 +1678,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1517,7 +1692,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1525,7 +1700,7 @@ SWIG_Check_bool(PyObject* obj) static const wxString wxPyCalendarNameStr(wxCalendarNameStr); -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1539,7 +1714,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1559,7 +1734,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; @@ -1573,7 +1748,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -1595,7 +1770,7 @@ static PyObject *wxCalendarCtrl_HitTest(wxCalendarCtrl *self,wxPoint const &pos) extern "C" { #endif static PyObject *_wrap_new_CalendarDateAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour const &arg1_defvalue = wxNullColour ; wxColour *arg1 = (wxColour *) &arg1_defvalue ; wxColour const &arg2_defvalue = wxNullColour ; @@ -1649,13 +1824,13 @@ static PyObject *_wrap_new_CalendarDateAttr(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg5 = (wxCalendarDateBorder)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCalendarDateAttr *)new wxCalendarDateAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxColour const &)*arg3,(wxFont const &)*arg4,(wxCalendarDateBorder )arg5); + result = (wxCalendarDateAttr *)new wxCalendarDateAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxColour const &)*arg3,(wxFont const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -1668,7 +1843,7 @@ static PyObject *_wrap_new_CalendarDateAttr(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarDateAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -1700,7 +1875,7 @@ static PyObject *_wrap_CalendarDateAttr_SetTextColour(PyObject *, PyObject *args static PyObject *_wrap_CalendarDateAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -1732,7 +1907,7 @@ static PyObject *_wrap_CalendarDateAttr_SetBackgroundColour(PyObject *, PyObject static PyObject *_wrap_CalendarDateAttr_SetBorderColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -1764,7 +1939,7 @@ static PyObject *_wrap_CalendarDateAttr_SetBorderColour(PyObject *, PyObject *ar static PyObject *_wrap_CalendarDateAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -1799,7 +1974,7 @@ static PyObject *_wrap_CalendarDateAttr_SetFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalendarDateAttr_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxCalendarDateBorder arg2 ; PyObject * obj0 = 0 ; @@ -1812,12 +1987,12 @@ static PyObject *_wrap_CalendarDateAttr_SetBorder(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxCalendarDateBorder)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetBorder((wxCalendarDateBorder )arg2); + (arg1)->SetBorder(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -1830,7 +2005,7 @@ static PyObject *_wrap_CalendarDateAttr_SetBorder(PyObject *, PyObject *args, Py static PyObject *_wrap_CalendarDateAttr_SetHoliday(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -1843,7 +2018,7 @@ static PyObject *_wrap_CalendarDateAttr_SetHoliday(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, 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; } { @@ -1861,7 +2036,7 @@ static PyObject *_wrap_CalendarDateAttr_SetHoliday(PyObject *, PyObject *args, P static PyObject *_wrap_CalendarDateAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1889,7 +2064,7 @@ static PyObject *_wrap_CalendarDateAttr_HasTextColour(PyObject *, PyObject *args static PyObject *_wrap_CalendarDateAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1917,7 +2092,7 @@ static PyObject *_wrap_CalendarDateAttr_HasBackgroundColour(PyObject *, PyObject static PyObject *_wrap_CalendarDateAttr_HasBorderColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1945,7 +2120,7 @@ static PyObject *_wrap_CalendarDateAttr_HasBorderColour(PyObject *, PyObject *ar static PyObject *_wrap_CalendarDateAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1973,7 +2148,7 @@ static PyObject *_wrap_CalendarDateAttr_HasFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalendarDateAttr_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2001,7 +2176,7 @@ static PyObject *_wrap_CalendarDateAttr_HasBorder(PyObject *, PyObject *args, Py static PyObject *_wrap_CalendarDateAttr_IsHoliday(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2029,7 +2204,7 @@ static PyObject *_wrap_CalendarDateAttr_IsHoliday(PyObject *, PyObject *args, Py static PyObject *_wrap_CalendarDateAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2049,7 +2224,7 @@ static PyObject *_wrap_CalendarDateAttr_GetTextColour(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2059,7 +2234,7 @@ static PyObject *_wrap_CalendarDateAttr_GetTextColour(PyObject *, PyObject *args static PyObject *_wrap_CalendarDateAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2079,7 +2254,7 @@ static PyObject *_wrap_CalendarDateAttr_GetBackgroundColour(PyObject *, 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; @@ -2089,7 +2264,7 @@ static PyObject *_wrap_CalendarDateAttr_GetBackgroundColour(PyObject *, PyObject static PyObject *_wrap_CalendarDateAttr_GetBorderColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2109,7 +2284,7 @@ static PyObject *_wrap_CalendarDateAttr_GetBorderColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2119,7 +2294,7 @@ static PyObject *_wrap_CalendarDateAttr_GetBorderColour(PyObject *, PyObject *ar static PyObject *_wrap_CalendarDateAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -2139,7 +2314,7 @@ static PyObject *_wrap_CalendarDateAttr_GetFont(PyObject *, PyObject *args, PyOb } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -2149,7 +2324,7 @@ static PyObject *_wrap_CalendarDateAttr_GetFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalendarDateAttr_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxCalendarDateBorder result; PyObject * obj0 = 0 ; @@ -2182,7 +2357,7 @@ static PyObject * CalendarDateAttr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CalendarEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxEventType arg2 ; wxCalendarEvent *result; @@ -2196,7 +2371,7 @@ static PyObject *_wrap_new_CalendarEvent(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2214,7 +2389,7 @@ static PyObject *_wrap_new_CalendarEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_CalendarEvent_SetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ; wxDateTime::WeekDay arg2 ; PyObject * obj0 = 0 ; @@ -2227,12 +2402,12 @@ static PyObject *_wrap_CalendarEvent_SetWeekDay(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetWeekDay((wxDateTime::WeekDay )arg2); + (arg1)->SetWeekDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2245,7 +2420,7 @@ static PyObject *_wrap_CalendarEvent_SetWeekDay(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalendarEvent_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ; wxDateTime::WeekDay result; PyObject * obj0 = 0 ; @@ -2284,7 +2459,7 @@ static int _wrap_CalendarNameStr_set(PyObject *) { static PyObject *_wrap_CalendarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2298,7 +2473,7 @@ static PyObject *_wrap_CalendarNameStr_get(void) { static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxDateTime const &arg3_defvalue = wxDefaultDateTime ; @@ -2330,7 +2505,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2358,7 +2533,7 @@ static PyObject *_wrap_new_CalendarCtrl(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; } } @@ -2393,7 +2568,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreCalendarCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *result; char *kwnames[] = { NULL @@ -2416,7 +2591,7 @@ static PyObject *_wrap_new_PreCalendarCtrl(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -2451,7 +2626,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject 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) { @@ -2478,7 +2653,7 @@ static PyObject *_wrap_CalendarCtrl_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; } } @@ -2514,7 +2689,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_SetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -2549,7 +2724,7 @@ static PyObject *_wrap_CalendarCtrl_SetDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_GetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -2578,7 +2753,7 @@ static PyObject *_wrap_CalendarCtrl_GetDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_SetLowerDateLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime const &arg2_defvalue = wxDefaultDateTime ; wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ; @@ -2619,7 +2794,7 @@ static PyObject *_wrap_CalendarCtrl_SetLowerDateLimit(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_SetUpperDateLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime const &arg2_defvalue = wxDefaultDateTime ; wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ; @@ -2660,7 +2835,7 @@ static PyObject *_wrap_CalendarCtrl_SetUpperDateLimit(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_GetLowerDateLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -2689,7 +2864,7 @@ static PyObject *_wrap_CalendarCtrl_GetLowerDateLimit(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_GetUpperDateLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -2718,7 +2893,7 @@ static PyObject *_wrap_CalendarCtrl_GetUpperDateLimit(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime const &arg2_defvalue = wxDefaultDateTime ; wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ; @@ -2772,7 +2947,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyO static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -2786,7 +2961,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2805,7 +2980,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -2819,7 +2994,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2838,7 +3013,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -2852,7 +3027,7 @@ static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *a 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; } } @@ -2871,7 +3046,7 @@ static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *a static PyObject *_wrap_CalendarCtrl_SetHeaderColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -2910,7 +3085,7 @@ static PyObject *_wrap_CalendarCtrl_SetHeaderColours(PyObject *, PyObject *args, static PyObject *_wrap_CalendarCtrl_GetHeaderColourFg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2930,7 +3105,7 @@ static PyObject *_wrap_CalendarCtrl_GetHeaderColourFg(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2940,7 +3115,7 @@ static PyObject *_wrap_CalendarCtrl_GetHeaderColourFg(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_GetHeaderColourBg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2960,7 +3135,7 @@ static PyObject *_wrap_CalendarCtrl_GetHeaderColourBg(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2970,7 +3145,7 @@ static PyObject *_wrap_CalendarCtrl_GetHeaderColourBg(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_SetHighlightColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -3009,7 +3184,7 @@ static PyObject *_wrap_CalendarCtrl_SetHighlightColours(PyObject *, PyObject *ar static PyObject *_wrap_CalendarCtrl_GetHighlightColourFg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3029,7 +3204,7 @@ static PyObject *_wrap_CalendarCtrl_GetHighlightColourFg(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3039,7 +3214,7 @@ static PyObject *_wrap_CalendarCtrl_GetHighlightColourFg(PyObject *, PyObject *a static PyObject *_wrap_CalendarCtrl_GetHighlightColourBg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3059,7 +3234,7 @@ static PyObject *_wrap_CalendarCtrl_GetHighlightColourBg(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3069,7 +3244,7 @@ static PyObject *_wrap_CalendarCtrl_GetHighlightColourBg(PyObject *, PyObject *a static PyObject *_wrap_CalendarCtrl_SetHolidayColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -3108,7 +3283,7 @@ static PyObject *_wrap_CalendarCtrl_SetHolidayColours(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_GetHolidayColourFg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3128,7 +3303,7 @@ static PyObject *_wrap_CalendarCtrl_GetHolidayColourFg(PyObject *, PyObject *arg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3138,7 +3313,7 @@ static PyObject *_wrap_CalendarCtrl_GetHolidayColourFg(PyObject *, PyObject *arg static PyObject *_wrap_CalendarCtrl_GetHolidayColourBg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3158,7 +3333,7 @@ static PyObject *_wrap_CalendarCtrl_GetHolidayColourBg(PyObject *, PyObject *arg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3168,7 +3343,7 @@ static PyObject *_wrap_CalendarCtrl_GetHolidayColourBg(PyObject *, PyObject *arg static PyObject *_wrap_CalendarCtrl_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; size_t arg2 ; wxCalendarDateAttr *result; @@ -3182,7 +3357,7 @@ static PyObject *_wrap_CalendarCtrl_GetAttr(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, 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; } { @@ -3200,7 +3375,7 @@ static PyObject *_wrap_CalendarCtrl_GetAttr(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; size_t arg2 ; wxCalendarDateAttr *arg3 = (wxCalendarDateAttr *) 0 ; @@ -3215,7 +3390,7 @@ static PyObject *_wrap_CalendarCtrl_SetAttr(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0); @@ -3235,7 +3410,7 @@ static PyObject *_wrap_CalendarCtrl_SetAttr(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_SetHoliday(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -3248,7 +3423,7 @@ static PyObject *_wrap_CalendarCtrl_SetHoliday(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, 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; } { @@ -3266,7 +3441,7 @@ static PyObject *_wrap_CalendarCtrl_SetHoliday(PyObject *, PyObject *args, PyObj static PyObject *_wrap_CalendarCtrl_ResetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -3279,7 +3454,7 @@ static PyObject *_wrap_CalendarCtrl_ResetAttr(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, 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; } { @@ -3297,7 +3472,7 @@ static PyObject *_wrap_CalendarCtrl_ResetAttr(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxPoint *arg2 = 0 ; PyObject *result; @@ -3330,7 +3505,7 @@ static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_GetMonthControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -3358,7 +3533,7 @@ static PyObject *_wrap_CalendarCtrl_GetMonthControl(PyObject *, PyObject *args, static PyObject *_wrap_CalendarCtrl_GetYearControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -3386,7 +3561,7 @@ static PyObject *_wrap_CalendarCtrl_GetYearControl(PyObject *, PyObject *args, P static PyObject *_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -3397,21 +3572,21 @@ static PyObject *_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject *, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CalendarCtrl_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 = wxCalendarCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxCalendarCtrl::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; @@ -3956,59 +4131,432 @@ static void *_p_wxKeyEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxCalendarDateAttr[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0, 0, 0, 0},{"_p_wxCalendarDateAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCalendarEvent[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0, 0, 0, 0},{"_p_wxCalendarEvent", 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_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow, 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_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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__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_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_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_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxDateEvent, 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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__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_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxCalendarCtrl[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0, 0, 0, 0},{"_p_wxCalendarCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxColour, -_swigt__p_wxCalendarDateAttr, -_swigt__p_wxCalendarEvent, -_swigt__p_wxVisualAttributes, -_swigt__p_wxWindow, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxDateEvent, -_swigt__p_char, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxFont, -_swigt__p_wxDateTime, -_swigt__p_wxControl, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_wxCalendarCtrl, -_swigt__p_int, -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 *|wxEventType *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCalendarCtrl = {"_p_wxCalendarCtrl", "wxCalendarCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCalendarDateAttr = {"_p_wxCalendarDateAttr", "wxCalendarDateAttr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCalendarEvent = {"_p_wxCalendarEvent", "wxCalendarEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_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_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_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", "wxDateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_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_wxTimerEvent = {"_p_wxTimerEvent", 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_wxJoystickEvent = {"_p_wxJoystickEvent", 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_wxProcessEvent = {"_p_wxProcessEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 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_wxFileHistory = {"_p_wxFileHistory", 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_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_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_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 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_wxBMPHandler, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBusyInfo, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCalendarCtrl, + &_swigt__p_wxCalendarDateAttr, + &_swigt__p_wxCalendarEvent, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClipboard, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDateTime, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileHistory, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxJoystickEvent, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxProcessEvent, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyProcess, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTimer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxSystemOptions, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTimerEvent, + &_swigt__p_wxToolTip, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVisualAttributes, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxXPMHandler, + &_swigt__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_wxCalendarCtrl[] = { {&_swigt__p_wxCalendarCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCalendarDateAttr[] = { {&_swigt__p_wxCalendarDateAttr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCalendarEvent[] = { {&_swigt__p_wxCalendarEvent, 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_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_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_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 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_wxCalendarEvent, _p_wxCalendarEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxCalendarCtrl, _p_wxCalendarCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateEvent[] = { {&_swigt__p_wxDateEvent, 0, 0, 0}, {&_swigt__p_wxCalendarEvent, _p_wxCalendarEventTo_p_wxDateEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 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_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 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_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalendarEvent, _p_wxCalendarEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCalendarCtrl, _p_wxCalendarCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 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_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_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 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_wxClipboard[] = {{&_swigt__p_wxClipboard, 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_wxToolTip[] = {{&_swigt__p_wxToolTip, 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_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 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_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalendarCtrl, _p_wxCalendarCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalendarEvent, _p_wxCalendarEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCalendarCtrl, _p_wxCalendarCtrlTo_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_wxBMPHandler, + _swigc__p_wxBoxSizer, + _swigc__p_wxBusyInfo, + _swigc__p_wxCURHandler, + _swigc__p_wxCalendarCtrl, + _swigc__p_wxCalendarDateAttr, + _swigc__p_wxCalendarEvent, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClipboard, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDateTime, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileHistory, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxJoystickEvent, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxProcessEvent, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyProcess, + _swigc__p_wxPySizer, + _swigc__p_wxPyTimer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxSystemOptions, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTimerEvent, + _swigc__p_wxToolTip, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVisualAttributes, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -4020,6 +4568,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 @@ -4037,7 +4796,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; @@ -4047,13 +4806,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; @@ -4066,7 +4825,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -4079,7 +4838,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) { @@ -4092,72 +4851,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; } @@ -4166,11 +4942,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); @@ -4207,7 +4983,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, @@ -4219,7 +4995,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]); @@ -4232,14 +5008,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; + } + } } } } @@ -4249,69 +5029,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 @@ -4320,91 +5037,70 @@ 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,"CAL_SUNDAY_FIRST", SWIG_From_int((int)(wxCAL_SUNDAY_FIRST))); + PyDict_SetItemString(d,"CAL_SUNDAY_FIRST", SWIG_From_int(static_cast(wxCAL_SUNDAY_FIRST))); } { - PyDict_SetItemString(d,"CAL_MONDAY_FIRST", SWIG_From_int((int)(wxCAL_MONDAY_FIRST))); + PyDict_SetItemString(d,"CAL_MONDAY_FIRST", SWIG_From_int(static_cast(wxCAL_MONDAY_FIRST))); } { - PyDict_SetItemString(d,"CAL_SHOW_HOLIDAYS", SWIG_From_int((int)(wxCAL_SHOW_HOLIDAYS))); + PyDict_SetItemString(d,"CAL_SHOW_HOLIDAYS", SWIG_From_int(static_cast(wxCAL_SHOW_HOLIDAYS))); } { - PyDict_SetItemString(d,"CAL_NO_YEAR_CHANGE", SWIG_From_int((int)(wxCAL_NO_YEAR_CHANGE))); + PyDict_SetItemString(d,"CAL_NO_YEAR_CHANGE", SWIG_From_int(static_cast(wxCAL_NO_YEAR_CHANGE))); } { - PyDict_SetItemString(d,"CAL_NO_MONTH_CHANGE", SWIG_From_int((int)(wxCAL_NO_MONTH_CHANGE))); + PyDict_SetItemString(d,"CAL_NO_MONTH_CHANGE", SWIG_From_int(static_cast(wxCAL_NO_MONTH_CHANGE))); } { - PyDict_SetItemString(d,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_From_int((int)(wxCAL_SEQUENTIAL_MONTH_SELECTION))); + PyDict_SetItemString(d,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_From_int(static_cast(wxCAL_SEQUENTIAL_MONTH_SELECTION))); } { - PyDict_SetItemString(d,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_From_int((int)(wxCAL_SHOW_SURROUNDING_WEEKS))); + PyDict_SetItemString(d,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_From_int(static_cast(wxCAL_SHOW_SURROUNDING_WEEKS))); } { - PyDict_SetItemString(d,"CAL_HITTEST_NOWHERE", SWIG_From_int((int)(wxCAL_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"CAL_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxCAL_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"CAL_HITTEST_HEADER", SWIG_From_int((int)(wxCAL_HITTEST_HEADER))); + PyDict_SetItemString(d,"CAL_HITTEST_HEADER", SWIG_From_int(static_cast(wxCAL_HITTEST_HEADER))); } { - PyDict_SetItemString(d,"CAL_HITTEST_DAY", SWIG_From_int((int)(wxCAL_HITTEST_DAY))); + PyDict_SetItemString(d,"CAL_HITTEST_DAY", SWIG_From_int(static_cast(wxCAL_HITTEST_DAY))); } { - PyDict_SetItemString(d,"CAL_HITTEST_INCMONTH", SWIG_From_int((int)(wxCAL_HITTEST_INCMONTH))); + PyDict_SetItemString(d,"CAL_HITTEST_INCMONTH", SWIG_From_int(static_cast(wxCAL_HITTEST_INCMONTH))); } { - PyDict_SetItemString(d,"CAL_HITTEST_DECMONTH", SWIG_From_int((int)(wxCAL_HITTEST_DECMONTH))); + PyDict_SetItemString(d,"CAL_HITTEST_DECMONTH", SWIG_From_int(static_cast(wxCAL_HITTEST_DECMONTH))); } { - PyDict_SetItemString(d,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_From_int((int)(wxCAL_HITTEST_SURROUNDING_WEEK))); + PyDict_SetItemString(d,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_From_int(static_cast(wxCAL_HITTEST_SURROUNDING_WEEK))); } { - PyDict_SetItemString(d,"CAL_BORDER_NONE", SWIG_From_int((int)(wxCAL_BORDER_NONE))); + PyDict_SetItemString(d,"CAL_BORDER_NONE", SWIG_From_int(static_cast(wxCAL_BORDER_NONE))); } { - PyDict_SetItemString(d,"CAL_BORDER_SQUARE", SWIG_From_int((int)(wxCAL_BORDER_SQUARE))); + PyDict_SetItemString(d,"CAL_BORDER_SQUARE", SWIG_From_int(static_cast(wxCAL_BORDER_SQUARE))); } { - PyDict_SetItemString(d,"CAL_BORDER_ROUND", SWIG_From_int((int)(wxCAL_BORDER_ROUND))); + PyDict_SetItemString(d,"CAL_BORDER_ROUND", SWIG_From_int(static_cast(wxCAL_BORDER_ROUND))); } PyDict_SetItemString(d, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED)); PyDict_SetItemString(d, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED)); diff --git a/wxPython/src/gtk/grid.py b/wxPython/src/gtk/grid.py index d4f9670e86..c64631e582 100644 --- a/wxPython/src/gtk/grid.py +++ b/wxPython/src/gtk/grid.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -2436,3 +2436,4 @@ EVT_GRID_CMD_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG, + diff --git a/wxPython/src/gtk/grid_wrap.cpp b/wxPython/src/gtk/grid_wrap.cpp index bac3dc916b..8cd1d2fa7e 100644 --- a/wxPython/src/gtk/grid_wrap.cpp +++ b/wxPython/src/gtk/grid_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,69 +1431,199 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[0] -#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[1] -#define SWIGTYPE_p_wxGridCellRenderer swig_types[2] -#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[3] -#define SWIGTYPE_p_wxGridCellAttr swig_types[4] -#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[5] -#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[6] -#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[7] -#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[8] -#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[9] -#define SWIGTYPE_p_wxColour swig_types[10] -#define SWIGTYPE_p_wxDC swig_types[11] -#define SWIGTYPE_p_form_ops_t swig_types[12] -#define SWIGTYPE_p_wxDuplexMode swig_types[13] -#define SWIGTYPE_p_wxGridTableMessage swig_types[14] -#define SWIGTYPE_p_wxGrid swig_types[15] -#define SWIGTYPE_p_wxVisualAttributes swig_types[16] -#define SWIGTYPE_p_char swig_types[17] -#define SWIGTYPE_p_wxPanel swig_types[18] -#define SWIGTYPE_p_wxNotifyEvent swig_types[19] -#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[20] -#define SWIGTYPE_p_wxSize swig_types[21] -#define SWIGTYPE_p_wxGridCellCoords swig_types[22] -#define SWIGTYPE_p_wxScrolledWindow swig_types[23] -#define SWIGTYPE_p_wxWindow swig_types[24] -#define SWIGTYPE_p_wxFont swig_types[25] -#define SWIGTYPE_p_wxControl swig_types[26] -#define SWIGTYPE_p_wxEvent swig_types[27] -#define SWIGTYPE_p_wxObject swig_types[28] -#define SWIGTYPE_p_wxGridSizeEvent swig_types[29] -#define SWIGTYPE_p_wxRect swig_types[30] -#define SWIGTYPE_p_long swig_types[31] -#define SWIGTYPE_p_wxPaperSize swig_types[32] -#define SWIGTYPE_p_unsigned_int swig_types[33] -#define SWIGTYPE_unsigned_int swig_types[34] -#define SWIGTYPE_p_wxString swig_types[35] -#define SWIGTYPE_p_wxEvtHandler swig_types[36] -#define SWIGTYPE_p_wxPoint swig_types[37] -#define SWIGTYPE_p_wxGridEvent swig_types[38] -#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[39] -#define SWIGTYPE_p_wxGridTableBase swig_types[40] -#define SWIGTYPE_p_wxGridCellEditor swig_types[41] -#define SWIGTYPE_p_wxGridCellTextEditor swig_types[42] -#define SWIGTYPE_p_wxPyGridCellEditor swig_types[43] -#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[44] -#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[45] -#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[46] -#define SWIGTYPE_p_wxPyGridTableBase swig_types[47] -#define SWIGTYPE_p_wxGridStringTable swig_types[48] -#define SWIGTYPE_p_unsigned_char swig_types[49] -#define SWIGTYPE_std__ptrdiff_t swig_types[50] -#define SWIGTYPE_ptrdiff_t swig_types[51] -#define SWIGTYPE_p_wxArrayString swig_types[52] -#define SWIGTYPE_p_wxCommandEvent swig_types[53] -#define SWIGTYPE_p_int swig_types[54] -#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[55] -#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56] -#define SWIGTYPE_p_wxKeyEvent swig_types[57] -#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[58] -#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[59] -#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[60] -#define SWIGTYPE_p_unsigned_long swig_types[61] -static swig_type_info *swig_types[63]; +#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_long swig_types[3] +#define SWIGTYPE_p_unsigned_char swig_types[4] +#define SWIGTYPE_p_unsigned_int swig_types[5] +#define SWIGTYPE_p_unsigned_long swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxArrayString swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_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_wxGrid swig_types[48] +#define SWIGTYPE_p_wxGridBagSizer swig_types[49] +#define SWIGTYPE_p_wxGridCellAttr swig_types[50] +#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[51] +#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[52] +#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[53] +#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[54] +#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[55] +#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56] +#define SWIGTYPE_p_wxGridCellCoords swig_types[57] +#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[58] +#define SWIGTYPE_p_wxGridCellEditor swig_types[59] +#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[60] +#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[61] +#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[62] +#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[63] +#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[64] +#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[65] +#define SWIGTYPE_p_wxGridCellRenderer swig_types[66] +#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[67] +#define SWIGTYPE_p_wxGridCellTextEditor swig_types[68] +#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[69] +#define SWIGTYPE_p_wxGridEvent swig_types[70] +#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[71] +#define SWIGTYPE_p_wxGridSizeEvent swig_types[72] +#define SWIGTYPE_p_wxGridSizer swig_types[73] +#define SWIGTYPE_p_wxGridStringTable swig_types[74] +#define SWIGTYPE_p_wxGridTableBase swig_types[75] +#define SWIGTYPE_p_wxGridTableMessage swig_types[76] +#define SWIGTYPE_p_wxICOHandler swig_types[77] +#define SWIGTYPE_p_wxIconizeEvent swig_types[78] +#define SWIGTYPE_p_wxIdleEvent swig_types[79] +#define SWIGTYPE_p_wxImage swig_types[80] +#define SWIGTYPE_p_wxImageHandler swig_types[81] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[83] +#define SWIGTYPE_p_wxJPEGHandler swig_types[84] +#define SWIGTYPE_p_wxKeyEvent swig_types[85] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[86] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[87] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[88] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[89] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[90] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[91] +#define SWIGTYPE_p_wxMenu swig_types[92] +#define SWIGTYPE_p_wxMenuBar swig_types[93] +#define SWIGTYPE_p_wxMenuEvent swig_types[94] +#define SWIGTYPE_p_wxMenuItem swig_types[95] +#define SWIGTYPE_p_wxMessageDialog swig_types[96] +#define SWIGTYPE_p_wxMiniFrame swig_types[97] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98] +#define SWIGTYPE_p_wxMouseEvent swig_types[99] +#define SWIGTYPE_p_wxMoveEvent swig_types[100] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[101] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[103] +#define SWIGTYPE_p_wxNotifyEvent swig_types[104] +#define SWIGTYPE_p_wxObject swig_types[105] +#define SWIGTYPE_p_wxPCXHandler swig_types[106] +#define SWIGTYPE_p_wxPNGHandler swig_types[107] +#define SWIGTYPE_p_wxPNMHandler swig_types[108] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[109] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[110] +#define SWIGTYPE_p_wxPaintEvent swig_types[111] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112] +#define SWIGTYPE_p_wxPanel swig_types[113] +#define SWIGTYPE_p_wxPaperSize swig_types[114] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[115] +#define SWIGTYPE_p_wxPoint swig_types[116] +#define SWIGTYPE_p_wxPopupWindow swig_types[117] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[118] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[119] +#define SWIGTYPE_p_wxPreviewFrame swig_types[120] +#define SWIGTYPE_p_wxPrintData swig_types[121] +#define SWIGTYPE_p_wxPrintDialog swig_types[122] +#define SWIGTYPE_p_wxPrintDialogData swig_types[123] +#define SWIGTYPE_p_wxPrintPreview swig_types[124] +#define SWIGTYPE_p_wxPrinter swig_types[125] +#define SWIGTYPE_p_wxProgressDialog swig_types[126] +#define SWIGTYPE_p_wxPyApp swig_types[127] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[128] +#define SWIGTYPE_p_wxPyEvent swig_types[129] +#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[130] +#define SWIGTYPE_p_wxPyGridCellEditor swig_types[131] +#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[132] +#define SWIGTYPE_p_wxPyGridTableBase swig_types[133] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[134] +#define SWIGTYPE_p_wxPyImageHandler swig_types[135] +#define SWIGTYPE_p_wxPyPanel swig_types[136] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[137] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[138] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[139] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[140] +#define SWIGTYPE_p_wxPyPrintout swig_types[141] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[142] +#define SWIGTYPE_p_wxPySizer swig_types[143] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[144] +#define SWIGTYPE_p_wxPyVListBox swig_types[145] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[146] +#define SWIGTYPE_p_wxPyValidator swig_types[147] +#define SWIGTYPE_p_wxPyWindow swig_types[148] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[149] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[150] +#define SWIGTYPE_p_wxRect swig_types[151] +#define SWIGTYPE_p_wxSashEvent swig_types[152] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[153] +#define SWIGTYPE_p_wxSashWindow swig_types[154] +#define SWIGTYPE_p_wxScrollEvent swig_types[155] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[156] +#define SWIGTYPE_p_wxScrolledWindow swig_types[157] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[158] +#define SWIGTYPE_p_wxShowEvent swig_types[159] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160] +#define SWIGTYPE_p_wxSize swig_types[161] +#define SWIGTYPE_p_wxSizeEvent swig_types[162] +#define SWIGTYPE_p_wxSizer swig_types[163] +#define SWIGTYPE_p_wxSizerItem swig_types[164] +#define SWIGTYPE_p_wxSplashScreen swig_types[165] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[166] +#define SWIGTYPE_p_wxSplitterEvent swig_types[167] +#define SWIGTYPE_p_wxSplitterWindow swig_types[168] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[169] +#define SWIGTYPE_p_wxStatusBar swig_types[170] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[171] +#define SWIGTYPE_p_wxString swig_types[172] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[173] +#define SWIGTYPE_p_wxTIFFHandler swig_types[174] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[175] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[176] +#define SWIGTYPE_p_wxTipWindow swig_types[177] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[178] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[179] +#define SWIGTYPE_p_wxValidator swig_types[180] +#define SWIGTYPE_p_wxVisualAttributes swig_types[181] +#define SWIGTYPE_p_wxWindow swig_types[182] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[183] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184] +#define SWIGTYPE_p_wxXPMHandler swig_types[185] +#define SWIGTYPE_ptrdiff_t swig_types[186] +#define SWIGTYPE_std__ptrdiff_t swig_types[187] +#define SWIGTYPE_unsigned_int swig_types[188] +static swig_type_info *swig_types[190]; +static swig_module_info swig_module = {swig_types, 189, 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) -------- */ @@ -1870,7 +2092,7 @@ SWIG_FromCharPtr(const char* cptr) if (cptr) { size_t size = strlen(cptr); if (size > INT_MAX) { - return SWIG_NewPointerObj((char*)(cptr), + return SWIG_NewPointerObj(const_cast(cptr), SWIG_TypeQuery("char *"), 0); } else { if (size != 0) { @@ -1897,7 +2119,7 @@ SWIG_FromCharPtr(const char* cptr) #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH - /*@/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 /*@@*/ @@ -1954,7 +2176,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; @@ -1968,7 +2190,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1976,7 +2198,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -2015,7 +2237,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -2029,14 +2251,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -2317,7 +2539,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; @@ -2331,7 +2553,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -2356,17 +2578,17 @@ static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){ self->SetClientObject(new wxPyOORClientData(_self)); } - /*@/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 /*@@*/ - /*@/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 /*@@*/ -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -2380,7 +2602,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -2401,7 +2623,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -2415,7 +2637,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -2645,7 +2867,7 @@ static int _wrap_GridNoCellCoords_set(PyObject *) { static PyObject *_wrap_GridNoCellCoords_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0); return pyobj; @@ -2659,7 +2881,7 @@ static int _wrap_GridNoCellRect_set(PyObject *) { static PyObject *_wrap_GridNoCellRect_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0); return pyobj; @@ -2667,7 +2889,7 @@ static PyObject *_wrap_GridNoCellRect_get(void) { static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -2695,7 +2917,7 @@ static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *, PyObject *args, static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2736,7 +2958,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2761,7 +2983,7 @@ static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2786,7 +3008,7 @@ static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxGrid *arg2 = 0 ; wxGridCellAttr *arg3 = 0 ; @@ -2840,15 +3062,15 @@ static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObjec if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { - arg8 = (bool)(SWIG_As_bool(obj7)); + arg8 = static_cast(SWIG_As_bool(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } { @@ -2866,7 +3088,7 @@ static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxGrid *arg2 = 0 ; wxGridCellAttr *arg3 = 0 ; @@ -2912,11 +3134,11 @@ static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, 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; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -2928,7 +3150,7 @@ static PyObject *_wrap_GridCellRenderer_GetBestSize(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; @@ -2938,7 +3160,7 @@ static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, static PyObject *_wrap_GridCellRenderer_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxGridCellRenderer *result; PyObject * obj0 = 0 ; @@ -2973,7 +3195,7 @@ static PyObject * GridCellRenderer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyGridCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellRenderer *result; char *kwnames[] = { NULL @@ -2995,7 +3217,7 @@ static PyObject *_wrap_new_PyGridCellRenderer(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -3026,7 +3248,7 @@ static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *, PyObject static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3074,7 +3296,7 @@ static PyObject * PyGridCellRenderer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellStringRenderer *result; char *kwnames[] = { NULL @@ -3103,7 +3325,7 @@ static PyObject * GridCellStringRenderer_swigregister(PyObject *, PyObject *args return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellNumberRenderer *result; char *kwnames[] = { NULL @@ -3132,7 +3354,7 @@ static PyObject * GridCellNumberRenderer_swigregister(PyObject *, PyObject *args return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) -1 ; wxGridCellFloatRenderer *result; @@ -3145,13 +3367,13 @@ static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3170,7 +3392,7 @@ static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3189,7 +3411,7 @@ static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3198,7 +3420,7 @@ static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3211,7 +3433,7 @@ static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatRenderer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3229,7 +3451,7 @@ static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3248,7 +3470,7 @@ static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3257,7 +3479,7 @@ static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject * static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3270,7 +3492,7 @@ static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatRenderer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3295,7 +3517,7 @@ static PyObject * GridCellFloatRenderer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellBoolRenderer *result; char *kwnames[] = { NULL @@ -3324,7 +3546,7 @@ static PyObject * GridCellBoolRenderer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString arg1 = (wxString) wxPyDefaultDateTimeFormat ; wxString arg2 = (wxString) wxPyDefaultDateTimeFormat ; wxGridCellDateTimeRenderer *result; @@ -3373,7 +3595,7 @@ static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *, PyObject *ar return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxGridCellEnumRenderer *result; @@ -3421,7 +3643,7 @@ static PyObject * GridCellEnumRenderer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAutoWrapStringRenderer *result; char *kwnames[] = { NULL @@ -3450,7 +3672,7 @@ static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *, PyObje return Py_BuildValue((char *)""); } static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -3478,7 +3700,7 @@ static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3506,7 +3728,7 @@ static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellEditor_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -3534,7 +3756,7 @@ static PyObject *_wrap_GridCellEditor_GetControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellEditor_SetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxControl *arg2 = (wxControl *) 0 ; PyObject * obj0 = 0 ; @@ -3563,7 +3785,7 @@ static PyObject *_wrap_GridCellEditor_SetControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxGridCellAttr *result; PyObject * obj0 = 0 ; @@ -3591,7 +3813,7 @@ static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; @@ -3620,7 +3842,7 @@ static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3661,7 +3883,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args, static PyObject *_wrap_GridCellEditor_IncRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3686,7 +3908,7 @@ static PyObject *_wrap_GridCellEditor_IncRef(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellEditor_DecRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3711,7 +3933,7 @@ static PyObject *_wrap_GridCellEditor_DecRef(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -3730,7 +3952,7 @@ static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObjec 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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); @@ -3750,7 +3972,7 @@ static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; int arg2 ; int arg3 ; @@ -3767,11 +3989,11 @@ static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); @@ -3791,7 +4013,7 @@ static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; int arg2 ; int arg3 ; @@ -3809,11 +4031,11 @@ static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); @@ -3835,7 +4057,7 @@ static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellEditor_Reset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3860,7 +4082,7 @@ static PyObject *_wrap_GridCellEditor_Reset(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellEditor_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxGridCellEditor *result; PyObject * obj0 = 0 ; @@ -3888,7 +4110,7 @@ static PyObject *_wrap_GridCellEditor_Clone(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellEditor_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -3920,7 +4142,7 @@ static PyObject *_wrap_GridCellEditor_SetSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; bool arg2 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ; @@ -3935,7 +4157,7 @@ static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, 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) { @@ -3957,7 +4179,7 @@ static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxRect *arg2 = 0 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -3993,7 +4215,7 @@ static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *, PyObject *args static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; bool result; @@ -4031,7 +4253,7 @@ static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *, PyObject *args, static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4066,7 +4288,7 @@ static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4091,7 +4313,7 @@ static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *, PyObject *args, static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4126,7 +4348,7 @@ static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *, PyObject *args, P static PyObject *_wrap_GridCellEditor_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4158,7 +4380,7 @@ static PyObject * GridCellEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyGridCellEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *result; char *kwnames[] = { NULL @@ -4180,7 +4402,7 @@ static PyObject *_wrap_new_PyGridCellEditor(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -4211,7 +4433,7 @@ static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *, PyObject *a static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -4243,7 +4465,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *, PyObject *args, static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; bool arg2 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ; @@ -4258,7 +4480,7 @@ static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, 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) { @@ -4280,7 +4502,7 @@ static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *, PyObject *args, Py static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxRect *arg2 = 0 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -4316,7 +4538,7 @@ static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *, PyObjec static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; bool result; @@ -4354,7 +4576,7 @@ static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *, PyObject static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4389,7 +4611,7 @@ static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *, PyObject *a static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4414,7 +4636,7 @@ static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *, PyObject static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4449,7 +4671,7 @@ static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *, PyObject * static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4474,7 +4696,7 @@ static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *, PyObject *args, static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4522,7 +4744,7 @@ static PyObject * PyGridCellEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellTextEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellTextEditor *result; char *kwnames[] = { NULL @@ -4544,7 +4766,7 @@ static PyObject *_wrap_new_GridCellTextEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4583,7 +4805,7 @@ static PyObject * GridCellTextEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) -1 ; wxGridCellNumberEditor *result; @@ -4596,13 +4818,13 @@ static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4621,7 +4843,7 @@ static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4660,7 +4882,7 @@ static PyObject * GridCellNumberEditor_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) -1 ; wxGridCellFloatEditor *result; @@ -4673,13 +4895,13 @@ static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4698,7 +4920,7 @@ static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4737,7 +4959,7 @@ static PyObject * GridCellFloatEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellBoolEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellBoolEditor *result; char *kwnames[] = { NULL @@ -4759,7 +4981,7 @@ static PyObject *_wrap_new_GridCellBoolEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4798,7 +5020,7 @@ static PyObject * GridCellBoolEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxString *arg2 = (wxString *) NULL ; bool arg3 = (bool) false ; @@ -4819,7 +5041,7 @@ static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyOb } if (obj1) { { - arg3 = (bool)(SWIG_As_bool(obj1)); + arg3 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4844,7 +5066,7 @@ static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4883,7 +5105,7 @@ static PyObject * GridCellChoiceEditor_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxGridCellEnumEditor *result; @@ -4924,7 +5146,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4963,7 +5185,7 @@ static PyObject * GridCellEnumEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAutoWrapStringEditor *result; char *kwnames[] = { NULL @@ -4985,7 +5207,7 @@ static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -5024,7 +5246,7 @@ static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *, PyObject return Py_BuildValue((char *)""); } static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -5052,7 +5274,7 @@ static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *, PyObject *args, PyOb static PyObject *_wrap_new_GridCellAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ; wxGridCellAttr *result; PyObject * obj0 = 0 ; @@ -5082,7 +5304,7 @@ static PyObject *_wrap_new_GridCellAttr(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridCellAttr_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr *result; PyObject * obj0 = 0 ; @@ -5110,7 +5332,7 @@ static PyObject *_wrap_GridCellAttr_Clone(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; @@ -5139,7 +5361,7 @@ static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellAttr_IncRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5164,7 +5386,7 @@ static PyObject *_wrap_GridCellAttr_IncRef(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_DecRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5189,7 +5411,7 @@ static PyObject *_wrap_GridCellAttr_DecRef(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -5221,7 +5443,7 @@ static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -5253,7 +5475,7 @@ static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -5288,7 +5510,7 @@ static PyObject *_wrap_GridCellAttr_SetFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; int arg2 ; int arg3 ; @@ -5303,11 +5525,11 @@ static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -5325,7 +5547,7 @@ static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; int arg2 ; int arg3 ; @@ -5340,11 +5562,11 @@ static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -5362,7 +5584,7 @@ static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -5376,7 +5598,7 @@ static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyOb 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; } } @@ -5395,7 +5617,7 @@ static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -5409,7 +5631,7 @@ static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyOb 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; } } @@ -5428,7 +5650,7 @@ static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ; PyObject * obj0 = 0 ; @@ -5457,7 +5679,7 @@ static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; @@ -5486,7 +5708,7 @@ static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr::wxAttrKind arg2 ; PyObject * obj0 = 0 ; @@ -5499,12 +5721,12 @@ static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2); + (arg1)->SetKind(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5517,7 +5739,7 @@ static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5545,7 +5767,7 @@ static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5573,7 +5795,7 @@ static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5601,7 +5823,7 @@ static PyObject *_wrap_GridCellAttr_HasFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5629,7 +5851,7 @@ static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5657,7 +5879,7 @@ static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5685,7 +5907,7 @@ static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5713,7 +5935,7 @@ static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *, PyObject *args, static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5741,7 +5963,7 @@ static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *, PyObject *args, static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -5761,7 +5983,7 @@ static PyObject *_wrap_GridCellAttr_GetTextColour(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; @@ -5771,7 +5993,7 @@ static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -5791,7 +6013,7 @@ static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -5801,7 +6023,7 @@ static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -5821,7 +6043,7 @@ static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -5831,7 +6053,7 @@ static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -5868,7 +6090,7 @@ static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellAttr_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -5905,7 +6127,7 @@ static PyObject *_wrap_GridCellAttr_GetSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5933,7 +6155,7 @@ static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGrid *arg2 = (wxGrid *) 0 ; int arg3 ; @@ -5953,11 +6175,11 @@ static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -5977,7 +6199,7 @@ static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGrid *arg2 = (wxGrid *) 0 ; int arg3 ; @@ -5997,11 +6219,11 @@ static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -6021,7 +6243,7 @@ static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6049,7 +6271,7 @@ static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridCellAttr_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr::wxAttrKind result; PyObject * obj0 = 0 ; @@ -6075,7 +6297,7 @@ static PyObject *_wrap_GridCellAttr_GetKind(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; @@ -6111,7 +6333,7 @@ static PyObject * GridCellAttr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *result; char *kwnames[] = { NULL @@ -6135,7 +6357,7 @@ static PyObject *_wrap_new_GridCellAttrProvider(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -6163,7 +6385,7 @@ static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; int arg2 ; int arg3 ; @@ -6181,20 +6403,20 @@ static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); + result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -6209,7 +6431,7 @@ static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6228,11 +6450,11 @@ static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -6250,7 +6472,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6267,7 +6489,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -6285,7 +6507,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *arg static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6302,7 +6524,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -6320,7 +6542,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *arg static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; size_t arg2 ; int arg3 ; @@ -6335,11 +6557,11 @@ static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6357,7 +6579,7 @@ static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; size_t arg2 ; int arg3 ; @@ -6372,11 +6594,11 @@ static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6401,7 +6623,7 @@ static PyObject * GridCellAttrProvider_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *result; char *kwnames[] = { NULL @@ -6423,7 +6645,7 @@ static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *, PyObject *args, Py static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -6454,7 +6676,7 @@ static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *, PyObj static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; int arg2 ; int arg3 ; @@ -6472,20 +6694,20 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); + result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -6500,7 +6722,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *, PyObject static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6519,11 +6741,11 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *, PyObject SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -6541,7 +6763,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *, PyObject static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6558,7 +6780,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *, PyObje SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -6576,7 +6798,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *, PyObje static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6593,7 +6815,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *, PyObje SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -6618,7 +6840,7 @@ static PyObject * PyGridCellAttrProvider_swigregister(PyObject *, PyObject *args return Py_BuildValue((char *)""); } static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -6646,7 +6868,7 @@ static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ; PyObject * obj0 = 0 ; @@ -6675,7 +6897,7 @@ static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttrProvider *result; PyObject * obj0 = 0 ; @@ -6703,7 +6925,7 @@ static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_SetView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGrid *arg2 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; @@ -6732,7 +6954,7 @@ static PyObject *_wrap_GridTableBase_SetView(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridTableBase_GetView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGrid *result; PyObject * obj0 = 0 ; @@ -6760,7 +6982,7 @@ static PyObject *_wrap_GridTableBase_GetView(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6779,7 +7001,7 @@ static PyObject *_wrap_GridTableBase_GetNumberRows(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: @@ -6788,7 +7010,7 @@ static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *, PyObject *args, P static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6807,7 +7029,7 @@ static PyObject *_wrap_GridTableBase_GetNumberCols(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: @@ -6816,7 +7038,7 @@ static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *, PyObject *args, P static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -6832,11 +7054,11 @@ static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6856,7 +7078,7 @@ static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -6872,11 +7094,11 @@ static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6900,7 +7122,7 @@ static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -6918,11 +7140,11 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6953,7 +7175,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -6969,11 +7191,11 @@ static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6997,7 +7219,7 @@ static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7016,11 +7238,11 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7053,7 +7275,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, P static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7072,11 +7294,11 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7109,7 +7331,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, P static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7125,11 +7347,11 @@ static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7140,7 +7362,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7149,7 +7371,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7165,11 +7387,11 @@ static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7180,7 +7402,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7189,7 +7411,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7205,11 +7427,11 @@ static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7229,7 +7451,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7246,15 +7468,15 @@ static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -7272,7 +7494,7 @@ static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7289,15 +7511,15 @@ static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (double)(SWIG_As_double(obj3)); + arg4 = static_cast(SWIG_As_double(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -7315,7 +7537,7 @@ static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7332,15 +7554,15 @@ static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -7358,7 +7580,7 @@ static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7383,7 +7605,7 @@ static PyObject *_wrap_GridTableBase_Clear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -7400,13 +7622,13 @@ static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7427,7 +7649,7 @@ static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 1 ; bool result; @@ -7442,7 +7664,7 @@ static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -7463,7 +7685,7 @@ static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -7480,13 +7702,13 @@ static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7507,7 +7729,7 @@ static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -7524,13 +7746,13 @@ static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7551,7 +7773,7 @@ static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 1 ; bool result; @@ -7566,7 +7788,7 @@ static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -7587,7 +7809,7 @@ static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -7604,13 +7826,13 @@ static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7631,7 +7853,7 @@ static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString result; @@ -7645,7 +7867,7 @@ static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7669,7 +7891,7 @@ static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString result; @@ -7683,7 +7905,7 @@ static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7707,7 +7929,7 @@ static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -7723,7 +7945,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7754,7 +7976,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -7770,7 +7992,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7801,7 +8023,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7829,7 +8051,7 @@ static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *, PyObject *arg static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7847,20 +8069,20 @@ static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); + result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -7875,7 +8097,7 @@ static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -7894,11 +8116,11 @@ static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -7916,7 +8138,7 @@ static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -7933,7 +8155,7 @@ static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -7951,7 +8173,7 @@ static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -7968,7 +8190,7 @@ static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -7993,7 +8215,7 @@ static PyObject * GridTableBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyGridTableBase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *result; char *kwnames[] = { NULL @@ -8015,7 +8237,7 @@ static PyObject *_wrap_new_PyGridTableBase(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8046,7 +8268,7 @@ static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *, PyObject *ar static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8071,7 +8293,7 @@ static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -8087,11 +8309,11 @@ static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8115,7 +8337,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *, PyObject *ar static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -8134,11 +8356,11 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8171,7 +8393,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject * static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -8190,11 +8412,11 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8227,7 +8449,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject * static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8252,7 +8474,7 @@ static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *, PyObject *args, Py static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -8269,13 +8491,13 @@ static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8296,7 +8518,7 @@ static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 1 ; bool result; @@ -8311,7 +8533,7 @@ static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -8332,7 +8554,7 @@ static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -8349,13 +8571,13 @@ static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8376,7 +8598,7 @@ static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -8393,13 +8615,13 @@ static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8420,7 +8642,7 @@ static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 1 ; bool result; @@ -8435,7 +8657,7 @@ static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -8456,7 +8678,7 @@ static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -8473,13 +8695,13 @@ static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8500,7 +8722,7 @@ static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString result; @@ -8514,7 +8736,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8538,7 +8760,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *, PyObjec static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString result; @@ -8552,7 +8774,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8576,7 +8798,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *, PyObjec static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -8592,7 +8814,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8623,7 +8845,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObjec static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -8639,7 +8861,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8670,7 +8892,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObjec static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8698,7 +8920,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *, PyObje static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -8716,20 +8938,20 @@ static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); + result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8744,7 +8966,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *, PyObject *args, static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -8763,11 +8985,11 @@ static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -8785,7 +9007,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *, PyObject *args, static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -8802,7 +9024,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -8820,7 +9042,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -8837,7 +9059,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -8862,7 +9084,7 @@ static PyObject * PyGridTableBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridStringTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGridStringTable *result; @@ -8875,13 +9097,13 @@ static PyObject *_wrap_new_GridStringTable(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8907,7 +9129,7 @@ static PyObject * GridStringTable_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 = (int) -1 ; @@ -8925,18 +9147,18 @@ static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -8955,7 +9177,7 @@ static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8980,7 +9202,7 @@ static PyObject *_wrap_delete_GridTableMessage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; wxGridTableBase *arg2 = (wxGridTableBase *) 0 ; PyObject * obj0 = 0 ; @@ -9009,7 +9231,7 @@ static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *, PyObject *arg static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; wxGridTableBase *result; PyObject * obj0 = 0 ; @@ -9037,7 +9259,7 @@ static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *, PyObject *arg static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9050,7 +9272,7 @@ static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9068,7 +9290,7 @@ static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridTableMessage_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9087,7 +9309,7 @@ static PyObject *_wrap_GridTableMessage_GetId(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: @@ -9096,7 +9318,7 @@ static PyObject *_wrap_GridTableMessage_GetId(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9109,7 +9331,7 @@ static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9127,7 +9349,7 @@ static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9146,7 +9368,7 @@ static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9155,7 +9377,7 @@ static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9168,7 +9390,7 @@ static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9186,7 +9408,7 @@ static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *arg static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9205,7 +9427,7 @@ static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9221,7 +9443,7 @@ static PyObject * GridTableMessage_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) -1 ; wxGridCellCoords *result; @@ -9234,13 +9456,13 @@ static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -9259,7 +9481,7 @@ static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9284,7 +9506,7 @@ static PyObject *_wrap_delete_GridCellCoords(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9303,7 +9525,7 @@ static PyObject *_wrap_GridCellCoords_GetRow(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: @@ -9312,7 +9534,7 @@ static PyObject *_wrap_GridCellCoords_GetRow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9325,7 +9547,7 @@ static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9343,7 +9565,7 @@ static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9362,7 +9584,7 @@ static PyObject *_wrap_GridCellCoords_GetCol(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: @@ -9371,7 +9593,7 @@ static PyObject *_wrap_GridCellCoords_GetCol(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9384,7 +9606,7 @@ static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9402,7 +9624,7 @@ static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int arg2 ; int arg3 ; @@ -9417,11 +9639,11 @@ static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -9439,7 +9661,7 @@ static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GridCellCoords___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; wxGridCellCoords *arg2 = 0 ; bool result; @@ -9474,7 +9696,7 @@ static PyObject *_wrap_GridCellCoords___eq__(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; wxGridCellCoords *arg2 = 0 ; bool result; @@ -9509,7 +9731,7 @@ static PyObject *_wrap_GridCellCoords___ne__(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -9542,7 +9764,7 @@ static PyObject * GridCellCoords_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -9571,7 +9793,7 @@ static PyObject *_wrap_new_Grid(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; } } @@ -9589,7 +9811,7 @@ static PyObject *_wrap_new_Grid(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; } } @@ -9624,7 +9846,7 @@ static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_PreGrid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *result; char *kwnames[] = { NULL @@ -9647,7 +9869,7 @@ static PyObject *_wrap_new_PreGrid(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -9680,7 +9902,7 @@ static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -9698,7 +9920,7 @@ static PyObject *_wrap_Grid_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; } } @@ -9734,7 +9956,7 @@ static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -9752,16 +9974,16 @@ static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (WXGRIDSELECTIONMODES)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9782,7 +10004,7 @@ static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; WXGRIDSELECTIONMODES arg2 ; PyObject * obj0 = 0 ; @@ -9795,7 +10017,7 @@ static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (WXGRIDSELECTIONMODES)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9813,7 +10035,7 @@ static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; WXGRIDSELECTIONMODES result; PyObject * obj0 = 0 ; @@ -9832,7 +10054,7 @@ static PyObject *_wrap_Grid_GetSelectionMode(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: @@ -9841,7 +10063,7 @@ static PyObject *_wrap_Grid_GetSelectionMode(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9860,7 +10082,7 @@ static PyObject *_wrap_Grid_GetNumberRows(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: @@ -9869,7 +10091,7 @@ static PyObject *_wrap_Grid_GetNumberRows(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9888,7 +10110,7 @@ static PyObject *_wrap_Grid_GetNumberCols(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: @@ -9897,7 +10119,7 @@ static PyObject *_wrap_Grid_GetNumberCols(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridTableMessage *arg2 = 0 ; bool result; @@ -9935,7 +10157,7 @@ static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_GetTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridTableBase *result; PyObject * obj0 = 0 ; @@ -9963,7 +10185,7 @@ static PyObject *_wrap_Grid_GetTable(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridTableBase *arg2 = (wxGridTableBase *) 0 ; bool arg3 = (bool) false ; @@ -9984,13 +10206,13 @@ static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwarg 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; } } if (obj3) { { - arg4 = (WXGRIDSELECTIONMODES)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10011,7 +10233,7 @@ static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_ClearGrid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10036,7 +10258,7 @@ static PyObject *_wrap_Grid_ClearGrid(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; @@ -10055,19 +10277,19 @@ static PyObject *_wrap_Grid_InsertRows(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; } } 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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10088,7 +10310,7 @@ static PyObject *_wrap_Grid_InsertRows(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 1 ; bool arg3 = (bool) true ; @@ -10105,13 +10327,13 @@ static PyObject *_wrap_Grid_AppendRows(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; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10132,7 +10354,7 @@ static PyObject *_wrap_Grid_AppendRows(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; @@ -10151,19 +10373,19 @@ static PyObject *_wrap_Grid_DeleteRows(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; } } 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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10184,7 +10406,7 @@ static PyObject *_wrap_Grid_DeleteRows(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; @@ -10203,19 +10425,19 @@ static PyObject *_wrap_Grid_InsertCols(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; } } 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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10236,7 +10458,7 @@ static PyObject *_wrap_Grid_InsertCols(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 1 ; bool arg3 = (bool) true ; @@ -10253,13 +10475,13 @@ static PyObject *_wrap_Grid_AppendCols(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; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10280,7 +10502,7 @@ static PyObject *_wrap_Grid_AppendCols(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; @@ -10299,19 +10521,19 @@ static PyObject *_wrap_Grid_DeleteCols(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; } } 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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10332,7 +10554,7 @@ static PyObject *_wrap_Grid_DeleteCols(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxDC *arg2 = 0 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -10371,7 +10593,7 @@ static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxDC *arg2 = 0 ; wxString *arg3 = 0 ; @@ -10414,19 +10636,19 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -10453,7 +10675,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxDC *arg2 = 0 ; wxArrayString *arg3 = 0 ; @@ -10526,7 +10748,7 @@ static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_BeginBatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10551,7 +10773,7 @@ static PyObject *_wrap_Grid_BeginBatch(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_EndBatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10576,7 +10798,7 @@ static PyObject *_wrap_Grid_EndBatch(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_GetBatchCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10595,7 +10817,7 @@ static PyObject *_wrap_Grid_GetBatchCount(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: @@ -10604,7 +10826,7 @@ static PyObject *_wrap_Grid_GetBatchCount(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_ForceRefresh(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10629,7 +10851,7 @@ static PyObject *_wrap_Grid_ForceRefresh(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10657,7 +10879,7 @@ static PyObject *_wrap_Grid_IsEditable(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -10670,7 +10892,7 @@ static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -10688,7 +10910,7 @@ static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -10702,7 +10924,7 @@ static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, Py 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; } } @@ -10721,7 +10943,7 @@ static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, Py static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10746,7 +10968,7 @@ static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10774,7 +10996,7 @@ static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10802,7 +11024,7 @@ static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *, PyObject *args, static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10830,7 +11052,7 @@ static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10858,7 +11080,7 @@ static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *, PyObject *args, Py static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10883,7 +11105,7 @@ static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_HideCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10908,7 +11130,7 @@ static PyObject *_wrap_Grid_HideCellEditControl(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10933,7 +11155,7 @@ static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -10949,11 +11171,11 @@ static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -10965,7 +11187,7 @@ static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwarg } { wxGridCellCoords * resultptr; - resultptr = new wxGridCellCoords((wxGridCellCoords &)(result)); + resultptr = new wxGridCellCoords(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1); } return resultobj; @@ -10975,7 +11197,7 @@ static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -10989,7 +11211,7 @@ static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11000,7 +11222,7 @@ static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11009,7 +11231,7 @@ static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -11023,7 +11245,7 @@ static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11034,7 +11256,7 @@ static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11043,7 +11265,7 @@ static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -11057,7 +11279,7 @@ static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11068,7 +11290,7 @@ static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11077,7 +11299,7 @@ static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -11091,7 +11313,7 @@ static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11102,7 +11324,7 @@ static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11111,7 +11333,7 @@ static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -11127,11 +11349,11 @@ static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11143,7 +11365,7 @@ static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwa } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -11153,7 +11375,7 @@ static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11172,7 +11394,7 @@ static PyObject *_wrap_Grid_GetGridCursorRow(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: @@ -11181,7 +11403,7 @@ static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11200,7 +11422,7 @@ static PyObject *_wrap_Grid_GetGridCursorCol(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: @@ -11209,7 +11431,7 @@ static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -11227,16 +11449,16 @@ static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -11257,7 +11479,7 @@ static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -11272,11 +11494,11 @@ static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11294,7 +11516,7 @@ static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -11309,11 +11531,11 @@ static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11331,7 +11553,7 @@ static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11345,7 +11567,7 @@ static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11365,7 +11587,7 @@ static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11379,7 +11601,7 @@ static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11399,7 +11621,7 @@ static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11413,7 +11635,7 @@ static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11433,7 +11655,7 @@ static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11447,7 +11669,7 @@ static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11467,7 +11689,7 @@ static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_MovePageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11495,7 +11717,7 @@ static PyObject *_wrap_Grid_MovePageDown(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_MovePageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11523,7 +11745,7 @@ static PyObject *_wrap_Grid_MovePageUp(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11537,7 +11759,7 @@ static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11557,7 +11779,7 @@ static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11571,7 +11793,7 @@ static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11591,7 +11813,7 @@ static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11605,7 +11827,7 @@ static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11625,7 +11847,7 @@ static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11639,7 +11861,7 @@ static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11659,7 +11881,7 @@ static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11678,7 +11900,7 @@ static PyObject *_wrap_Grid_GetDefaultRowLabelSize(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: @@ -11687,7 +11909,7 @@ static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11706,7 +11928,7 @@ static PyObject *_wrap_Grid_GetRowLabelSize(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: @@ -11715,7 +11937,7 @@ static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11734,7 +11956,7 @@ static PyObject *_wrap_Grid_GetDefaultColLabelSize(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: @@ -11743,7 +11965,7 @@ static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11762,7 +11984,7 @@ static PyObject *_wrap_Grid_GetColLabelSize(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: @@ -11771,7 +11993,7 @@ static PyObject *_wrap_Grid_GetColLabelSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -11791,7 +12013,7 @@ static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -11801,7 +12023,7 @@ static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -11821,7 +12043,7 @@ static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObj } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -11831,7 +12053,7 @@ static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -11851,7 +12073,7 @@ static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *k } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -11861,7 +12083,7 @@ static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -11898,7 +12120,7 @@ static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -11935,7 +12157,7 @@ static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11954,7 +12176,7 @@ static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11963,7 +12185,7 @@ static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *arg static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString result; @@ -11977,7 +12199,7 @@ static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12001,7 +12223,7 @@ static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString result; @@ -12015,7 +12237,7 @@ static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12039,7 +12261,7 @@ static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -12059,7 +12281,7 @@ static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -12069,7 +12291,7 @@ static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -12089,7 +12311,7 @@ static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, P } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -12099,7 +12321,7 @@ static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12118,7 +12340,7 @@ static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12127,7 +12349,7 @@ static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12146,7 +12368,7 @@ static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12155,7 +12377,7 @@ static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *arg static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12168,7 +12390,7 @@ static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12186,7 +12408,7 @@ static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12199,7 +12421,7 @@ static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12217,7 +12439,7 @@ static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12249,7 +12471,7 @@ static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12281,7 +12503,7 @@ static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -12316,7 +12538,7 @@ static PyObject *_wrap_Grid_SetLabelFont(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -12331,11 +12553,11 @@ static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12353,7 +12575,7 @@ static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -12368,11 +12590,11 @@ static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12390,7 +12612,7 @@ static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12403,7 +12625,7 @@ static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12421,7 +12643,7 @@ static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *arg static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -12437,7 +12659,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12468,7 +12690,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -12484,7 +12706,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12515,7 +12737,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12547,7 +12769,7 @@ static PyObject *_wrap_Grid_SetGridLineColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12579,7 +12801,7 @@ static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12592,7 +12814,7 @@ static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12610,7 +12832,7 @@ static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12623,7 +12845,7 @@ static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12641,7 +12863,7 @@ static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *arg static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12655,7 +12877,7 @@ static PyObject *_wrap_Grid_EnableDragRowSize(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; } } @@ -12674,7 +12896,7 @@ static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12699,7 +12921,7 @@ static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_CanDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12727,7 +12949,7 @@ static PyObject *_wrap_Grid_CanDragRowSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12741,7 +12963,7 @@ static PyObject *_wrap_Grid_EnableDragColSize(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; } } @@ -12760,7 +12982,7 @@ static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_DisableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12785,7 +13007,7 @@ static PyObject *_wrap_Grid_DisableDragColSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_CanDragColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12813,7 +13035,7 @@ static PyObject *_wrap_Grid_CanDragColSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12827,7 +13049,7 @@ static PyObject *_wrap_Grid_EnableDragGridSize(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; } } @@ -12846,7 +13068,7 @@ static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12871,7 +13093,7 @@ static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_CanDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12899,7 +13121,7 @@ static PyObject *_wrap_Grid_CanDragGridSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12913,7 +13135,7 @@ static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject 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; } } @@ -12932,7 +13154,7 @@ static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_DisableDragCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12957,7 +13179,7 @@ static PyObject *_wrap_Grid_DisableDragCell(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_CanDragCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12985,7 +13207,7 @@ static PyObject *_wrap_Grid_CanDragCell(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13002,11 +13224,11 @@ static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); @@ -13026,7 +13248,7 @@ static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -13041,7 +13263,7 @@ static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); @@ -13061,7 +13283,7 @@ static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -13076,7 +13298,7 @@ static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); @@ -13096,7 +13318,7 @@ static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13112,11 +13334,11 @@ static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13136,7 +13358,7 @@ static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13149,7 +13371,7 @@ static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13167,7 +13389,7 @@ static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13180,7 +13402,7 @@ static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13198,7 +13420,7 @@ static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 = (int) -1 ; @@ -13215,18 +13437,18 @@ static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13245,7 +13467,7 @@ static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -13261,7 +13483,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13292,7 +13514,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -13306,7 +13528,7 @@ static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject 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; } } @@ -13325,7 +13547,7 @@ static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13353,7 +13575,7 @@ static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13372,7 +13594,7 @@ static PyObject *_wrap_Grid_GetDefaultRowSize(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: @@ -13381,7 +13603,7 @@ static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -13395,7 +13617,7 @@ static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13406,7 +13628,7 @@ static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13415,7 +13637,7 @@ static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13434,7 +13656,7 @@ static PyObject *_wrap_Grid_GetDefaultColSize(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: @@ -13443,7 +13665,7 @@ static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -13457,7 +13679,7 @@ static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13468,7 +13690,7 @@ static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13477,7 +13699,7 @@ static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -13497,7 +13719,7 @@ static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, 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; @@ -13507,7 +13729,7 @@ static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, PyObject static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13523,11 +13745,11 @@ static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13539,7 +13761,7 @@ static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -13549,7 +13771,7 @@ static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -13569,7 +13791,7 @@ static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -13579,7 +13801,7 @@ static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13595,11 +13817,11 @@ static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13611,7 +13833,7 @@ static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -13621,7 +13843,7 @@ static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -13641,7 +13863,7 @@ static PyObject *_wrap_Grid_GetDefaultCellFont(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; @@ -13651,7 +13873,7 @@ static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13667,11 +13889,11 @@ static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13683,7 +13905,7 @@ static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kw } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -13693,7 +13915,7 @@ static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -13730,7 +13952,7 @@ static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13753,11 +13975,11 @@ static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13779,7 +14001,7 @@ static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13807,7 +14029,7 @@ static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13823,11 +14045,11 @@ static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13847,7 +14069,7 @@ static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13870,11 +14092,11 @@ static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13896,7 +14118,7 @@ static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -13911,12 +14133,12 @@ static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -13935,7 +14157,7 @@ static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13950,11 +14172,11 @@ static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13972,7 +14194,7 @@ static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -13987,12 +14209,12 @@ static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14011,7 +14233,7 @@ static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14026,11 +14248,11 @@ static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14048,7 +14270,7 @@ static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -14063,12 +14285,12 @@ static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14087,7 +14309,7 @@ static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -14102,12 +14324,12 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14126,7 +14348,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -14140,7 +14362,7 @@ static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject 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; } } @@ -14159,7 +14381,7 @@ static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -14173,7 +14395,7 @@ static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *k 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; } } @@ -14192,7 +14414,7 @@ static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_AutoSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14217,7 +14439,7 @@ static PyObject *_wrap_Grid_AutoSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14230,7 +14452,7 @@ static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14248,7 +14470,7 @@ static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14261,7 +14483,7 @@ static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14279,7 +14501,7 @@ static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14294,11 +14516,11 @@ static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14316,7 +14538,7 @@ static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14331,11 +14553,11 @@ static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14353,7 +14575,7 @@ static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14366,7 +14588,7 @@ static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14384,7 +14606,7 @@ static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *a static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14397,7 +14619,7 @@ static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14415,7 +14637,7 @@ static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject * static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14434,7 +14656,7 @@ static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14443,7 +14665,7 @@ static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *a static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14462,7 +14684,7 @@ static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14471,7 +14693,7 @@ static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject * static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -14503,7 +14725,7 @@ static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *, PyObject static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14521,11 +14743,11 @@ static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14547,7 +14769,7 @@ static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -14579,7 +14801,7 @@ static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14597,11 +14819,11 @@ static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14623,7 +14845,7 @@ static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14658,7 +14880,7 @@ static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14675,11 +14897,11 @@ static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14705,7 +14927,7 @@ static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14720,11 +14942,11 @@ static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14742,7 +14964,7 @@ static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14761,19 +14983,19 @@ static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14791,7 +15013,7 @@ static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -14804,7 +15026,7 @@ static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -14822,7 +15044,7 @@ static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14839,15 +15061,15 @@ static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -14865,7 +15087,7 @@ static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14884,19 +15106,19 @@ static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14914,7 +15136,7 @@ static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ; PyObject * obj0 = 0 ; @@ -14943,7 +15165,7 @@ static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14960,11 +15182,11 @@ static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0); @@ -14984,7 +15206,7 @@ static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellRenderer *result; PyObject * obj0 = 0 ; @@ -15012,7 +15234,7 @@ static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15028,11 +15250,11 @@ static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15052,7 +15274,7 @@ static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; @@ -15081,7 +15303,7 @@ static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15098,11 +15320,11 @@ static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0); @@ -15122,7 +15344,7 @@ static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellEditor *result; PyObject * obj0 = 0 ; @@ -15150,7 +15372,7 @@ static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15166,11 +15388,11 @@ static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15190,7 +15412,7 @@ static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15206,11 +15428,11 @@ static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15234,7 +15456,7 @@ static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15252,11 +15474,11 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15287,7 +15509,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15303,11 +15525,11 @@ static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15327,7 +15549,7 @@ static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15344,16 +15566,16 @@ static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -15372,7 +15594,7 @@ static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -15387,12 +15609,12 @@ static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -15411,7 +15633,7 @@ static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -15426,12 +15648,12 @@ static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -15450,7 +15672,7 @@ static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15471,24 +15693,24 @@ static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -15507,7 +15729,7 @@ static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15532,7 +15754,7 @@ static PyObject *_wrap_Grid_SelectAll(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15560,7 +15782,7 @@ static PyObject *_wrap_Grid_IsSelection(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_ClearSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15585,7 +15807,7 @@ static PyObject *_wrap_Grid_ClearSelection(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15601,11 +15823,11 @@ static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15625,7 +15847,7 @@ static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetSelectedCells(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellCoordsArray result; PyObject * obj0 = 0 ; @@ -15653,7 +15875,7 @@ static PyObject *_wrap_Grid_GetSelectedCells(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellCoordsArray result; PyObject * obj0 = 0 ; @@ -15681,7 +15903,7 @@ static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellCoordsArray result; PyObject * obj0 = 0 ; @@ -15709,7 +15931,7 @@ static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *, PyObject *a static PyObject *_wrap_Grid_GetSelectedRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxArrayInt result; PyObject * obj0 = 0 ; @@ -15743,7 +15965,7 @@ static PyObject *_wrap_Grid_GetSelectedRows(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetSelectedCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxArrayInt result; PyObject * obj0 = 0 ; @@ -15777,7 +15999,7 @@ static PyObject *_wrap_Grid_GetSelectedCols(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15790,7 +16012,7 @@ static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15808,7 +16030,7 @@ static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15821,7 +16043,7 @@ static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15839,7 +16061,7 @@ static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15854,11 +16076,11 @@ static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15876,7 +16098,7 @@ static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellCoords *arg2 = 0 ; wxGridCellCoords *arg3 = 0 ; @@ -15910,7 +16132,7 @@ static PyObject *_wrap_Grid_BlockToDeviceRect(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; @@ -15920,7 +16142,7 @@ static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -15940,7 +16162,7 @@ static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, P } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -15950,7 +16172,7 @@ static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -15970,7 +16192,7 @@ static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, P } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -15980,7 +16202,7 @@ static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -16012,7 +16234,7 @@ static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -16044,7 +16266,7 @@ static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ; @@ -16093,7 +16315,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -16109,11 +16331,11 @@ static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16133,7 +16355,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -16149,11 +16371,11 @@ static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16173,7 +16395,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellEditor *result; @@ -16217,7 +16439,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellRenderer *result; @@ -16261,7 +16483,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -16276,11 +16498,11 @@ static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16298,7 +16520,7 @@ static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetGridWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16326,7 +16548,7 @@ static PyObject *_wrap_Grid_GetGridWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16354,7 +16576,7 @@ static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *, PyObject *args, Py static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16382,7 +16604,7 @@ static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *, PyObject *args, Py static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16410,7 +16632,7 @@ static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetScrollLineX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16423,7 +16645,7 @@ static PyObject *_wrap_Grid_SetScrollLineX(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16441,7 +16663,7 @@ static PyObject *_wrap_Grid_SetScrollLineX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetScrollLineY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16454,7 +16676,7 @@ static PyObject *_wrap_Grid_SetScrollLineY(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16472,7 +16694,7 @@ static PyObject *_wrap_Grid_SetScrollLineY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetScrollLineX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16491,7 +16713,7 @@ static PyObject *_wrap_Grid_GetScrollLineX(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: @@ -16500,7 +16722,7 @@ static PyObject *_wrap_Grid_GetScrollLineX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetScrollLineY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16519,7 +16741,7 @@ static PyObject *_wrap_Grid_GetScrollLineY(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: @@ -16528,7 +16750,7 @@ static PyObject *_wrap_Grid_GetScrollLineY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -16542,7 +16764,7 @@ static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16553,7 +16775,7 @@ static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16562,7 +16784,7 @@ static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -16576,7 +16798,7 @@ static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16587,7 +16809,7 @@ static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16596,7 +16818,7 @@ static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -16607,21 +16829,21 @@ static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_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 = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxGrid::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; @@ -16638,7 +16860,7 @@ static PyObject * Grid_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxEventType arg2 ; wxGrid *arg3 = (wxGrid *) 0 ; @@ -16670,66 +16892,66 @@ static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(3)) SWIG_fail; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (bool)(SWIG_As_bool(obj7)); + arg8 = static_cast(SWIG_As_bool(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (bool)(SWIG_As_bool(obj8)); + arg9 = static_cast(SWIG_As_bool(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (bool)(SWIG_As_bool(obj9)); + arg10 = static_cast(SWIG_As_bool(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } if (obj10) { { - arg11 = (bool)(SWIG_As_bool(obj10)); + arg11 = static_cast(SWIG_As_bool(obj10)); if (SWIG_arg_fail(11)) SWIG_fail; } } if (obj11) { { - arg12 = (bool)(SWIG_As_bool(obj11)); + arg12 = static_cast(SWIG_As_bool(obj11)); if (SWIG_arg_fail(12)) SWIG_fail; } } @@ -16748,7 +16970,7 @@ static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GridEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16767,7 +16989,7 @@ static PyObject *_wrap_GridEvent_GetRow(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: @@ -16776,7 +16998,7 @@ static PyObject *_wrap_GridEvent_GetRow(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16795,7 +17017,7 @@ static PyObject *_wrap_GridEvent_GetCol(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: @@ -16804,7 +17026,7 @@ static PyObject *_wrap_GridEvent_GetCol(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -16824,7 +17046,7 @@ static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -16834,7 +17056,7 @@ static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16862,7 +17084,7 @@ static PyObject *_wrap_GridEvent_Selecting(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16890,7 +17112,7 @@ static PyObject *_wrap_GridEvent_ControlDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16918,7 +17140,7 @@ static PyObject *_wrap_GridEvent_MetaDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GridEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16946,7 +17168,7 @@ static PyObject *_wrap_GridEvent_ShiftDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16981,7 +17203,7 @@ static PyObject * GridEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxEventType arg2 ; wxGrid *arg3 = (wxGrid *) 0 ; @@ -17009,54 +17231,54 @@ static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(3)) SWIG_fail; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(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; } } if (obj8) { { - arg9 = (bool)(SWIG_As_bool(obj8)); + arg9 = static_cast(SWIG_As_bool(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (bool)(SWIG_As_bool(obj9)); + arg10 = static_cast(SWIG_As_bool(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -17075,7 +17297,7 @@ static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17094,7 +17316,7 @@ static PyObject *_wrap_GridSizeEvent_GetRowOrCol(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: @@ -17103,7 +17325,7 @@ static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -17123,7 +17345,7 @@ static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyO } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -17133,7 +17355,7 @@ static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17161,7 +17383,7 @@ static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17189,7 +17411,7 @@ static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17217,7 +17439,7 @@ static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17252,7 +17474,7 @@ static PyObject * GridSizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxEventType arg2 ; wxGrid *arg3 = (wxGrid *) 0 ; @@ -17282,11 +17504,11 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); @@ -17301,31 +17523,31 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyOb } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (bool)(SWIG_As_bool(obj7)); + arg8 = static_cast(SWIG_As_bool(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (bool)(SWIG_As_bool(obj8)); + arg9 = static_cast(SWIG_As_bool(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (bool)(SWIG_As_bool(obj9)); + arg10 = static_cast(SWIG_As_bool(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -17344,7 +17566,7 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; wxGridCellCoords result; PyObject * obj0 = 0 ; @@ -17364,7 +17586,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObjec } { wxGridCellCoords * resultptr; - resultptr = new wxGridCellCoords((wxGridCellCoords &)(result)); + resultptr = new wxGridCellCoords(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1); } return resultobj; @@ -17374,7 +17596,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObjec static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; wxGridCellCoords result; PyObject * obj0 = 0 ; @@ -17394,7 +17616,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyO } { wxGridCellCoords * resultptr; - resultptr = new wxGridCellCoords((wxGridCellCoords &)(result)); + resultptr = new wxGridCellCoords(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1); } return resultobj; @@ -17404,7 +17626,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyO static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17423,7 +17645,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17432,7 +17654,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17451,7 +17673,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17460,7 +17682,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *a static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17479,7 +17701,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17488,7 +17710,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *arg static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17507,7 +17729,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17516,7 +17738,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *ar static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17544,7 +17766,7 @@ static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *, PyObject *args static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17572,7 +17794,7 @@ static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *, PyObject *ar static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17600,7 +17822,7 @@ static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *, PyObject *args, static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17628,7 +17850,7 @@ static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *, PyObject *args static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17663,7 +17885,7 @@ static PyObject * GridRangeSelectEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxEventType arg2 ; wxObject *arg3 = (wxObject *) 0 ; @@ -17683,21 +17905,21 @@ static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); 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; } SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0); @@ -17717,7 +17939,7 @@ static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, Py static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17736,7 +17958,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17745,7 +17967,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17764,7 +17986,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17773,7 +17995,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -17801,7 +18023,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *, PyObject *a static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17814,7 +18036,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17832,7 +18054,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17845,7 +18067,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17863,7 +18085,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; wxControl *arg2 = (wxControl *) 0 ; PyObject * obj0 = 0 ; @@ -19405,133 +19627,768 @@ static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) { static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) { return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x)); } -static swig_type_info _swigt__p_wxGridCellNumberRenderer[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyGridCellRenderer[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellRenderer[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0, 0, 0, 0},{"_p_wxGridCellRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellStringRenderer[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellAttr[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0, 0, 0, 0},{"_p_wxGridCellAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellFloatRenderer[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellBoolRenderer[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellDateTimeRenderer[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellEnumRenderer[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", 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_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_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_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_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 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_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_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel, 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_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_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_wxGridRangeSelectEvent[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", 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_wxGridCellCoords[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0, 0, 0, 0},{"_p_wxGridCellCoords", 0, 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_wxGrid", _p_wxGridTo_p_wxScrolledWindow, 0, 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_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_wxGrid", _p_wxGridTo_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_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_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_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_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_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_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_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_wxGridSizeEvent", _p_wxGridSizeEventTo_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_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_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_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_wxGridStringTable", _p_wxGridStringTableTo_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_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_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_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxGrid", _p_wxGridTo_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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_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_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxTipWindow", _p_wxTipWindowTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_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_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_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_wxGridSizeEvent[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", 0, 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_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_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_wxGrid", _p_wxGridTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_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_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_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_wxGridEvent[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0, 0, 0, 0},{"_p_wxGridEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridEditorCreatedEvent[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridTableBase[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellEditor[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0, 0, 0, 0},{"_p_wxGridCellEditor", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellTextEditor[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0, 0, 0, 0},{"_p_wxGridCellTextEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyGridCellEditor[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0, 0, 0, 0},{"_p_wxPyGridCellEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellNumberEditor[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellFloatEditor[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellBoolEditor[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyGridTableBase[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0, 0, 0, 0},{"_p_wxPyGridTableBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridStringTable[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0, 0, 0, 0},{"_p_wxGridStringTable", 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__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__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__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 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_wxGridCellAttrProvider[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellChoiceEditor[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellEnumEditor[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyGridCellAttrProvider[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxGridCellNumberRenderer, -_swigt__p_wxPyGridCellRenderer, -_swigt__p_wxGridCellRenderer, -_swigt__p_wxGridCellStringRenderer, -_swigt__p_wxGridCellAttr, -_swigt__p_wxGridCellFloatRenderer, -_swigt__p_wxGridCellBoolRenderer, -_swigt__p_wxGridCellDateTimeRenderer, -_swigt__p_wxGridCellEnumRenderer, -_swigt__p_wxGridCellAutoWrapStringRenderer, -_swigt__p_wxColour, -_swigt__p_wxDC, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxGridTableMessage, -_swigt__p_wxGrid, -_swigt__p_wxVisualAttributes, -_swigt__p_char, -_swigt__p_wxPanel, -_swigt__p_wxNotifyEvent, -_swigt__p_wxGridRangeSelectEvent, -_swigt__p_wxSize, -_swigt__p_wxGridCellCoords, -_swigt__p_wxScrolledWindow, -_swigt__p_wxWindow, -_swigt__p_wxFont, -_swigt__p_wxControl, -_swigt__p_wxEvent, -_swigt__p_wxObject, -_swigt__p_wxGridSizeEvent, -_swigt__p_wxRect, -_swigt__p_long, -_swigt__p_wxPaperSize, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxString, -_swigt__p_wxEvtHandler, -_swigt__p_wxPoint, -_swigt__p_wxGridEvent, -_swigt__p_wxGridEditorCreatedEvent, -_swigt__p_wxGridTableBase, -_swigt__p_wxGridCellEditor, -_swigt__p_wxGridCellTextEditor, -_swigt__p_wxPyGridCellEditor, -_swigt__p_wxGridCellNumberEditor, -_swigt__p_wxGridCellFloatEditor, -_swigt__p_wxGridCellBoolEditor, -_swigt__p_wxPyGridTableBase, -_swigt__p_wxGridStringTable, -_swigt__p_unsigned_char, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxArrayString, -_swigt__p_wxCommandEvent, -_swigt__p_int, -_swigt__p_wxGridCellAttrProvider, -_swigt__p_wxGridCellChoiceEditor, -_swigt__p_wxKeyEvent, -_swigt__p_wxGridCellEnumEditor, -_swigt__p_wxGridCellAutoWrapStringEditor, -_swigt__p_wxPyGridCellAttrProvider, -_swigt__p_unsigned_long, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 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_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 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_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGrid = {"_p_wxGrid", "wxGrid *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellAttr = {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellAttrProvider = {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor = {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer = {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellBoolEditor = {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellBoolRenderer = {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellChoiceEditor = {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellCoords = {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellDateTimeRenderer = {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellEditor = {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellEnumEditor = {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellEnumRenderer = {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellFloatEditor = {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellFloatRenderer = {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellNumberEditor = {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellNumberRenderer = {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellRenderer = {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellStringRenderer = {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellTextEditor = {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridEditorCreatedEvent = {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridEvent = {"_p_wxGridEvent", "wxGridEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridRangeSelectEvent = {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizeEvent = {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridStringTable = {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridTableBase = {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridTableMessage = {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 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_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 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_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 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_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 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_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyGridCellAttrProvider = {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyGridCellEditor = {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyGridCellRenderer = {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyGridTableBase = {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 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_long, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_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_wxGrid, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridCellAttr, + &_swigt__p_wxGridCellAttrProvider, + &_swigt__p_wxGridCellAutoWrapStringEditor, + &_swigt__p_wxGridCellAutoWrapStringRenderer, + &_swigt__p_wxGridCellBoolEditor, + &_swigt__p_wxGridCellBoolRenderer, + &_swigt__p_wxGridCellChoiceEditor, + &_swigt__p_wxGridCellCoords, + &_swigt__p_wxGridCellDateTimeRenderer, + &_swigt__p_wxGridCellEditor, + &_swigt__p_wxGridCellEnumEditor, + &_swigt__p_wxGridCellEnumRenderer, + &_swigt__p_wxGridCellFloatEditor, + &_swigt__p_wxGridCellFloatRenderer, + &_swigt__p_wxGridCellNumberEditor, + &_swigt__p_wxGridCellNumberRenderer, + &_swigt__p_wxGridCellRenderer, + &_swigt__p_wxGridCellStringRenderer, + &_swigt__p_wxGridCellTextEditor, + &_swigt__p_wxGridEditorCreatedEvent, + &_swigt__p_wxGridEvent, + &_swigt__p_wxGridRangeSelectEvent, + &_swigt__p_wxGridSizeEvent, + &_swigt__p_wxGridSizer, + &_swigt__p_wxGridStringTable, + &_swigt__p_wxGridTableBase, + &_swigt__p_wxGridTableMessage, + &_swigt__p_wxICOHandler, + &_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_wxPyGridCellAttrProvider, + &_swigt__p_wxPyGridCellEditor, + &_swigt__p_wxPyGridCellRenderer, + &_swigt__p_wxPyGridTableBase, + &_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_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_wxTaskBarIconEvent, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTipWindow, + &_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_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 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_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 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_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 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_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent, _p_wxGridRangeSelectEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxGridSizeEvent, _p_wxGridSizeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxGridEvent, _p_wxGridEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent, _p_wxGridEditorCreatedEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 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_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 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_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 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_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 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_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_wxGridRangeSelectEvent, _p_wxGridRangeSelectEventTo_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_wxGridSizeEvent, _p_wxGridSizeEventTo_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_wxGridEditorCreatedEvent, _p_wxGridEditorCreatedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxGridEvent, _p_wxGridEventTo_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_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 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_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 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_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 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_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 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_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 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_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 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_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 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_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 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_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 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_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 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_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 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_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 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_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 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_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 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_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 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_wxFrame[] = {{&_swigt__p_wxFrame, 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_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 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_wxDialog[] = {{&_swigt__p_wxDialog, 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_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 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_wxGrid, _p_wxGridTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGrid[] = { {&_swigt__p_wxGrid, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellAttr[] = { {&_swigt__p_wxGridCellAttr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellAttrProvider[] = { {&_swigt__p_wxGridCellAttrProvider, 0, 0, 0}, {&_swigt__p_wxPyGridCellAttrProvider, _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellBoolEditor[] = { {&_swigt__p_wxGridCellBoolEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellBoolRenderer[] = { {&_swigt__p_wxGridCellBoolRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellChoiceEditor[] = { {&_swigt__p_wxGridCellChoiceEditor, 0, 0, 0}, {&_swigt__p_wxGridCellEnumEditor, _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellCoords[] = { {&_swigt__p_wxGridCellCoords, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer[] = { {&_swigt__p_wxGridCellDateTimeRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellEditor[] = { {&_swigt__p_wxGridCellEditor, 0, 0, 0}, {&_swigt__p_wxPyGridCellEditor, _p_wxPyGridCellEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellTextEditor, _p_wxGridCellTextEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellNumberEditor, _p_wxGridCellNumberEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellFloatEditor, _p_wxGridCellFloatEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellBoolEditor, _p_wxGridCellBoolEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellChoiceEditor, _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellEnumEditor, _p_wxGridCellEnumEditorTo_p_wxGridCellEditor, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellEnumEditor[] = { {&_swigt__p_wxGridCellEnumEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellEnumRenderer[] = { {&_swigt__p_wxGridCellEnumRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellFloatEditor[] = { {&_swigt__p_wxGridCellFloatEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellFloatRenderer[] = { {&_swigt__p_wxGridCellFloatRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellNumberEditor[] = { {&_swigt__p_wxGridCellNumberEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellNumberRenderer[] = { {&_swigt__p_wxGridCellNumberRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellRenderer[] = { {&_swigt__p_wxGridCellRenderer, 0, 0, 0}, {&_swigt__p_wxPyGridCellRenderer, _p_wxPyGridCellRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellStringRenderer, _p_wxGridCellStringRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer, _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer, _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer, _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer, _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellBoolRenderer, _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellStringRenderer[] = { {&_swigt__p_wxGridCellStringRenderer, 0, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer, _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer, _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer, _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer, _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellTextEditor[] = { {&_swigt__p_wxGridCellTextEditor, 0, 0, 0}, {&_swigt__p_wxGridCellNumberEditor, _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor, 0, 0}, {&_swigt__p_wxGridCellFloatEditor, _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridEditorCreatedEvent[] = { {&_swigt__p_wxGridEditorCreatedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridEvent[] = { {&_swigt__p_wxGridEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridRangeSelectEvent[] = { {&_swigt__p_wxGridRangeSelectEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridSizeEvent[] = { {&_swigt__p_wxGridSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridStringTable[] = { {&_swigt__p_wxGridStringTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridTableBase[] = { {&_swigt__p_wxGridStringTable, _p_wxGridStringTableTo_p_wxGridTableBase, 0, 0}, {&_swigt__p_wxGridTableBase, 0, 0, 0}, {&_swigt__p_wxPyGridTableBase, _p_wxPyGridTableBaseTo_p_wxGridTableBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridTableMessage[] = { {&_swigt__p_wxGridTableMessage, 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_wxNotifyEvent[] = { {&_swigt__p_wxGridSizeEvent, _p_wxGridSizeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent, _p_wxGridRangeSelectEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxGridEvent, _p_wxGridEventTo_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_wxFontData[] = {{&_swigt__p_wxFontData, 0, 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_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_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 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_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 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_wxColourData[] = {{&_swigt__p_wxColourData, 0, 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_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 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_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 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_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 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_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 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_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 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_wxGridStringTable, _p_wxGridStringTableTo_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_wxGridEditorCreatedEvent, _p_wxGridEditorCreatedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridEvent, _p_wxGridEventTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizeEvent, _p_wxGridSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent, _p_wxGridRangeSelectEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxGrid, _p_wxGridTo_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_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_wxGridTableBase, _p_wxGridTableBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyGridTableBase, _p_wxPyGridTableBaseTo_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_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_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_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxGrid, _p_wxGridTo_p_wxPanel, 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_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyGridCellAttrProvider[] = { {&_swigt__p_wxPyGridCellAttrProvider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyGridCellEditor[] = { {&_swigt__p_wxPyGridCellEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyGridCellRenderer[] = { {&_swigt__p_wxPyGridCellRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyGridTableBase[] = { {&_swigt__p_wxPyGridTableBase, 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_wxScrolledWindow[] = { {&_swigt__p_wxGrid, _p_wxGridTo_p_wxScrolledWindow, 0, 0}, {&_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_wxSize[] = { {&_swigt__p_wxSize, 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_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_wxGrid, _p_wxGridTo_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_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_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_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_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_long, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _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_wxGrid, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridCellAttr, + _swigc__p_wxGridCellAttrProvider, + _swigc__p_wxGridCellAutoWrapStringEditor, + _swigc__p_wxGridCellAutoWrapStringRenderer, + _swigc__p_wxGridCellBoolEditor, + _swigc__p_wxGridCellBoolRenderer, + _swigc__p_wxGridCellChoiceEditor, + _swigc__p_wxGridCellCoords, + _swigc__p_wxGridCellDateTimeRenderer, + _swigc__p_wxGridCellEditor, + _swigc__p_wxGridCellEnumEditor, + _swigc__p_wxGridCellEnumRenderer, + _swigc__p_wxGridCellFloatEditor, + _swigc__p_wxGridCellFloatRenderer, + _swigc__p_wxGridCellNumberEditor, + _swigc__p_wxGridCellNumberRenderer, + _swigc__p_wxGridCellRenderer, + _swigc__p_wxGridCellStringRenderer, + _swigc__p_wxGridCellTextEditor, + _swigc__p_wxGridEditorCreatedEvent, + _swigc__p_wxGridEvent, + _swigc__p_wxGridRangeSelectEvent, + _swigc__p_wxGridSizeEvent, + _swigc__p_wxGridSizer, + _swigc__p_wxGridStringTable, + _swigc__p_wxGridTableBase, + _swigc__p_wxGridTableMessage, + _swigc__p_wxICOHandler, + _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_wxPyGridCellAttrProvider, + _swigc__p_wxPyGridCellEditor, + _swigc__p_wxPyGridCellRenderer, + _swigc__p_wxPyGridTableBase, + _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_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_wxTaskBarIconEvent, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTipWindow, + _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, }; @@ -19552,6 +20409,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 @@ -19569,7 +20637,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; @@ -19579,13 +20647,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; @@ -19598,7 +20666,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -19611,7 +20679,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) { @@ -19624,72 +20692,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; } @@ -19698,11 +20783,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); @@ -19739,7 +20824,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, @@ -19751,7 +20836,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]); @@ -19764,14 +20849,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; + } + } } } } @@ -19781,69 +20870,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 @@ -19852,42 +20878,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,"GRID_VALUE_STRING", SWIG_FromCharPtr("string")); @@ -19903,85 +20908,85 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set); SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set); { - PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_ROWS))); + PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int(static_cast(wxGRID_DEFAULT_NUMBER_ROWS))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_COLS))); + PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int(static_cast(wxGRID_DEFAULT_NUMBER_COLS))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_HEIGHT))); + PyDict_SetItemString(d,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int(static_cast(wxGRID_DEFAULT_ROW_HEIGHT))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_COL_WIDTH))); + PyDict_SetItemString(d,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int(static_cast(wxGRID_DEFAULT_COL_WIDTH))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_COL_LABEL_HEIGHT))); + PyDict_SetItemString(d,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int(static_cast(wxGRID_DEFAULT_COL_LABEL_HEIGHT))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_LABEL_WIDTH))); + PyDict_SetItemString(d,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int(static_cast(wxGRID_DEFAULT_ROW_LABEL_WIDTH))); } { - PyDict_SetItemString(d,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)(wxGRID_LABEL_EDGE_ZONE))); + PyDict_SetItemString(d,"GRID_LABEL_EDGE_ZONE", SWIG_From_int(static_cast(wxGRID_LABEL_EDGE_ZONE))); } { - PyDict_SetItemString(d,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_MIN_ROW_HEIGHT))); + PyDict_SetItemString(d,"GRID_MIN_ROW_HEIGHT", SWIG_From_int(static_cast(wxGRID_MIN_ROW_HEIGHT))); } { - PyDict_SetItemString(d,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)(wxGRID_MIN_COL_WIDTH))); + PyDict_SetItemString(d,"GRID_MIN_COL_WIDTH", SWIG_From_int(static_cast(wxGRID_MIN_COL_WIDTH))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_SCROLLBAR_WIDTH))); + PyDict_SetItemString(d,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int(static_cast(wxGRID_DEFAULT_SCROLLBAR_WIDTH))); } { - PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_From_int((int)(wxGridCellAttr::Any))); + PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_From_int(static_cast(wxGridCellAttr::Any))); } { - PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_From_int((int)(wxGridCellAttr::Default))); + PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_From_int(static_cast(wxGridCellAttr::Default))); } { - PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_From_int((int)(wxGridCellAttr::Cell))); + PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_From_int(static_cast(wxGridCellAttr::Cell))); } { - PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_From_int((int)(wxGridCellAttr::Row))); + PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_From_int(static_cast(wxGridCellAttr::Row))); } { - PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_From_int((int)(wxGridCellAttr::Col))); + PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_From_int(static_cast(wxGridCellAttr::Col))); } { - PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_From_int((int)(wxGridCellAttr::Merged))); + PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_From_int(static_cast(wxGridCellAttr::Merged))); } { - PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES))); + PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int(static_cast(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES))); } { - PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES))); + PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int(static_cast(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_INSERTED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_ROWS_INSERTED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_APPENDED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_ROWS_APPENDED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_DELETED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_ROWS_DELETED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_INSERTED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_COLS_INSERTED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_APPENDED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_COLS_APPENDED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_DELETED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_COLS_DELETED))); } { - PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_From_int((int)(wxGrid::wxGridSelectCells))); + PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_From_int(static_cast(wxGrid::wxGridSelectCells))); } { - PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_From_int((int)(wxGrid::wxGridSelectRows))); + PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_From_int(static_cast(wxGrid::wxGridSelectRows))); } { - PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_From_int((int)(wxGrid::wxGridSelectColumns))); + PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_From_int(static_cast(wxGrid::wxGridSelectColumns))); } PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK)); PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK)); diff --git a/wxPython/src/gtk/html.py b/wxPython/src/gtk/html.py index a03919b44a..48ae5a0f97 100644 --- a/wxPython/src/gtk/html.py +++ b/wxPython/src/gtk/html.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -2074,3 +2074,4 @@ class HtmlModalHelpPtr(HtmlModalHelp): _html.HtmlModalHelp_swigregister(HtmlModalHelpPtr) + diff --git a/wxPython/src/gtk/html_wrap.cpp b/wxPython/src/gtk/html_wrap.cpp index 4e8f835f63..7b15be6697 100644 --- a/wxPython/src/gtk/html_wrap.cpp +++ b/wxPython/src/gtk/html_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,85 +1431,208 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[0] -#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[1] -#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[2] -#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[3] -#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[4] -#define SWIGTYPE_p_wxTreeCtrl swig_types[5] -#define SWIGTYPE_p_wxHtmlFontCell swig_types[6] -#define SWIGTYPE_p_wxHtmlTag swig_types[7] -#define SWIGTYPE_p_wxPrintData swig_types[8] -#define SWIGTYPE_p_wxEvent swig_types[9] -#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[10] -#define SWIGTYPE_p_wxConfigBase swig_types[11] -#define SWIGTYPE_p_bool swig_types[12] -#define SWIGTYPE_p_wxHtmlCell swig_types[13] -#define SWIGTYPE_p_wxHtmlRenderingState swig_types[14] -#define SWIGTYPE_p_wxFont swig_types[15] -#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[16] -#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[17] -#define SWIGTYPE_ptrdiff_t swig_types[18] -#define SWIGTYPE_std__ptrdiff_t 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_wxHtmlColourCell swig_types[23] -#define SWIGTYPE_p_wxHtmlHelpData swig_types[24] -#define SWIGTYPE_p_wxVisualAttributes swig_types[25] -#define SWIGTYPE_p_wxHelpSearchMode swig_types[26] -#define SWIGTYPE_p_wxHtmlModalHelp swig_types[27] -#define SWIGTYPE_p_wxNotifyEvent swig_types[28] -#define SWIGTYPE_p_form_ops_t swig_types[29] -#define SWIGTYPE_p_wxHtmlWindowEvent swig_types[30] -#define SWIGTYPE_p_wxHtmlFilter swig_types[31] -#define SWIGTYPE_p_wxPyHtmlFilter swig_types[32] -#define SWIGTYPE_p_wxDuplexMode swig_types[33] -#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[34] -#define SWIGTYPE_p_wxEvtHandler swig_types[35] -#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[36] -#define SWIGTYPE_p_wxHtmlTagHandler swig_types[37] -#define SWIGTYPE_p_wxHtmlSelection swig_types[38] -#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[39] -#define SWIGTYPE_p_char swig_types[40] -#define SWIGTYPE_p_wxFrame swig_types[41] -#define SWIGTYPE_p_wxHtmlPrintout swig_types[42] -#define SWIGTYPE_p_wxPyPrintout swig_types[43] -#define SWIGTYPE_p_wxHtmlBookRecord swig_types[44] -#define SWIGTYPE_p_wxPaperSize swig_types[45] -#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[46] -#define SWIGTYPE_p_wxHtmlContainerCell swig_types[47] -#define SWIGTYPE_p_wxPoint swig_types[48] -#define SWIGTYPE_p_wxCursor swig_types[49] -#define SWIGTYPE_p_wxObject swig_types[50] -#define SWIGTYPE_p_unsigned_long swig_types[51] -#define SWIGTYPE_p_wxSplitterWindow swig_types[52] -#define SWIGTYPE_p_wxHtmlWindow swig_types[53] -#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[54] -#define SWIGTYPE_p_wxPyHtmlWindow swig_types[55] -#define SWIGTYPE_p_wxWindow swig_types[56] -#define SWIGTYPE_p_wxScrolledWindow swig_types[57] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[58] -#define SWIGTYPE_p_wxString swig_types[59] -#define SWIGTYPE_p_wxDialog swig_types[60] -#define SWIGTYPE_p_wxPanel swig_types[61] -#define SWIGTYPE_p_wxHtmlWinParser swig_types[62] -#define SWIGTYPE_p_wxHtmlParser swig_types[63] -#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[64] -#define SWIGTYPE_p_wxFileSystem swig_types[65] -#define SWIGTYPE_p_wxHelpControllerBase swig_types[66] -#define SWIGTYPE_p_wxBitmap swig_types[67] -#define SWIGTYPE_unsigned_int swig_types[68] -#define SWIGTYPE_p_unsigned_int swig_types[69] -#define SWIGTYPE_p_wxHtmlWordCell swig_types[70] -#define SWIGTYPE_p_unsigned_char swig_types[71] -#define SWIGTYPE_p_wxMouseEvent swig_types[72] -#define SWIGTYPE_p_wxCommandEvent swig_types[73] -#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[74] -#define SWIGTYPE_p_wxHtmlHelpController swig_types[75] -#define SWIGTYPE_p_wxColour swig_types[76] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[77] -static swig_type_info *swig_types[79]; +#define SWIGTYPE_p_bool swig_types[0] +#define SWIGTYPE_p_char swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_unsigned_char swig_types[4] +#define SWIGTYPE_p_unsigned_int swig_types[5] +#define SWIGTYPE_p_unsigned_long swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_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_wxConfigBase swig_types[21] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[22] +#define SWIGTYPE_p_wxControl swig_types[23] +#define SWIGTYPE_p_wxControlWithItems swig_types[24] +#define SWIGTYPE_p_wxCursor swig_types[25] +#define SWIGTYPE_p_wxDC swig_types[26] +#define SWIGTYPE_p_wxDateEvent swig_types[27] +#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28] +#define SWIGTYPE_p_wxDialog swig_types[29] +#define SWIGTYPE_p_wxDirDialog swig_types[30] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[32] +#define SWIGTYPE_p_wxDuplexMode swig_types[33] +#define SWIGTYPE_p_wxEraseEvent swig_types[34] +#define SWIGTYPE_p_wxEvent swig_types[35] +#define SWIGTYPE_p_wxEvtHandler swig_types[36] +#define SWIGTYPE_p_wxFSFile swig_types[37] +#define SWIGTYPE_p_wxFileDialog swig_types[38] +#define SWIGTYPE_p_wxFileSystem swig_types[39] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[40] +#define SWIGTYPE_p_wxFindReplaceData swig_types[41] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[42] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[43] +#define SWIGTYPE_p_wxFocusEvent swig_types[44] +#define SWIGTYPE_p_wxFont swig_types[45] +#define SWIGTYPE_p_wxFontData swig_types[46] +#define SWIGTYPE_p_wxFontDialog swig_types[47] +#define SWIGTYPE_p_wxFrame swig_types[48] +#define SWIGTYPE_p_wxGBSizerItem swig_types[49] +#define SWIGTYPE_p_wxGIFHandler swig_types[50] +#define SWIGTYPE_p_wxGridBagSizer swig_types[51] +#define SWIGTYPE_p_wxGridSizer swig_types[52] +#define SWIGTYPE_p_wxHelpControllerBase swig_types[53] +#define SWIGTYPE_p_wxHelpSearchMode swig_types[54] +#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55] +#define SWIGTYPE_p_wxHtmlBookRecord swig_types[56] +#define SWIGTYPE_p_wxHtmlCell swig_types[57] +#define SWIGTYPE_p_wxHtmlColourCell swig_types[58] +#define SWIGTYPE_p_wxHtmlContainerCell swig_types[59] +#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60] +#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61] +#define SWIGTYPE_p_wxHtmlFilter swig_types[62] +#define SWIGTYPE_p_wxHtmlFontCell swig_types[63] +#define SWIGTYPE_p_wxHtmlHelpController swig_types[64] +#define SWIGTYPE_p_wxHtmlHelpData swig_types[65] +#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66] +#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67] +#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68] +#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69] +#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70] +#define SWIGTYPE_p_wxHtmlModalHelp swig_types[71] +#define SWIGTYPE_p_wxHtmlParser swig_types[72] +#define SWIGTYPE_p_wxHtmlPrintout swig_types[73] +#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74] +#define SWIGTYPE_p_wxHtmlRenderingState swig_types[75] +#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76] +#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77] +#define SWIGTYPE_p_wxHtmlSelection swig_types[78] +#define SWIGTYPE_p_wxHtmlTag swig_types[79] +#define SWIGTYPE_p_wxHtmlTagHandler swig_types[80] +#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81] +#define SWIGTYPE_p_wxHtmlWinParser swig_types[82] +#define SWIGTYPE_p_wxHtmlWindow swig_types[83] +#define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84] +#define SWIGTYPE_p_wxHtmlWordCell swig_types[85] +#define SWIGTYPE_p_wxICOHandler swig_types[86] +#define SWIGTYPE_p_wxIconizeEvent swig_types[87] +#define SWIGTYPE_p_wxIdleEvent swig_types[88] +#define SWIGTYPE_p_wxImage swig_types[89] +#define SWIGTYPE_p_wxImageHandler swig_types[90] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[92] +#define SWIGTYPE_p_wxJPEGHandler swig_types[93] +#define SWIGTYPE_p_wxKeyEvent swig_types[94] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[95] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[96] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[97] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[98] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[99] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[100] +#define SWIGTYPE_p_wxMenu swig_types[101] +#define SWIGTYPE_p_wxMenuBar swig_types[102] +#define SWIGTYPE_p_wxMenuEvent swig_types[103] +#define SWIGTYPE_p_wxMenuItem swig_types[104] +#define SWIGTYPE_p_wxMessageDialog swig_types[105] +#define SWIGTYPE_p_wxMiniFrame swig_types[106] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[107] +#define SWIGTYPE_p_wxMouseEvent swig_types[108] +#define SWIGTYPE_p_wxMoveEvent swig_types[109] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[110] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[111] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[112] +#define SWIGTYPE_p_wxNotifyEvent swig_types[113] +#define SWIGTYPE_p_wxObject swig_types[114] +#define SWIGTYPE_p_wxPCXHandler swig_types[115] +#define SWIGTYPE_p_wxPNGHandler swig_types[116] +#define SWIGTYPE_p_wxPNMHandler swig_types[117] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[118] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[119] +#define SWIGTYPE_p_wxPaintEvent swig_types[120] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121] +#define SWIGTYPE_p_wxPanel swig_types[122] +#define SWIGTYPE_p_wxPaperSize swig_types[123] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124] +#define SWIGTYPE_p_wxPoint swig_types[125] +#define SWIGTYPE_p_wxPopupWindow swig_types[126] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[127] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[128] +#define SWIGTYPE_p_wxPreviewFrame swig_types[129] +#define SWIGTYPE_p_wxPrintData swig_types[130] +#define SWIGTYPE_p_wxPrintDialog swig_types[131] +#define SWIGTYPE_p_wxPrintDialogData swig_types[132] +#define SWIGTYPE_p_wxPrintPreview swig_types[133] +#define SWIGTYPE_p_wxPrinter swig_types[134] +#define SWIGTYPE_p_wxProgressDialog swig_types[135] +#define SWIGTYPE_p_wxPyApp swig_types[136] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[137] +#define SWIGTYPE_p_wxPyEvent swig_types[138] +#define SWIGTYPE_p_wxPyHtmlFilter swig_types[139] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[140] +#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[141] +#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[142] +#define SWIGTYPE_p_wxPyHtmlWindow swig_types[143] +#define SWIGTYPE_p_wxPyImageHandler swig_types[144] +#define SWIGTYPE_p_wxPyPanel swig_types[145] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[146] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[147] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[148] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[149] +#define SWIGTYPE_p_wxPyPrintout swig_types[150] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[151] +#define SWIGTYPE_p_wxPySizer swig_types[152] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[153] +#define SWIGTYPE_p_wxPyVListBox swig_types[154] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[155] +#define SWIGTYPE_p_wxPyValidator swig_types[156] +#define SWIGTYPE_p_wxPyWindow swig_types[157] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[158] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[159] +#define SWIGTYPE_p_wxSashEvent swig_types[160] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[161] +#define SWIGTYPE_p_wxSashWindow swig_types[162] +#define SWIGTYPE_p_wxScrollEvent swig_types[163] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[164] +#define SWIGTYPE_p_wxScrolledWindow swig_types[165] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[166] +#define SWIGTYPE_p_wxShowEvent swig_types[167] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[168] +#define SWIGTYPE_p_wxSize swig_types[169] +#define SWIGTYPE_p_wxSizeEvent swig_types[170] +#define SWIGTYPE_p_wxSizer swig_types[171] +#define SWIGTYPE_p_wxSizerItem swig_types[172] +#define SWIGTYPE_p_wxSplashScreen swig_types[173] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[174] +#define SWIGTYPE_p_wxSplitterEvent swig_types[175] +#define SWIGTYPE_p_wxSplitterWindow swig_types[176] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[177] +#define SWIGTYPE_p_wxStatusBar swig_types[178] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[179] +#define SWIGTYPE_p_wxString swig_types[180] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[181] +#define SWIGTYPE_p_wxTIFFHandler swig_types[182] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[184] +#define SWIGTYPE_p_wxTipWindow swig_types[185] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[186] +#define SWIGTYPE_p_wxTreeCtrl swig_types[187] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[188] +#define SWIGTYPE_p_wxValidator swig_types[189] +#define SWIGTYPE_p_wxVisualAttributes swig_types[190] +#define SWIGTYPE_p_wxWindow swig_types[191] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[192] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[193] +#define SWIGTYPE_p_wxXPMHandler swig_types[194] +#define SWIGTYPE_ptrdiff_t swig_types[195] +#define SWIGTYPE_std__ptrdiff_t swig_types[196] +#define SWIGTYPE_unsigned_int swig_types[197] +static swig_type_info *swig_types[199]; +static swig_module_info swig_module = {swig_types, 198, 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) -------- */ @@ -1447,7 +1662,7 @@ static swig_type_info *swig_types[79]; static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); - /*@/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 /*@@*/ @@ -1500,7 +1715,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; @@ -1514,7 +1729,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1522,7 +1737,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1536,7 +1751,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1551,7 +1766,7 @@ static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face, } class wxPyHtmlTagHandler : public wxHtmlTagHandler { - DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); + DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler) public: wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; @@ -1571,7 +1786,7 @@ IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { - DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); + DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler) public: wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; @@ -1650,7 +1865,7 @@ private: } -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_bool(bool value) { PyObject *obj = value ? Py_True : Py_False; @@ -1712,7 +1927,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1726,14 +1941,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1771,7 +1986,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -1783,7 +1998,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -1791,7 +2006,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -1805,40 +2020,40 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ -SWIGINTERNSHORT 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)); } #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif // here's the C++ version class wxPyHtmlFilter : public wxHtmlFilter { - DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); + DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter) public: wxPyHtmlFilter() : wxHtmlFilter() {} @@ -1884,7 +2099,7 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); class wxPyHtmlWindow : public wxHtmlWindow { - DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); + DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow) public: wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, @@ -2040,7 +2255,7 @@ SWIGINTERN int double v; if (SWIG_AsVal_double(obj, &v)) { if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { - if (val) *val = (float)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2055,7 +2270,7 @@ SWIGINTERN int } -SWIGINTERNSHORT float +SWIGINTERNINLINE float SWIG_As_float(PyObject* obj) { float v; @@ -2069,7 +2284,7 @@ SWIG_As_float(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_float(PyObject* obj) { return SWIG_AsVal_float(obj, (float*)0); @@ -2083,7 +2298,7 @@ static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal delete [] temp; } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -2097,7 +2312,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -2113,7 +2328,7 @@ static int _wrap_HtmlWindowNameStr_set(PyObject *) { static PyObject *_wrap_HtmlWindowNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2133,7 +2348,7 @@ static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) { static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2153,7 +2368,7 @@ static int _wrap_HtmlPrintingTitleStr_set(PyObject *) { static PyObject *_wrap_HtmlPrintingTitleStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2167,7 +2382,7 @@ static PyObject *_wrap_HtmlPrintingTitleStr_get(void) { static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -2224,7 +2439,7 @@ static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2256,7 +2471,7 @@ static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2288,7 +2503,7 @@ static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxMouseEvent *result; PyObject * obj0 = 0 ; @@ -2316,7 +2531,7 @@ static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -2342,7 +2557,7 @@ static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; PyObject * obj0 = 0 ; @@ -2371,7 +2586,7 @@ static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; PyObject * obj0 = 0 ; @@ -2407,7 +2622,7 @@ static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2439,7 +2654,7 @@ static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2483,7 +2698,7 @@ static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) false ; @@ -2506,7 +2721,7 @@ static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -2539,7 +2754,7 @@ static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2571,7 +2786,7 @@ static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2599,7 +2814,7 @@ static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2618,7 +2833,7 @@ static PyObject *_wrap_HtmlTag_GetBeginPos(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: @@ -2627,7 +2842,7 @@ static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2646,7 +2861,7 @@ static PyObject *_wrap_HtmlTag_GetEndPos1(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: @@ -2655,7 +2870,7 @@ static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2674,7 +2889,7 @@ static PyObject *_wrap_HtmlTag_GetEndPos2(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: @@ -2690,7 +2905,7 @@ static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxFileSystem *arg2 = (wxFileSystem *) 0 ; PyObject * obj0 = 0 ; @@ -2719,7 +2934,7 @@ static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxFileSystem *result; PyObject * obj0 = 0 ; @@ -2747,7 +2962,7 @@ static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *arg2 = 0 ; wxObject *result; @@ -2791,7 +3006,7 @@ static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2832,7 +3047,7 @@ static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2857,7 +3072,7 @@ static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; int arg2 ; int arg3 ; @@ -2872,11 +3087,11 @@ static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2894,7 +3109,7 @@ static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2919,7 +3134,7 @@ static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; PyObject * obj0 = 0 ; @@ -2948,7 +3163,7 @@ static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -2980,7 +3195,7 @@ static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; wxString arg3 ; @@ -3017,7 +3232,7 @@ static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3049,7 +3264,7 @@ static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; wxHtmlWinParser *result; PyObject * obj0 = 0 ; @@ -3077,7 +3292,7 @@ static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxDC *arg2 = (wxDC *) 0 ; PyObject * obj0 = 0 ; @@ -3106,7 +3321,7 @@ static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxDC *result; PyObject * obj0 = 0 ; @@ -3134,7 +3349,7 @@ static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3153,7 +3368,7 @@ static PyObject *_wrap_HtmlWinParser_GetCharHeight(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: @@ -3162,7 +3377,7 @@ static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3181,7 +3396,7 @@ static PyObject *_wrap_HtmlWinParser_GetCharWidth(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: @@ -3190,7 +3405,7 @@ static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxPyHtmlWindow *result; PyObject * obj0 = 0 ; @@ -3218,7 +3433,7 @@ static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxString arg2 ; wxString arg3 ; @@ -3264,7 +3479,7 @@ static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3286,7 +3501,7 @@ static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args 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; } } @@ -3335,7 +3550,7 @@ static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -3361,7 +3576,7 @@ static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -3387,7 +3602,7 @@ static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; wxHtmlContainerCell *result; @@ -3417,7 +3632,7 @@ static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -3443,7 +3658,7 @@ static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3462,7 +3677,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontSize(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: @@ -3471,7 +3686,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3484,7 +3699,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3502,7 +3717,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3521,7 +3736,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontBold(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: @@ -3530,7 +3745,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3543,7 +3758,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3561,7 +3776,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3580,7 +3795,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontItalic(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: @@ -3589,7 +3804,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3602,7 +3817,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3620,7 +3835,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3639,7 +3854,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3648,7 +3863,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *arg static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3661,7 +3876,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3679,7 +3894,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *arg static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3698,7 +3913,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontFixed(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: @@ -3707,7 +3922,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3720,7 +3935,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3738,7 +3953,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3757,7 +3972,7 @@ static PyObject *_wrap_HtmlWinParser_GetAlign(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: @@ -3766,7 +3981,7 @@ static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3779,7 +3994,7 @@ static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3797,7 +4012,7 @@ static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3817,7 +4032,7 @@ static PyObject *_wrap_HtmlWinParser_GetLinkColor(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; @@ -3827,7 +4042,7 @@ static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -3859,7 +4074,7 @@ static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3879,7 +4094,7 @@ static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3889,7 +4104,7 @@ static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -3921,7 +4136,7 @@ static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3962,7 +4177,7 @@ static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -3988,7 +4203,7 @@ static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *arg static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -4008,7 +4223,7 @@ static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObjec } { wxHtmlLinkInfo * resultptr; - resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result)); + resultptr = new wxHtmlLinkInfo(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1); } return resultobj; @@ -4025,7 +4240,7 @@ static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *result; char *kwnames[] = { NULL @@ -4047,7 +4262,7 @@ static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -4078,7 +4293,7 @@ static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; @@ -4107,7 +4322,7 @@ static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; wxHtmlParser *result; PyObject * obj0 = 0 ; @@ -4133,7 +4348,7 @@ static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; wxHtmlTag *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4175,7 +4390,7 @@ static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *result; char *kwnames[] = { NULL @@ -4197,7 +4412,7 @@ static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -4228,7 +4443,7 @@ static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject * static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; @@ -4257,7 +4472,7 @@ static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; wxHtmlWinParser *result; PyObject * obj0 = 0 ; @@ -4283,7 +4498,7 @@ static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; wxHtmlTag *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4325,7 +4540,7 @@ static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4349,7 +4564,7 @@ static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, P static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *result; char *kwnames[] = { NULL @@ -4371,7 +4586,7 @@ static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4396,7 +4611,7 @@ static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *arg2 = 0 ; wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; @@ -4443,7 +4658,7 @@ static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; @@ -4476,7 +4691,7 @@ static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -4502,7 +4717,7 @@ static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -4528,7 +4743,7 @@ static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -4557,7 +4772,7 @@ static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -4586,7 +4801,7 @@ static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -4615,7 +4830,7 @@ static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -4644,7 +4859,7 @@ static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -4676,7 +4891,7 @@ static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -4708,7 +4923,7 @@ static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4733,7 +4948,7 @@ static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4752,7 +4967,7 @@ static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_bool((bool)(result)); + resultobj = SWIG_From_bool(static_cast(result)); } return resultobj; fail: @@ -4768,7 +4983,7 @@ static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *result; char *kwnames[] = { NULL @@ -4790,7 +5005,7 @@ static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObje static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4815,7 +5030,7 @@ static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxHtmlSelectionState arg2 ; PyObject * obj0 = 0 ; @@ -4828,12 +5043,12 @@ static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); + (arg1)->SetSelectionState(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4846,7 +5061,7 @@ static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxHtmlSelectionState result; PyObject * obj0 = 0 ; @@ -4872,7 +5087,7 @@ static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -4904,7 +5119,7 @@ static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -4933,7 +5148,7 @@ static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -4965,7 +5180,7 @@ static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -5001,7 +5216,7 @@ static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; wxColour *arg2 = 0 ; wxColour result; @@ -5028,7 +5243,7 @@ static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyOb } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -5038,7 +5253,7 @@ static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyOb static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; wxColour *arg2 = 0 ; wxColour result; @@ -5065,7 +5280,7 @@ static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, 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; @@ -5082,7 +5297,7 @@ static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; wxColour *arg2 = 0 ; wxColour result; @@ -5109,7 +5324,7 @@ static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(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; @@ -5119,7 +5334,7 @@ static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; wxColour *arg2 = 0 ; wxColour result; @@ -5146,7 +5361,7 @@ static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -5163,7 +5378,7 @@ static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *a return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *result; char *kwnames[] = { NULL @@ -5185,7 +5400,7 @@ static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5210,7 +5425,7 @@ static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; PyObject * obj0 = 0 ; @@ -5239,7 +5454,7 @@ static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlSelection *result; PyObject * obj0 = 0 ; @@ -5265,7 +5480,7 @@ static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; PyObject * obj0 = 0 ; @@ -5294,7 +5509,7 @@ static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlRenderingStyle *result; PyObject * obj0 = 0 ; @@ -5323,7 +5538,7 @@ static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlRenderingState *result; PyObject * obj0 = 0 ; @@ -5359,7 +5574,7 @@ static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *result; char *kwnames[] = { NULL @@ -5381,7 +5596,7 @@ static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5400,7 +5615,7 @@ static PyObject *_wrap_HtmlCell_GetPosX(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: @@ -5409,7 +5624,7 @@ static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5428,7 +5643,7 @@ static PyObject *_wrap_HtmlCell_GetPosY(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: @@ -5437,7 +5652,7 @@ static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5456,7 +5671,7 @@ static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5465,7 +5680,7 @@ static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5484,7 +5699,7 @@ static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5493,7 +5708,7 @@ static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5512,7 +5727,7 @@ static PyObject *_wrap_HtmlCell_GetDescent(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: @@ -5521,7 +5736,7 @@ static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5540,7 +5755,7 @@ static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(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: @@ -5549,7 +5764,7 @@ static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -5584,7 +5799,7 @@ static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5625,7 +5840,7 @@ static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -5642,13 +5857,13 @@ static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5667,7 +5882,7 @@ static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -5693,7 +5908,7 @@ static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -5719,7 +5934,7 @@ static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -5745,7 +5960,7 @@ static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxCursor result; PyObject * obj0 = 0 ; @@ -5765,7 +5980,7 @@ static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject * } { wxCursor * resultptr; - resultptr = new wxCursor((wxCursor &)(result)); + resultptr = new wxCursor(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); } return resultobj; @@ -5775,7 +5990,7 @@ static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5803,7 +6018,7 @@ static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlLinkInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -5838,7 +6053,7 @@ static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; PyObject * obj0 = 0 ; @@ -5867,7 +6082,7 @@ static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; PyObject * obj0 = 0 ; @@ -5896,7 +6111,7 @@ static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 ; int arg3 ; @@ -5911,11 +6126,11 @@ static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -5933,7 +6148,7 @@ static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5946,7 +6161,7 @@ static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5964,7 +6179,7 @@ static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxDC *arg2 = 0 ; int arg3 ; @@ -5995,19 +6210,19 @@ static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -6033,7 +6248,7 @@ static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxDC *arg2 = 0 ; int arg3 ; @@ -6060,11 +6275,11 @@ static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObje 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; } { @@ -6090,7 +6305,7 @@ static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 ; void *arg3 = (void *) 0 ; @@ -6106,11 +6321,11 @@ static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj2,reinterpret_cast(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(3);SWIG_fail; } } @@ -6129,7 +6344,7 @@ static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int *arg2 = (int *) 0 ; bool result; @@ -6171,7 +6386,7 @@ static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -6184,7 +6399,7 @@ static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, 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; } { @@ -6202,7 +6417,7 @@ static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6230,7 +6445,7 @@ static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6258,7 +6473,7 @@ static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 ; int arg3 ; @@ -6276,16 +6491,16 @@ static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6304,7 +6519,7 @@ static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -6324,7 +6539,7 @@ static PyObject *_wrap_HtmlCell_GetAbsPos(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; @@ -6334,7 +6549,7 @@ static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -6360,7 +6575,7 @@ static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -6386,7 +6601,7 @@ static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -6405,7 +6620,7 @@ static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -6414,7 +6629,7 @@ static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; bool result; @@ -6446,7 +6661,7 @@ static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; wxString result; @@ -6489,7 +6704,7 @@ static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxDC *arg2 = 0 ; wxHtmlWordCell *result; @@ -6544,7 +6759,7 @@ static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -6570,7 +6785,7 @@ static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; PyObject * obj0 = 0 ; @@ -6599,7 +6814,7 @@ static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6612,7 +6827,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6630,7 +6845,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6649,7 +6864,7 @@ static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6658,7 +6873,7 @@ static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6671,7 +6886,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6689,7 +6904,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6708,7 +6923,7 @@ static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6717,7 +6932,7 @@ static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int arg3 ; @@ -6734,16 +6949,16 @@ static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -6762,7 +6977,7 @@ static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int result; @@ -6776,7 +6991,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6787,7 +7002,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndent(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: @@ -6796,7 +7011,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int result; @@ -6810,7 +7025,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6821,7 +7036,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6830,7 +7045,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *ar static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlTag *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -6865,7 +7080,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int arg3 ; @@ -6880,11 +7095,11 @@ static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6902,7 +7117,7 @@ static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *arg static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlTag *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -6937,7 +7152,7 @@ static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObje static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int arg3 = (int) wxHTML_ALIGN_TOP ; @@ -6952,12 +7167,12 @@ static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6976,7 +7191,7 @@ static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -7008,7 +7223,7 @@ static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObjec static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -7028,7 +7243,7 @@ static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -7038,7 +7253,7 @@ static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObjec static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -7077,7 +7292,7 @@ static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -7110,7 +7325,7 @@ static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = 0 ; int arg2 = (int) wxHTML_CLR_FOREGROUND ; wxHtmlColourCell *result; @@ -7128,7 +7343,7 @@ static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject * } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7154,7 +7369,7 @@ static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxHtmlFontCell *result; PyObject * obj0 = 0 ; @@ -7187,7 +7402,7 @@ static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) 0 ; wxHtmlWidgetCell *result; @@ -7202,7 +7417,7 @@ static PyObject *_wrap_new_HtmlWidgetCell(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; } } @@ -7228,7 +7443,7 @@ static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlFilter *result; char *kwnames[] = { NULL @@ -7250,7 +7465,7 @@ static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -7288,7 +7503,7 @@ static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -7317,7 +7532,7 @@ static PyObject *_wrap_new_HtmlWindow(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; } } @@ -7335,7 +7550,7 @@ static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwar } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -7370,7 +7585,7 @@ static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *result; char *kwnames[] = { NULL @@ -7393,7 +7608,7 @@ static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -7426,7 +7641,7 @@ static PyObject *_wrap_HtmlWindow_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; } } @@ -7444,7 +7659,7 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *k } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -7480,7 +7695,7 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -7511,7 +7726,7 @@ static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -7555,7 +7770,7 @@ static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -7599,7 +7814,7 @@ static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -7643,7 +7858,7 @@ static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -7687,7 +7902,7 @@ static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7719,7 +7934,7 @@ static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7751,7 +7966,7 @@ static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7783,7 +7998,7 @@ static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxString *arg3 = 0 ; @@ -7828,7 +8043,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -7856,7 +8071,7 @@ static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7869,7 +8084,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7887,7 +8102,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString arg2 ; wxString arg3 ; @@ -7933,7 +8148,7 @@ static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -7955,7 +8170,7 @@ static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, P if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8004,7 +8219,7 @@ static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -8045,7 +8260,7 @@ static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8058,7 +8273,7 @@ static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8076,7 +8291,7 @@ static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8111,7 +8326,7 @@ static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -8150,7 +8365,7 @@ static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -8189,7 +8404,7 @@ static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8217,7 +8432,7 @@ static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8245,7 +8460,7 @@ static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8273,7 +8488,7 @@ static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8301,7 +8516,7 @@ static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8326,7 +8541,7 @@ static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -8352,7 +8567,7 @@ static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlWinParser *result; PyObject * obj0 = 0 ; @@ -8378,7 +8593,7 @@ static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8422,7 +8637,7 @@ static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8466,7 +8681,7 @@ static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8491,7 +8706,7 @@ static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -8523,7 +8738,7 @@ static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -8555,7 +8770,7 @@ static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8580,7 +8795,7 @@ static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8612,7 +8827,7 @@ static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8644,7 +8859,7 @@ static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlLinkInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8679,7 +8894,7 @@ static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -8720,7 +8935,7 @@ static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; int arg3 ; @@ -8739,11 +8954,11 @@ static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -8761,7 +8976,7 @@ static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *ar static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; int arg3 ; @@ -8782,11 +8997,11 @@ static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -8812,7 +9027,7 @@ static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -8823,21 +9038,21 @@ static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_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 = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxPyHtmlWindow::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; @@ -8854,7 +9069,7 @@ static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *result; char *kwnames[] = { NULL @@ -8877,7 +9092,7 @@ static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8902,7 +9117,7 @@ static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; wxDC *arg2 = (wxDC *) 0 ; int arg3 ; @@ -8919,7 +9134,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, 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; } { @@ -8937,7 +9152,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; int arg2 ; int arg3 ; @@ -8952,11 +9167,11 @@ static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8974,7 +9189,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9007,7 +9222,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, Py } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9042,7 +9257,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; wxString arg2 ; wxString arg3 ; @@ -9088,7 +9303,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9110,7 +9325,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *arg 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; } } @@ -9159,7 +9374,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *arg static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; int arg2 ; int arg3 ; @@ -9185,28 +9400,28 @@ static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -9216,7 +9431,7 @@ static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObjec } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -9228,7 +9443,7 @@ static PyObject *_wrap_HtmlDCRenderer_Render(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: @@ -9237,7 +9452,7 @@ static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9256,7 +9471,7 @@ static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9272,7 +9487,7 @@ static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxHtmlPrintout *result; @@ -9314,7 +9529,7 @@ static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9347,7 +9562,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyOb } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9382,7 +9597,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9423,7 +9638,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; @@ -9445,7 +9660,7 @@ static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9472,7 +9687,7 @@ static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; @@ -9494,7 +9709,7 @@ static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9521,7 +9736,7 @@ static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString arg2 ; wxString arg3 ; @@ -9567,7 +9782,7 @@ static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9589,7 +9804,7 @@ static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, 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; } } @@ -9638,7 +9853,7 @@ static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; float arg2 = (float) 25.2 ; float arg3 = (float) 25.2 ; @@ -9660,31 +9875,31 @@ static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (float)(SWIG_As_float(obj1)); + arg2 = static_cast(SWIG_As_float(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (float)(SWIG_As_float(obj2)); + arg3 = static_cast(SWIG_As_float(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (float)(SWIG_As_float(obj3)); + arg4 = static_cast(SWIG_As_float(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (float)(SWIG_As_float(obj4)); + arg5 = static_cast(SWIG_As_float(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (float)(SWIG_As_float(obj5)); + arg6 = static_cast(SWIG_As_float(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -9703,7 +9918,7 @@ static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9728,7 +9943,7 @@ static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9756,7 +9971,7 @@ static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxWindow *arg2 = (wxWindow *) NULL ; @@ -9804,7 +10019,7 @@ static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9829,7 +10044,7 @@ static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9870,7 +10085,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9930,7 +10145,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9971,7 +10186,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -10031,7 +10246,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10056,7 +10271,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; @@ -10078,7 +10293,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10105,7 +10320,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; @@ -10127,7 +10342,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10154,7 +10369,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString arg2 ; wxString arg3 ; @@ -10200,7 +10415,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -10222,7 +10437,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *a 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; } } @@ -10271,7 +10486,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *a static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxPrintData *result; PyObject * obj0 = 0 ; @@ -10297,7 +10512,7 @@ static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxPageSetupDialogData *result; PyObject * obj0 = 0 ; @@ -10330,7 +10545,7 @@ static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -10416,7 +10631,7 @@ static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10448,7 +10663,7 @@ static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10480,7 +10695,7 @@ static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10512,7 +10727,7 @@ static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10544,7 +10759,7 @@ static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; int arg2 ; int arg3 ; @@ -10559,11 +10774,11 @@ static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -10581,7 +10796,7 @@ static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *arg static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10600,7 +10815,7 @@ static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10609,7 +10824,7 @@ static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *arg static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10628,7 +10843,7 @@ static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10637,7 +10852,7 @@ static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10678,7 +10893,7 @@ static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10719,7 +10934,7 @@ static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10760,7 +10975,7 @@ static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -10815,7 +11030,7 @@ static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10843,7 +11058,7 @@ static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10871,7 +11086,7 @@ static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10890,7 +11105,7 @@ static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10899,7 +11114,7 @@ static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10918,7 +11133,7 @@ static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10927,7 +11142,7 @@ static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -10969,7 +11184,7 @@ static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *result; char *kwnames[] = { NULL @@ -10991,7 +11206,7 @@ static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11016,7 +11231,7 @@ static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -11057,7 +11272,7 @@ static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; bool result; @@ -11101,7 +11316,7 @@ static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -11149,7 +11364,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; int arg2 ; wxString result; @@ -11163,7 +11378,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11187,7 +11402,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxHtmlBookRecArray *result; PyObject * obj0 = 0 ; @@ -11223,7 +11438,7 @@ static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -11251,7 +11466,7 @@ static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -11268,13 +11483,13 @@ static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject * } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -11298,7 +11513,7 @@ static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; wxHtmlHelpWindow *result; PyObject * obj0 = 0 ; @@ -11327,7 +11542,7 @@ static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -11357,7 +11572,7 @@ static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObjec 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) { @@ -11374,13 +11589,13 @@ static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObjec } 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; } } @@ -11401,7 +11616,7 @@ static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxHtmlHelpData *result; PyObject * obj0 = 0 ; @@ -11427,7 +11642,7 @@ static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxHtmlHelpController *result; PyObject * obj0 = 0 ; @@ -11453,7 +11668,7 @@ static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; PyObject * obj0 = 0 ; @@ -11482,7 +11697,7 @@ static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -11526,7 +11741,7 @@ static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; int arg2 ; bool result; @@ -11540,7 +11755,7 @@ static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11560,7 +11775,7 @@ static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11588,7 +11803,7 @@ static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11616,7 +11831,7 @@ static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxString *arg2 = 0 ; wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; @@ -11674,7 +11889,7 @@ static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString const &arg3_defvalue = wxEmptyString ; @@ -11722,7 +11937,7 @@ static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString const &arg3_defvalue = wxEmptyString ; @@ -11770,7 +11985,7 @@ static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *ar static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString const &arg3_defvalue = wxEmptyString ; @@ -11818,7 +12033,7 @@ static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *a static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11843,7 +12058,7 @@ static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *ar static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11868,7 +12083,7 @@ static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxHtmlWindow *result; PyObject * obj0 = 0 ; @@ -11894,7 +12109,7 @@ static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxSplitterWindow *result; PyObject * obj0 = 0 ; @@ -11920,7 +12135,7 @@ static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *ar static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxToolBar *result; PyObject * obj0 = 0 ; @@ -11948,7 +12163,7 @@ static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxHtmlHelpFrameCfg *result; PyObject * obj0 = 0 ; @@ -11977,7 +12192,7 @@ static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxTreeCtrl *result; PyObject * obj0 = 0 ; @@ -12010,7 +12225,7 @@ static PyObject * HtmlHelpWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxHtmlWindowEvent *result; @@ -12023,13 +12238,13 @@ static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",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; } } @@ -12048,7 +12263,7 @@ static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -12089,7 +12304,7 @@ static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -12131,7 +12346,7 @@ static PyObject * HtmlWindowEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -12153,7 +12368,7 @@ static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -12165,7 +12380,7 @@ static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *k } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12197,7 +12412,7 @@ static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; wxHtmlHelpFrame *result; PyObject * obj0 = 0 ; @@ -12226,7 +12441,7 @@ static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -12250,7 +12465,7 @@ static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject 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) { @@ -12262,7 +12477,7 @@ static PyObject *_wrap_HtmlHelpFrame_Create(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; } } @@ -12291,7 +12506,7 @@ static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxHtmlHelpData *result; PyObject * obj0 = 0 ; @@ -12317,7 +12532,7 @@ static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -12358,7 +12573,7 @@ static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12383,7 +12598,7 @@ static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxHtmlHelpController *result; PyObject * obj0 = 0 ; @@ -12409,7 +12624,7 @@ static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; PyObject * obj0 = 0 ; @@ -12438,7 +12653,7 @@ static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; wxHtmlHelpWindow *result; PyObject * obj0 = 0 ; @@ -12473,7 +12688,7 @@ static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -12495,7 +12710,7 @@ static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -12507,7 +12722,7 @@ static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject * } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12539,7 +12754,7 @@ static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; wxHtmlHelpDialog *result; PyObject * obj0 = 0 ; @@ -12568,7 +12783,7 @@ static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -12592,7 +12807,7 @@ static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObjec 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) { @@ -12604,7 +12819,7 @@ static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObjec } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -12633,7 +12848,7 @@ static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; wxHtmlHelpData *result; PyObject * obj0 = 0 ; @@ -12659,7 +12874,7 @@ static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; wxHtmlHelpController *result; PyObject * obj0 = 0 ; @@ -12685,7 +12900,7 @@ static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; PyObject * obj0 = 0 ; @@ -12714,7 +12929,7 @@ static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; wxHtmlHelpWindow *result; PyObject * obj0 = 0 ; @@ -12742,7 +12957,7 @@ static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -12790,7 +13005,7 @@ static PyObject * HtmlHelpDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -12809,7 +13024,7 @@ static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObjec temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -12837,7 +13052,7 @@ static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObjec static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -12936,7 +13151,7 @@ static PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *a static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) 0 ; @@ -12958,7 +13173,7 @@ static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -12985,7 +13200,7 @@ static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxString const &arg2_defvalue = wxEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -13032,7 +13247,7 @@ static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, P static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13060,7 +13275,7 @@ static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject * static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; int arg2 ; bool result; @@ -13071,7 +13286,7 @@ static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13091,7 +13306,7 @@ static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyO static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; int arg2 ; bool result; @@ -13105,7 +13320,7 @@ static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13125,7 +13340,7 @@ static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObje static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13176,7 +13391,7 @@ static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -13270,7 +13485,7 @@ static PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObjec static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; long arg2 ; bool result; @@ -13284,7 +13499,7 @@ static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, 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; } { @@ -13304,7 +13519,7 @@ static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *arg static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxString *arg2 = 0 ; wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; @@ -13362,7 +13577,7 @@ static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *ar static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxString *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -13401,7 +13616,7 @@ static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObjec } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -13428,7 +13643,7 @@ static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObjec static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxSize *arg2 = (wxSize *) NULL ; wxPoint *arg3 = (wxPoint *) NULL ; @@ -13474,7 +13689,7 @@ static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObjec static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13502,7 +13717,7 @@ static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13527,7 +13742,7 @@ static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyO static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -13556,7 +13771,7 @@ static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject * static PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -13591,7 +13806,7 @@ static PyObject * HelpControllerBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxHF_DEFAULT_STYLE ; wxWindow *arg2 = (wxWindow *) NULL ; wxHtmlHelpController *result; @@ -13604,7 +13819,7 @@ static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",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; } } @@ -13628,7 +13843,7 @@ static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObje static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13653,7 +13868,7 @@ static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxHtmlHelpWindow *result; PyObject * obj0 = 0 ; @@ -13681,7 +13896,7 @@ static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *ar static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ; PyObject * obj0 = 0 ; @@ -13710,7 +13925,7 @@ static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *ar static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxHtmlHelpFrame *result; PyObject * obj0 = 0 ; @@ -13738,7 +13953,7 @@ static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxHtmlHelpDialog *result; PyObject * obj0 = 0 ; @@ -13766,7 +13981,7 @@ static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -13807,7 +14022,7 @@ static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *a static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -13848,7 +14063,7 @@ static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) false ; @@ -13871,7 +14086,7 @@ static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -13900,7 +14115,7 @@ static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -13941,7 +14156,7 @@ static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13954,7 +14169,7 @@ static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13972,7 +14187,7 @@ static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13997,7 +14212,7 @@ static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject * static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14022,7 +14237,7 @@ static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *arg static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxString *arg2 = 0 ; bool result; @@ -14066,7 +14281,7 @@ static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *ar static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14114,7 +14329,7 @@ static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -14153,7 +14368,7 @@ static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -14192,7 +14407,7 @@ static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObjec static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14217,7 +14432,7 @@ static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject static PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -14252,7 +14467,7 @@ static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxEmptyString ; @@ -14286,7 +14501,7 @@ static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *k } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -15837,165 +16052,804 @@ static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); } -static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlHelpFrameCfg[] = {{"_p_wxHtmlHelpFrameCfg", 0, "wxHtmlHelpFrameCfg *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrameCfg", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTreeCtrl[] = {{"_p_wxTreeCtrl", 0, "wxTreeCtrl *", 0, 0, 0, 0},{"_p_wxTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 0, 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_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_wxHtmlWindowEvent", _p_wxHtmlWindowEventTo_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_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 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_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 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_wxHelpSearchMode[] = {{"_p_wxHelpSearchMode", 0, "wxHelpSearchMode *", 0, 0, 0, 0},{"_p_wxHelpSearchMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlModalHelp[] = {{"_p_wxHtmlModalHelp", 0, "wxHtmlModalHelp *", 0, 0, 0, 0},{"_p_wxHtmlModalHelp", 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_wxHtmlWindowEvent", _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 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_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_wxHtmlWindowEvent[] = {{"_p_wxHtmlWindowEvent", 0, "wxHtmlWindowEvent *", 0, 0, 0, 0},{"_p_wxHtmlWindowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 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_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 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_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpWindow", _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxTipWindow", _p_wxTipWindowTo_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_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_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_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 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_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_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_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_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_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 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},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 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_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_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_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlTag", _p_wxHtmlTagTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_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_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_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_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_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_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_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_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_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_wxLayoutConstraints", _p_wxLayoutConstraintsTo_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_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_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_wxFSFile", _p_wxFSFileTo_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_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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_wxHtmlWindowEvent", _p_wxHtmlWindowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpWindow", _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpControllerBase", _p_wxHelpControllerBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_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_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_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_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlCell", _p_wxHtmlCellTo_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_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_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_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_wxHtmlWindow[] = {{"_p_wxHtmlWindow", 0, "wxHtmlWindow *", 0, 0, 0, 0},{"_p_wxHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlHelpWindow[] = {{"_p_wxHtmlHelpWindow", 0, "wxHtmlHelpWindow *", 0, 0, 0, 0},{"_p_wxHtmlHelpWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_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_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_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpWindow", _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 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_wxTipWindow", _p_wxTipWindowTo_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_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_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_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_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_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_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_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_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_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_wxHtmlHelpDialog", _p_wxHtmlHelpDialogTo_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_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlHelpDialog[] = {{"_p_wxHtmlHelpDialog", 0, "wxHtmlHelpDialog *", 0, 0, 0, 0},{"_p_wxHtmlHelpDialog", 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_wxHelpControllerBase[] = {{"_p_wxHelpControllerBase", 0, "wxHelpControllerBase *", 0, 0, 0, 0},{"_p_wxHelpControllerBase", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 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_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 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_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_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_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHtmlWindowEvent", _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 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_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 *swig_types_initial[] = { -_swigt__p_wxHtmlSearchStatus, -_swigt__p_wxHtmlLinkInfo, -_swigt__p_wxHtmlHelpFrameCfg, -_swigt__p_wxDefaultHtmlRenderingStyle, -_swigt__p_wxHtmlRenderingStyle, -_swigt__p_wxTreeCtrl, -_swigt__p_wxHtmlFontCell, -_swigt__p_wxHtmlTag, -_swigt__p_wxPrintData, -_swigt__p_wxEvent, -_swigt__p_wxHtmlHelpFrame, -_swigt__p_wxConfigBase, -_swigt__p_bool, -_swigt__p_wxHtmlCell, -_swigt__p_wxHtmlRenderingState, -_swigt__p_wxFont, -_swigt__p_wxHtmlBookRecArray, -_swigt__p_wxHtmlWidgetCell, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxDC, -_swigt__p_wxHtmlColourCell, -_swigt__p_wxHtmlHelpData, -_swigt__p_wxVisualAttributes, -_swigt__p_wxHelpSearchMode, -_swigt__p_wxHtmlModalHelp, -_swigt__p_wxNotifyEvent, -_swigt__p_form_ops_t, -_swigt__p_wxHtmlWindowEvent, -_swigt__p_wxHtmlFilter, -_swigt__p_wxPyHtmlFilter, -_swigt__p_wxDuplexMode, -_swigt__p_wxPyHtmlWinTagHandler, -_swigt__p_wxEvtHandler, -_swigt__p_wxPyHtmlTagHandler, -_swigt__p_wxHtmlTagHandler, -_swigt__p_wxHtmlSelection, -_swigt__p_wxHtmlRenderingInfo, -_swigt__p_char, -_swigt__p_wxFrame, -_swigt__p_wxHtmlPrintout, -_swigt__p_wxPyPrintout, -_swigt__p_wxHtmlBookRecord, -_swigt__p_wxPaperSize, -_swigt__p_wxHtmlDCRenderer, -_swigt__p_wxHtmlContainerCell, -_swigt__p_wxPoint, -_swigt__p_wxCursor, -_swigt__p_wxObject, -_swigt__p_unsigned_long, -_swigt__p_wxSplitterWindow, -_swigt__p_wxHtmlWindow, -_swigt__p_wxHtmlHelpWindow, -_swigt__p_wxPyHtmlWindow, -_swigt__p_wxWindow, -_swigt__p_wxScrolledWindow, -_swigt__p_wxTopLevelWindow, -_swigt__p_wxString, -_swigt__p_wxDialog, -_swigt__p_wxPanel, -_swigt__p_wxHtmlWinParser, -_swigt__p_wxHtmlParser, -_swigt__p_wxHtmlHelpDialog, -_swigt__p_wxFileSystem, -_swigt__p_wxHelpControllerBase, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_wxHtmlWordCell, -_swigt__p_unsigned_char, -_swigt__p_wxMouseEvent, -_swigt__p_wxCommandEvent, -_swigt__p_wxHtmlEasyPrinting, -_swigt__p_wxHtmlHelpController, -_swigt__p_wxColour, -_swigt__p_wxPageSetupDialogData, -0 +static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0}; +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_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_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 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_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 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_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_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 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_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 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_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 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_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 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_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 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_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 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_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_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 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_bool, + &_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_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_wxConfigBase, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDefaultHtmlRenderingStyle, + &_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_wxHelpControllerBase, + &_swigt__p_wxHelpSearchMode, + &_swigt__p_wxHtmlBookRecArray, + &_swigt__p_wxHtmlBookRecord, + &_swigt__p_wxHtmlCell, + &_swigt__p_wxHtmlColourCell, + &_swigt__p_wxHtmlContainerCell, + &_swigt__p_wxHtmlDCRenderer, + &_swigt__p_wxHtmlEasyPrinting, + &_swigt__p_wxHtmlFilter, + &_swigt__p_wxHtmlFontCell, + &_swigt__p_wxHtmlHelpController, + &_swigt__p_wxHtmlHelpData, + &_swigt__p_wxHtmlHelpDialog, + &_swigt__p_wxHtmlHelpFrame, + &_swigt__p_wxHtmlHelpFrameCfg, + &_swigt__p_wxHtmlHelpWindow, + &_swigt__p_wxHtmlLinkInfo, + &_swigt__p_wxHtmlModalHelp, + &_swigt__p_wxHtmlParser, + &_swigt__p_wxHtmlPrintout, + &_swigt__p_wxHtmlRenderingInfo, + &_swigt__p_wxHtmlRenderingState, + &_swigt__p_wxHtmlRenderingStyle, + &_swigt__p_wxHtmlSearchStatus, + &_swigt__p_wxHtmlSelection, + &_swigt__p_wxHtmlTag, + &_swigt__p_wxHtmlTagHandler, + &_swigt__p_wxHtmlWidgetCell, + &_swigt__p_wxHtmlWinParser, + &_swigt__p_wxHtmlWindow, + &_swigt__p_wxHtmlWindowEvent, + &_swigt__p_wxHtmlWordCell, + &_swigt__p_wxICOHandler, + &_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_wxPyHtmlFilter, + &_swigt__p_wxPyHtmlListBox, + &_swigt__p_wxPyHtmlTagHandler, + &_swigt__p_wxPyHtmlWinTagHandler, + &_swigt__p_wxPyHtmlWindow, + &_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_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_wxTaskBarIconEvent, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTipWindow, + &_swigt__p_wxTopLevelWindow, + &_swigt__p_wxTreeCtrl, + &_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_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxBitmap[] = { {&_swigt__p_wxBitmap, 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_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 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_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 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_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 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_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 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_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 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_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 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_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 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_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 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_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_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_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_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_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_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 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_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 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_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_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_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_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 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_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 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_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 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_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 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_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 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_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 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_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 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_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 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_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 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_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 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_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 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_wxMenu[] = {{&_swigt__p_wxMenu, 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_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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_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_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_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_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_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_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_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_wxHelpControllerBase[] = { {&_swigt__p_wxHelpControllerBase, 0, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlCell[] = { {&_swigt__p_wxHtmlCell, 0, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlParser[] = { {&_swigt__p_wxHtmlParser, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlRenderingStyle[] = { {&_swigt__p_wxHtmlRenderingStyle, 0, 0, 0}, {&_swigt__p_wxDefaultHtmlRenderingStyle, _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 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_wxNotifyEvent[] = { {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 0}, {&_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_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 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_wxImage[] = {{&_swigt__p_wxImage, 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_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 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_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 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_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_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 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_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 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_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 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_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 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_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 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_wxFSFile[] = {{&_swigt__p_wxFSFile, 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_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 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_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 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_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 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_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_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_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_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_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_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_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 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_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_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_wxPoint[] = { {&_swigt__p_wxPoint, 0, 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_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHtmlTagHandler[] = { {&_swigt__p_wxPyHtmlTagHandler, 0, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxPyPrintout, 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_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 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_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 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_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_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_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_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_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_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_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 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_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_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_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_bool, + _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_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_wxConfigBase, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDefaultHtmlRenderingStyle, + _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_wxHelpControllerBase, + _swigc__p_wxHelpSearchMode, + _swigc__p_wxHtmlBookRecArray, + _swigc__p_wxHtmlBookRecord, + _swigc__p_wxHtmlCell, + _swigc__p_wxHtmlColourCell, + _swigc__p_wxHtmlContainerCell, + _swigc__p_wxHtmlDCRenderer, + _swigc__p_wxHtmlEasyPrinting, + _swigc__p_wxHtmlFilter, + _swigc__p_wxHtmlFontCell, + _swigc__p_wxHtmlHelpController, + _swigc__p_wxHtmlHelpData, + _swigc__p_wxHtmlHelpDialog, + _swigc__p_wxHtmlHelpFrame, + _swigc__p_wxHtmlHelpFrameCfg, + _swigc__p_wxHtmlHelpWindow, + _swigc__p_wxHtmlLinkInfo, + _swigc__p_wxHtmlModalHelp, + _swigc__p_wxHtmlParser, + _swigc__p_wxHtmlPrintout, + _swigc__p_wxHtmlRenderingInfo, + _swigc__p_wxHtmlRenderingState, + _swigc__p_wxHtmlRenderingStyle, + _swigc__p_wxHtmlSearchStatus, + _swigc__p_wxHtmlSelection, + _swigc__p_wxHtmlTag, + _swigc__p_wxHtmlTagHandler, + _swigc__p_wxHtmlWidgetCell, + _swigc__p_wxHtmlWinParser, + _swigc__p_wxHtmlWindow, + _swigc__p_wxHtmlWindowEvent, + _swigc__p_wxHtmlWordCell, + _swigc__p_wxICOHandler, + _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_wxPyHtmlFilter, + _swigc__p_wxPyHtmlListBox, + _swigc__p_wxPyHtmlTagHandler, + _swigc__p_wxPyHtmlWinTagHandler, + _swigc__p_wxPyHtmlWindow, + _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_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_wxTaskBarIconEvent, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTipWindow, + _swigc__p_wxTopLevelWindow, + _swigc__p_wxTreeCtrl, + _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, }; @@ -16007,6 +16861,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 @@ -16024,7 +17089,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; @@ -16034,13 +17099,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; @@ -16053,7 +17118,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -16066,7 +17131,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) { @@ -16079,72 +17144,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; } @@ -16153,11 +17235,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); @@ -16194,7 +17276,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, @@ -16206,7 +17288,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]); @@ -16219,14 +17301,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; + } + } } } } @@ -16236,69 +17322,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 @@ -16307,42 +17330,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); @@ -16350,265 +17352,265 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); { - PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT))); + PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int(static_cast(wxHTML_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER))); + PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int(static_cast(wxHTML_ALIGN_CENTER))); } { - PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT))); + PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int(static_cast(wxHTML_ALIGN_RIGHT))); } { - PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM))); + PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int(static_cast(wxHTML_ALIGN_BOTTOM))); } { - PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP))); + PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int(static_cast(wxHTML_ALIGN_TOP))); } { - PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND))); + PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int(static_cast(wxHTML_CLR_FOREGROUND))); } { - PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND))); + PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int(static_cast(wxHTML_CLR_BACKGROUND))); } { - PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS))); + PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int(static_cast(wxHTML_UNITS_PIXELS))); } { - PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT))); + PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int(static_cast(wxHTML_UNITS_PERCENT))); } { - PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT))); + PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int(static_cast(wxHTML_INDENT_LEFT))); } { - PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT))); + PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int(static_cast(wxHTML_INDENT_RIGHT))); } { - PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP))); + PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int(static_cast(wxHTML_INDENT_TOP))); } { - PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM))); + PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int(static_cast(wxHTML_INDENT_BOTTOM))); } { - PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL))); + PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int(static_cast(wxHTML_INDENT_HORIZONTAL))); } { - PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL))); + PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int(static_cast(wxHTML_INDENT_VERTICAL))); } { - PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL))); + PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int(static_cast(wxHTML_INDENT_ALL))); } { - PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR))); + PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int(static_cast(wxHTML_COND_ISANCHOR))); } { - PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP))); + PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int(static_cast(wxHTML_COND_ISIMAGEMAP))); } { - PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER))); + PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int(static_cast(wxHTML_COND_USER))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1))); + PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_1))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2))); + PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_2))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3))); + PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_3))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4))); + PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_4))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5))); + PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_5))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6))); + PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_6))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7))); + PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_7))); } { - PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER))); + PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int(static_cast(wxHW_SCROLLBAR_NEVER))); } { - PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO))); + PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int(static_cast(wxHW_SCROLLBAR_AUTO))); } { - PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION))); + PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int(static_cast(wxHW_NO_SELECTION))); } { - PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE))); + PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int(static_cast(wxHW_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN))); + PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int(static_cast(wxHTML_OPEN))); } { - PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK))); + PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int(static_cast(wxHTML_BLOCK))); } { - PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT))); + PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int(static_cast(wxHTML_REDIRECT))); } { - PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE))); + PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int(static_cast(wxHTML_URL_PAGE))); } { - PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE))); + PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int(static_cast(wxHTML_URL_IMAGE))); } { - PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER))); + PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int(static_cast(wxHTML_URL_OTHER))); } { - PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT))); + PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int(static_cast(wxHTML_SEL_OUT))); } { - PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN))); + PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int(static_cast(wxHTML_SEL_IN))); } { - PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING))); + PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int(static_cast(wxHTML_SEL_CHANGING))); } { - PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT))); + PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int(static_cast(wxHTML_FIND_EXACT))); } { - PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE))); + PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int(static_cast(wxHTML_FIND_NEAREST_BEFORE))); } { - PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER))); + PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int(static_cast(wxHTML_FIND_NEAREST_AFTER))); } { - PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD))); + PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int(static_cast(wxPAGE_ODD))); } { - PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN))); + PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int(static_cast(wxPAGE_EVEN))); } { - PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL))); + PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int(static_cast(wxPAGE_ALL))); } { - PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR))); + PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int(static_cast(wxHF_TOOLBAR))); } { - PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS))); + PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int(static_cast(wxHF_CONTENTS))); } { - PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX))); + PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int(static_cast(wxHF_INDEX))); } { - PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH))); + PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int(static_cast(wxHF_SEARCH))); } { - PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS))); + PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int(static_cast(wxHF_BOOKMARKS))); } { - PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int((int)(wxHF_OPEN_FILES))); + PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int(static_cast(wxHF_OPEN_FILES))); } { - PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT))); + PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int(static_cast(wxHF_PRINT))); } { - PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int((int)(wxHF_FLAT_TOOLBAR))); + PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int(static_cast(wxHF_FLAT_TOOLBAR))); } { - PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int((int)(wxHF_MERGE_BOOKS))); + PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int(static_cast(wxHF_MERGE_BOOKS))); } { - PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int((int)(wxHF_ICONS_BOOK))); + PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int(static_cast(wxHF_ICONS_BOOK))); } { - PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int((int)(wxHF_ICONS_BOOK_CHAPTER))); + PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int(static_cast(wxHF_ICONS_BOOK_CHAPTER))); } { - PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int((int)(wxHF_ICONS_FOLDER))); + PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int(static_cast(wxHF_ICONS_FOLDER))); } { - PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int((int)(wxHF_DEFAULT_STYLE))); + PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int(static_cast(wxHF_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int((int)(wxHF_EMBEDDED))); + PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int(static_cast(wxHF_EMBEDDED))); } { - PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int((int)(wxHF_DIALOG))); + PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int(static_cast(wxHF_DIALOG))); } { - PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int((int)(wxHF_FRAME))); + PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int(static_cast(wxHF_FRAME))); } { - PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int((int)(wxHF_MODAL))); + PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int(static_cast(wxHF_MODAL))); } { - PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int((int)(wxID_HTML_PANEL))); + PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int(static_cast(wxID_HTML_PANEL))); } { - PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int((int)(wxID_HTML_BACK))); + PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int(static_cast(wxID_HTML_BACK))); } { - PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int((int)(wxID_HTML_FORWARD))); + PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int(static_cast(wxID_HTML_FORWARD))); } { - PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int((int)(wxID_HTML_UPNODE))); + PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int(static_cast(wxID_HTML_UPNODE))); } { - PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int((int)(wxID_HTML_UP))); + PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int(static_cast(wxID_HTML_UP))); } { - PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int((int)(wxID_HTML_DOWN))); + PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int(static_cast(wxID_HTML_DOWN))); } { - PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int((int)(wxID_HTML_PRINT))); + PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int(static_cast(wxID_HTML_PRINT))); } { - PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int((int)(wxID_HTML_OPENFILE))); + PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int(static_cast(wxID_HTML_OPENFILE))); } { - PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int((int)(wxID_HTML_OPTIONS))); + PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int(static_cast(wxID_HTML_OPTIONS))); } { - PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int((int)(wxID_HTML_BOOKMARKSLIST))); + PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int(static_cast(wxID_HTML_BOOKMARKSLIST))); } { - PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int((int)(wxID_HTML_BOOKMARKSADD))); + PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int(static_cast(wxID_HTML_BOOKMARKSADD))); } { - PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int((int)(wxID_HTML_BOOKMARKSREMOVE))); + PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int(static_cast(wxID_HTML_BOOKMARKSREMOVE))); } { - PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int((int)(wxID_HTML_TREECTRL))); + PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int(static_cast(wxID_HTML_TREECTRL))); } { - PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int((int)(wxID_HTML_INDEXPAGE))); + PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int(static_cast(wxID_HTML_INDEXPAGE))); } { - PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int((int)(wxID_HTML_INDEXLIST))); + PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int(static_cast(wxID_HTML_INDEXLIST))); } { - PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int((int)(wxID_HTML_INDEXTEXT))); + PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int(static_cast(wxID_HTML_INDEXTEXT))); } { - PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int((int)(wxID_HTML_INDEXBUTTON))); + PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int(static_cast(wxID_HTML_INDEXBUTTON))); } { - PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int((int)(wxID_HTML_INDEXBUTTONALL))); + PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int(static_cast(wxID_HTML_INDEXBUTTONALL))); } { - PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int((int)(wxID_HTML_NOTEBOOK))); + PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int(static_cast(wxID_HTML_NOTEBOOK))); } { - PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int((int)(wxID_HTML_SEARCHPAGE))); + PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int(static_cast(wxID_HTML_SEARCHPAGE))); } { - PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int((int)(wxID_HTML_SEARCHTEXT))); + PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int(static_cast(wxID_HTML_SEARCHTEXT))); } { - PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int((int)(wxID_HTML_SEARCHLIST))); + PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int(static_cast(wxID_HTML_SEARCHLIST))); } { - PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int((int)(wxID_HTML_SEARCHBUTTON))); + PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int(static_cast(wxID_HTML_SEARCHBUTTON))); } { - PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int((int)(wxID_HTML_SEARCHCHOICE))); + PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int(static_cast(wxID_HTML_SEARCHCHOICE))); } { - PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int((int)(wxID_HTML_COUNTINFO))); + PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int(static_cast(wxID_HTML_COUNTINFO))); } wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); diff --git a/wxPython/src/gtk/media.py b/wxPython/src/gtk/media.py index 07ed43ce9a..70f4e57160 100644 --- a/wxPython/src/gtk/media.py +++ b/wxPython/src/gtk/media.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -179,7 +179,10 @@ def PreMediaCtrl(*args, **kwargs): wxEVT_MEDIA_FINISHED = _media.wxEVT_MEDIA_FINISHED wxEVT_MEDIA_STOP = _media.wxEVT_MEDIA_STOP +wxEVT_MEDIA_LOADED = _media.wxEVT_MEDIA_LOADED EVT_MEDIA_FINISHED = wx.PyEventBinder( wxEVT_MEDIA_FINISHED, 1) EVT_MEDIA_STOP = wx.PyEventBinder( wxEVT_MEDIA_STOP, 1) +EVT_MEDIA_LOADED = wx.PyEventBinder( wxEVT_MEDIA_LOADED, 1) + diff --git a/wxPython/src/gtk/media_wrap.cpp b/wxPython/src/gtk/media_wrap.cpp index b8955111d9..f635d0a9e6 100644 --- a/wxPython/src/gtk/media_wrap.cpp +++ b/wxPython/src/gtk/media_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,30 +1431,102 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxObject swig_types[0] -#define SWIGTYPE_p_unsigned_char swig_types[1] -#define SWIGTYPE_p_wxMediaEvent swig_types[2] -#define SWIGTYPE_p_wxWindow swig_types[3] -#define SWIGTYPE_p_wxValidator swig_types[4] -#define SWIGTYPE_p_wxCommandEvent swig_types[5] -#define SWIGTYPE_p_unsigned_long swig_types[6] -#define SWIGTYPE_p_unsigned_int swig_types[7] -#define SWIGTYPE_unsigned_int swig_types[8] -#define SWIGTYPE_p_form_ops_t swig_types[9] -#define SWIGTYPE_p_wxDuplexMode swig_types[10] -#define SWIGTYPE_p_wxMediaCtrlPlayerControls swig_types[11] -#define SWIGTYPE_p_char swig_types[12] -#define SWIGTYPE_p_wxFileOffset swig_types[13] -#define SWIGTYPE_p_wxEvtHandler swig_types[14] -#define SWIGTYPE_std__ptrdiff_t swig_types[15] -#define SWIGTYPE_ptrdiff_t swig_types[16] -#define SWIGTYPE_p_wxNotifyEvent swig_types[17] -#define SWIGTYPE_p_wxControl swig_types[18] -#define SWIGTYPE_p_wxMediaCtrl swig_types[19] -#define SWIGTYPE_p_wxEvent swig_types[20] -#define SWIGTYPE_p_wxPaperSize swig_types[21] -#define SWIGTYPE_p_int swig_types[22] -static swig_type_info *swig_types[24]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBoxSizer swig_types[10] +#define SWIGTYPE_p_wxCURHandler swig_types[11] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[12] +#define SWIGTYPE_p_wxCloseEvent swig_types[13] +#define SWIGTYPE_p_wxCommandEvent swig_types[14] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[15] +#define SWIGTYPE_p_wxControl swig_types[16] +#define SWIGTYPE_p_wxControlWithItems swig_types[17] +#define SWIGTYPE_p_wxDateEvent swig_types[18] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[19] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[20] +#define SWIGTYPE_p_wxDuplexMode swig_types[21] +#define SWIGTYPE_p_wxEraseEvent swig_types[22] +#define SWIGTYPE_p_wxEvent swig_types[23] +#define SWIGTYPE_p_wxEvtHandler swig_types[24] +#define SWIGTYPE_p_wxFSFile swig_types[25] +#define SWIGTYPE_p_wxFileOffset swig_types[26] +#define SWIGTYPE_p_wxFileSystem swig_types[27] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[28] +#define SWIGTYPE_p_wxFocusEvent swig_types[29] +#define SWIGTYPE_p_wxGBSizerItem swig_types[30] +#define SWIGTYPE_p_wxGIFHandler swig_types[31] +#define SWIGTYPE_p_wxGridBagSizer swig_types[32] +#define SWIGTYPE_p_wxGridSizer swig_types[33] +#define SWIGTYPE_p_wxICOHandler swig_types[34] +#define SWIGTYPE_p_wxIconizeEvent swig_types[35] +#define SWIGTYPE_p_wxIdleEvent swig_types[36] +#define SWIGTYPE_p_wxImage swig_types[37] +#define SWIGTYPE_p_wxImageHandler swig_types[38] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[39] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[40] +#define SWIGTYPE_p_wxJPEGHandler swig_types[41] +#define SWIGTYPE_p_wxKeyEvent swig_types[42] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[43] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[44] +#define SWIGTYPE_p_wxMediaCtrl swig_types[45] +#define SWIGTYPE_p_wxMediaCtrlPlayerControls swig_types[46] +#define SWIGTYPE_p_wxMediaEvent swig_types[47] +#define SWIGTYPE_p_wxMenu swig_types[48] +#define SWIGTYPE_p_wxMenuBar swig_types[49] +#define SWIGTYPE_p_wxMenuEvent swig_types[50] +#define SWIGTYPE_p_wxMenuItem swig_types[51] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[52] +#define SWIGTYPE_p_wxMouseEvent swig_types[53] +#define SWIGTYPE_p_wxMoveEvent swig_types[54] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[55] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[56] +#define SWIGTYPE_p_wxNotifyEvent swig_types[57] +#define SWIGTYPE_p_wxObject swig_types[58] +#define SWIGTYPE_p_wxPCXHandler swig_types[59] +#define SWIGTYPE_p_wxPNGHandler swig_types[60] +#define SWIGTYPE_p_wxPNMHandler swig_types[61] +#define SWIGTYPE_p_wxPaintEvent swig_types[62] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[63] +#define SWIGTYPE_p_wxPaperSize swig_types[64] +#define SWIGTYPE_p_wxPyApp swig_types[65] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[66] +#define SWIGTYPE_p_wxPyEvent swig_types[67] +#define SWIGTYPE_p_wxPyImageHandler swig_types[68] +#define SWIGTYPE_p_wxPySizer swig_types[69] +#define SWIGTYPE_p_wxPyValidator swig_types[70] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[71] +#define SWIGTYPE_p_wxScrollEvent swig_types[72] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[73] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[74] +#define SWIGTYPE_p_wxShowEvent swig_types[75] +#define SWIGTYPE_p_wxSizeEvent swig_types[76] +#define SWIGTYPE_p_wxSizer swig_types[77] +#define SWIGTYPE_p_wxSizerItem swig_types[78] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[79] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[80] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[81] +#define SWIGTYPE_p_wxTIFFHandler swig_types[82] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[83] +#define SWIGTYPE_p_wxValidator swig_types[84] +#define SWIGTYPE_p_wxWindow swig_types[85] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[86] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[87] +#define SWIGTYPE_p_wxXPMHandler swig_types[88] +#define SWIGTYPE_ptrdiff_t swig_types[89] +#define SWIGTYPE_std__ptrdiff_t swig_types[90] +#define SWIGTYPE_unsigned_int swig_types[91] +static swig_type_info *swig_types[93]; +static swig_module_info swig_module = {swig_types, 92, 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) -------- */ @@ -1456,11 +1620,12 @@ public: const wxEventType wxEVT_MEDIA_FINISHED = 0; const wxEventType wxEVT_MEDIA_STOP = 0; +const wxEventType wxEVT_MEDIA_LOADED = 0; #endif - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_int PyInt_FromLong /*@@*/ @@ -1513,7 +1678,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; @@ -1527,7 +1692,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1535,7 +1700,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1549,7 +1714,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1558,7 +1723,7 @@ SWIG_Check_int(PyObject* obj) static const wxString wxPyEmptyString(wxEmptyString); static const wxString wxPyMediaCtrlNameStr(wxT("mediaCtrl")); -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1572,14 +1737,14 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)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 /*@@*/ @@ -1598,7 +1763,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -1612,7 +1777,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -1622,7 +1787,7 @@ SWIG_Check_double(PyObject* obj) extern "C" { #endif static PyObject *_wrap_new_MediaEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxMediaEvent *result; @@ -1635,13 +1800,13 @@ static PyObject *_wrap_new_MediaEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MediaEvent",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; } } @@ -1673,7 +1838,7 @@ static int _wrap_MediaCtrlNameStr_set(PyObject *) { static PyObject *_wrap_MediaCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1687,7 +1852,7 @@ static PyObject *_wrap_MediaCtrlNameStr_get(void) { static PyObject *_wrap_new_MediaCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -1727,7 +1892,7 @@ static PyObject *_wrap_new_MediaCtrl(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; } } @@ -1752,7 +1917,7 @@ static PyObject *_wrap_new_MediaCtrl(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; } } @@ -1820,7 +1985,7 @@ static PyObject *_wrap_new_MediaCtrl(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreMediaCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *result; char *kwnames[] = { NULL @@ -1843,7 +2008,7 @@ static PyObject *_wrap_new_PreMediaCtrl(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MediaCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -1887,7 +2052,7 @@ static PyObject *_wrap_MediaCtrl_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; } } @@ -1912,7 +2077,7 @@ static PyObject *_wrap_MediaCtrl_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; } } @@ -1981,7 +2146,7 @@ static PyObject *_wrap_MediaCtrl_Create(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MediaCtrl_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2009,7 +2174,7 @@ static PyObject *_wrap_MediaCtrl_Play(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_Pause(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2037,7 +2202,7 @@ static PyObject *_wrap_MediaCtrl_Pause(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MediaCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2065,7 +2230,7 @@ static PyObject *_wrap_MediaCtrl_Stop(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxMediaState result; PyObject * obj0 = 0 ; @@ -2091,7 +2256,7 @@ static PyObject *_wrap_MediaCtrl_GetState(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MediaCtrl_GetPlaybackRate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; double result; PyObject * obj0 = 0 ; @@ -2110,7 +2275,7 @@ static PyObject *_wrap_MediaCtrl_GetPlaybackRate(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -2119,7 +2284,7 @@ static PyObject *_wrap_MediaCtrl_GetPlaybackRate(PyObject *, PyObject *args, PyO static PyObject *_wrap_MediaCtrl_SetPlaybackRate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; double arg2 ; bool result; @@ -2133,7 +2298,7 @@ static PyObject *_wrap_MediaCtrl_SetPlaybackRate(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMediaCtrl, 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; } { @@ -2153,7 +2318,7 @@ static PyObject *_wrap_MediaCtrl_SetPlaybackRate(PyObject *, PyObject *args, PyO static PyObject *_wrap_MediaCtrl_Seek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxFileOffset arg2 ; wxSeekMode arg3 = (wxSeekMode) wxFromStart ; @@ -2176,13 +2341,13 @@ static PyObject *_wrap_MediaCtrl_Seek(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg3 = (wxSeekMode)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->Seek(arg2,(wxSeekMode )arg3); + result = (arg1)->Seek(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2200,7 +2365,7 @@ static PyObject *_wrap_MediaCtrl_Seek(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_Tell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxFileOffset result; PyObject * obj0 = 0 ; @@ -2231,7 +2396,7 @@ static PyObject *_wrap_MediaCtrl_Tell(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_Length(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxFileOffset result; PyObject * obj0 = 0 ; @@ -2262,7 +2427,7 @@ static PyObject *_wrap_MediaCtrl_Length(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MediaCtrl_GetVolume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; double result; PyObject * obj0 = 0 ; @@ -2281,7 +2446,7 @@ static PyObject *_wrap_MediaCtrl_GetVolume(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -2290,7 +2455,7 @@ static PyObject *_wrap_MediaCtrl_GetVolume(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MediaCtrl_SetVolume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; double arg2 ; bool result; @@ -2304,7 +2469,7 @@ static PyObject *_wrap_MediaCtrl_SetVolume(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMediaCtrl, 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; } { @@ -2324,7 +2489,7 @@ static PyObject *_wrap_MediaCtrl_SetVolume(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MediaCtrl_ShowPlayerControls(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxMediaCtrlPlayerControls arg2 = (wxMediaCtrlPlayerControls) wxMEDIACTRLPLAYERCONTROLS_DEFAULT ; bool result; @@ -2366,7 +2531,7 @@ static PyObject *_wrap_MediaCtrl_ShowPlayerControls(PyObject *, PyObject *args, static PyObject *_wrap_MediaCtrl_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2410,7 +2575,7 @@ static PyObject *_wrap_MediaCtrl_Load(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_LoadURI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2454,7 +2619,7 @@ static PyObject *_wrap_MediaCtrl_LoadURI(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MediaCtrl_LoadURIWithProxy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -2974,55 +3139,380 @@ static void *_p_wxMediaEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_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_wxMediaCtrl", _p_wxMediaCtrlTo_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_wxMediaEvent", _p_wxMediaEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxMediaEvent[] = {{"_p_wxMediaEvent", 0, "wxMediaEvent *", 0, 0, 0, 0},{"_p_wxMediaEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_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_wxMediaCtrlPlayerControls[] = {{"_p_wxMediaCtrlPlayerControls", 0, "wxMediaCtrlPlayerControls *", 0, 0, 0, 0},{"_p_wxMediaCtrlPlayerControls", 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_wxFileOffset[] = {{"_p_wxFileOffset", 0, "wxFileOffset *", 0, 0, 0, 0},{"_p_wxFileOffset", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMediaCtrl[] = {{"_p_wxMediaCtrl", 0, "wxMediaCtrl *", 0, 0, 0, 0},{"_p_wxMediaCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxMediaEvent, -_swigt__p_wxWindow, -_swigt__p_wxValidator, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxMediaCtrlPlayerControls, -_swigt__p_char, -_swigt__p_wxFileOffset, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxNotifyEvent, -_swigt__p_wxControl, -_swigt__p_wxMediaCtrl, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_int, -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 *|wxEventType *", 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_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_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 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_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileOffset = {"_p_wxFileOffset", "wxFileOffset *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMediaCtrl = {"_p_wxMediaCtrl", "wxMediaCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMediaCtrlPlayerControls = {"_p_wxMediaCtrlPlayerControls", "wxMediaCtrlPlayerControls *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMediaEvent = {"_p_wxMediaEvent", "wxMediaEvent *", 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_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 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_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 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_wxBMPHandler, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileOffset, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMediaCtrl, + &_swigt__p_wxMediaCtrlPlayerControls, + &_swigt__p_wxMediaEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_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_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxMediaEvent, _p_wxMediaEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 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_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxMediaCtrl, _p_wxMediaCtrlTo_p_wxControl, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMediaEvent, _p_wxMediaEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 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_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxMediaCtrl, _p_wxMediaCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileOffset[] = { {&_swigt__p_wxFileOffset, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMediaCtrl[] = { {&_swigt__p_wxMediaCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMediaCtrlPlayerControls[] = { {&_swigt__p_wxMediaCtrlPlayerControls, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMediaEvent[] = { {&_swigt__p_wxMediaEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxNotifyEvent, 0, 0, 0}, {&_swigt__p_wxMediaEvent, _p_wxMediaEventTo_p_wxNotifyEvent, 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_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 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_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_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 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_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 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_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_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_wxMediaCtrl, _p_wxMediaCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMediaEvent, _p_wxMediaEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMediaCtrl, _p_wxMediaCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_wxBMPHandler, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileOffset, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMediaCtrl, + _swigc__p_wxMediaCtrlPlayerControls, + _swigc__p_wxMediaEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -3034,6 +3524,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 @@ -3051,7 +3752,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; @@ -3061,13 +3762,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; @@ -3080,7 +3781,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -3093,7 +3794,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) { @@ -3106,72 +3807,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; } @@ -3180,11 +3898,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); @@ -3221,7 +3939,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, @@ -3233,7 +3951,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]); @@ -3246,14 +3964,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; + } + } } } } @@ -3263,69 +3985,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 @@ -3334,57 +3993,37 @@ 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,"MEDIASTATE_STOPPED", SWIG_From_int((int)(wxMEDIASTATE_STOPPED))); + PyDict_SetItemString(d,"MEDIASTATE_STOPPED", SWIG_From_int(static_cast(wxMEDIASTATE_STOPPED))); } { - PyDict_SetItemString(d,"MEDIASTATE_PAUSED", SWIG_From_int((int)(wxMEDIASTATE_PAUSED))); + PyDict_SetItemString(d,"MEDIASTATE_PAUSED", SWIG_From_int(static_cast(wxMEDIASTATE_PAUSED))); } { - PyDict_SetItemString(d,"MEDIASTATE_PLAYING", SWIG_From_int((int)(wxMEDIASTATE_PLAYING))); + PyDict_SetItemString(d,"MEDIASTATE_PLAYING", SWIG_From_int(static_cast(wxMEDIASTATE_PLAYING))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"MediaCtrlNameStr",_wrap_MediaCtrlNameStr_get, _wrap_MediaCtrlNameStr_set); PyDict_SetItemString(d, "wxEVT_MEDIA_FINISHED", PyInt_FromLong(wxEVT_MEDIA_FINISHED)); PyDict_SetItemString(d, "wxEVT_MEDIA_STOP", PyInt_FromLong(wxEVT_MEDIA_STOP)); + PyDict_SetItemString(d, "wxEVT_MEDIA_LOADED", PyInt_FromLong(wxEVT_MEDIA_LOADED)); } diff --git a/wxPython/src/gtk/webkit.py b/wxPython/src/gtk/webkit.py index fb14f84a4b..daf3349c2b 100644 --- a/wxPython/src/gtk/webkit.py +++ b/wxPython/src/gtk/webkit.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -185,3 +185,4 @@ _webkit.WebKitStateChangedEvent_swigregister(WebKitStateChangedEventPtr) EVT_WEBKIT_STATE_CHANGED = wx.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED) + diff --git a/wxPython/src/gtk/webkit_wrap.cpp b/wxPython/src/gtk/webkit_wrap.cpp index 9b063e35c2..4d75ad27f3 100644 --- a/wxPython/src/gtk/webkit_wrap.cpp +++ b/wxPython/src/gtk/webkit_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,27 +1431,100 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxObject swig_types[0] -#define SWIGTYPE_p_unsigned_char swig_types[1] -#define SWIGTYPE_p_wxWindow swig_types[2] -#define SWIGTYPE_p_wxValidator swig_types[3] -#define SWIGTYPE_p_wxCommandEvent swig_types[4] -#define SWIGTYPE_p_unsigned_long swig_types[5] -#define SWIGTYPE_p_unsigned_int swig_types[6] -#define SWIGTYPE_unsigned_int swig_types[7] -#define SWIGTYPE_p_form_ops_t swig_types[8] -#define SWIGTYPE_p_wxDuplexMode swig_types[9] -#define SWIGTYPE_p_char swig_types[10] -#define SWIGTYPE_p_wxWebKitStateChangedEvent swig_types[11] -#define SWIGTYPE_p_wxEvtHandler swig_types[12] -#define SWIGTYPE_std__ptrdiff_t swig_types[13] -#define SWIGTYPE_ptrdiff_t swig_types[14] -#define SWIGTYPE_p_wxControl swig_types[15] -#define SWIGTYPE_p_wxEvent swig_types[16] -#define SWIGTYPE_p_wxPaperSize swig_types[17] -#define SWIGTYPE_p_int swig_types[18] -#define SWIGTYPE_p_wxWebKitCtrl swig_types[19] -static swig_type_info *swig_types[21]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBoxSizer swig_types[10] +#define SWIGTYPE_p_wxCURHandler swig_types[11] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[12] +#define SWIGTYPE_p_wxCloseEvent swig_types[13] +#define SWIGTYPE_p_wxCommandEvent swig_types[14] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[15] +#define SWIGTYPE_p_wxControl swig_types[16] +#define SWIGTYPE_p_wxControlWithItems swig_types[17] +#define SWIGTYPE_p_wxDateEvent swig_types[18] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[19] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[20] +#define SWIGTYPE_p_wxDuplexMode swig_types[21] +#define SWIGTYPE_p_wxEraseEvent swig_types[22] +#define SWIGTYPE_p_wxEvent swig_types[23] +#define SWIGTYPE_p_wxEvtHandler swig_types[24] +#define SWIGTYPE_p_wxFSFile swig_types[25] +#define SWIGTYPE_p_wxFileSystem swig_types[26] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[27] +#define SWIGTYPE_p_wxFocusEvent swig_types[28] +#define SWIGTYPE_p_wxGBSizerItem swig_types[29] +#define SWIGTYPE_p_wxGIFHandler swig_types[30] +#define SWIGTYPE_p_wxGridBagSizer swig_types[31] +#define SWIGTYPE_p_wxGridSizer swig_types[32] +#define SWIGTYPE_p_wxICOHandler swig_types[33] +#define SWIGTYPE_p_wxIconizeEvent swig_types[34] +#define SWIGTYPE_p_wxIdleEvent swig_types[35] +#define SWIGTYPE_p_wxImage swig_types[36] +#define SWIGTYPE_p_wxImageHandler swig_types[37] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[38] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[39] +#define SWIGTYPE_p_wxJPEGHandler swig_types[40] +#define SWIGTYPE_p_wxKeyEvent swig_types[41] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[42] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[43] +#define SWIGTYPE_p_wxMenu swig_types[44] +#define SWIGTYPE_p_wxMenuBar swig_types[45] +#define SWIGTYPE_p_wxMenuEvent swig_types[46] +#define SWIGTYPE_p_wxMenuItem swig_types[47] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[48] +#define SWIGTYPE_p_wxMouseEvent swig_types[49] +#define SWIGTYPE_p_wxMoveEvent swig_types[50] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[51] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[52] +#define SWIGTYPE_p_wxNotifyEvent swig_types[53] +#define SWIGTYPE_p_wxObject swig_types[54] +#define SWIGTYPE_p_wxPCXHandler swig_types[55] +#define SWIGTYPE_p_wxPNGHandler swig_types[56] +#define SWIGTYPE_p_wxPNMHandler swig_types[57] +#define SWIGTYPE_p_wxPaintEvent swig_types[58] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[59] +#define SWIGTYPE_p_wxPaperSize swig_types[60] +#define SWIGTYPE_p_wxPyApp swig_types[61] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[62] +#define SWIGTYPE_p_wxPyEvent swig_types[63] +#define SWIGTYPE_p_wxPyImageHandler swig_types[64] +#define SWIGTYPE_p_wxPySizer swig_types[65] +#define SWIGTYPE_p_wxPyValidator swig_types[66] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[67] +#define SWIGTYPE_p_wxScrollEvent swig_types[68] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[69] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[70] +#define SWIGTYPE_p_wxShowEvent swig_types[71] +#define SWIGTYPE_p_wxSizeEvent swig_types[72] +#define SWIGTYPE_p_wxSizer swig_types[73] +#define SWIGTYPE_p_wxSizerItem swig_types[74] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[75] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[76] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[77] +#define SWIGTYPE_p_wxTIFFHandler swig_types[78] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[79] +#define SWIGTYPE_p_wxValidator swig_types[80] +#define SWIGTYPE_p_wxWebKitCtrl swig_types[81] +#define SWIGTYPE_p_wxWebKitStateChangedEvent swig_types[82] +#define SWIGTYPE_p_wxWindow swig_types[83] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[84] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[85] +#define SWIGTYPE_p_wxXPMHandler swig_types[86] +#define SWIGTYPE_ptrdiff_t swig_types[87] +#define SWIGTYPE_std__ptrdiff_t swig_types[88] +#define SWIGTYPE_unsigned_int swig_types[89] +static swig_type_info *swig_types[91]; +static swig_module_info swig_module = {swig_types, 90, 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) -------- */ @@ -1503,7 +1668,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; @@ -1517,7 +1682,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1525,7 +1690,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1539,7 +1704,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1553,21 +1718,21 @@ 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); } - /*@/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 /*@@*/ @@ -1581,7 +1746,7 @@ static int _wrap_WebKitNameStr_set(PyObject *) { static PyObject *_wrap_WebKitNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1595,7 +1760,7 @@ static PyObject *_wrap_WebKitNameStr_get(void) { static PyObject *_wrap_new_WebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -1631,7 +1796,7 @@ static PyObject *_wrap_new_WebKitCtrl(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; } } @@ -1656,7 +1821,7 @@ static PyObject *_wrap_new_WebKitCtrl(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; } } @@ -1709,7 +1874,7 @@ static PyObject *_wrap_new_WebKitCtrl(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreWebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *result; char *kwnames[] = { NULL @@ -1732,7 +1897,7 @@ static PyObject *_wrap_new_PreWebKitCtrl(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -1772,7 +1937,7 @@ static PyObject *_wrap_WebKitCtrl_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; } } @@ -1797,7 +1962,7 @@ static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *k } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -1851,7 +2016,7 @@ static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WebKitCtrl_LoadURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -1892,7 +2057,7 @@ static PyObject *_wrap_WebKitCtrl_LoadURL(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_WebKitCtrl_CanGoBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1920,7 +2085,7 @@ static PyObject *_wrap_WebKitCtrl_CanGoBack(PyObject *, PyObject *args, PyObject static PyObject *_wrap_WebKitCtrl_CanGoForward(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1948,7 +2113,7 @@ static PyObject *_wrap_WebKitCtrl_CanGoForward(PyObject *, PyObject *args, PyObj static PyObject *_wrap_WebKitCtrl_GoBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1976,7 +2141,7 @@ static PyObject *_wrap_WebKitCtrl_GoBack(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WebKitCtrl_GoForward(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2004,7 +2169,7 @@ static PyObject *_wrap_WebKitCtrl_GoForward(PyObject *, PyObject *args, PyObject static PyObject *_wrap_WebKitCtrl_Reload(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2029,7 +2194,7 @@ static PyObject *_wrap_WebKitCtrl_Reload(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WebKitCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2054,7 +2219,7 @@ static PyObject *_wrap_WebKitCtrl_Stop(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_WebKitCtrl_CanGetPageSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2082,7 +2247,7 @@ static PyObject *_wrap_WebKitCtrl_CanGetPageSource(PyObject *, PyObject *args, P static PyObject *_wrap_WebKitCtrl_GetPageSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2114,7 +2279,7 @@ static PyObject *_wrap_WebKitCtrl_GetPageSource(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WebKitCtrl_SetPageSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -2174,7 +2339,7 @@ static PyObject *_wrap_WebKitCtrl_SetPageSource(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WebKitCtrl_GetPageURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2206,7 +2371,7 @@ static PyObject *_wrap_WebKitCtrl_GetPageURL(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_WebKitCtrl_GetPageTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2245,7 +2410,7 @@ static PyObject * WebKitCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WebKitStateChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWebKitStateChangedEvent *result; PyObject * obj0 = 0 ; @@ -2273,7 +2438,7 @@ static PyObject *_wrap_new_WebKitStateChangedEvent(PyObject *, PyObject *args, P static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2292,7 +2457,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2301,7 +2466,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *ar static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2314,7 +2479,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWebKitStateChangedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2332,7 +2497,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *ar static PyObject *_wrap_WebKitStateChangedEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2364,7 +2529,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_GetURL(PyObject *, PyObject *args static PyObject *_wrap_WebKitStateChangedEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2863,49 +3028,372 @@ static void *_p_wxKeyEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_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_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_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_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_wxWebKitStateChangedEvent[] = {{"_p_wxWebKitStateChangedEvent", 0, "wxWebKitStateChangedEvent *", 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_int[] = {{"_p_int", 0, "int *|wxEventType *", 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_wxWebKitCtrl[] = {{"_p_wxWebKitCtrl", 0, "wxWebKitCtrl *", 0, 0, 0, 0},{"_p_wxWebKitCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxWindow, -_swigt__p_wxValidator, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_char, -_swigt__p_wxWebKitStateChangedEvent, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxControl, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_int, -_swigt__p_wxWebKitCtrl, -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 *|wxEventType *", 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_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_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 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_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 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_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 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_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 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_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWebKitCtrl = {"_p_wxWebKitCtrl", "wxWebKitCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWebKitStateChangedEvent = {"_p_wxWebKitStateChangedEvent", "wxWebKitStateChangedEvent *", 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_wxBMPHandler, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxWebKitCtrl, + &_swigt__p_wxWebKitStateChangedEvent, + &_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_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_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 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_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWebKitStateChangedEvent, _p_wxWebKitStateChangedEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxWebKitCtrl, _p_wxWebKitCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_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_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 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_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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWebKitStateChangedEvent, _p_wxWebKitStateChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 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_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWebKitCtrl, _p_wxWebKitCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 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_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_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 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_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 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_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_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_wxWebKitStateChangedEvent, _p_wxWebKitStateChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWebKitCtrl, _p_wxWebKitCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWebKitCtrl[] = { {&_swigt__p_wxWebKitCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWebKitStateChangedEvent[] = { {&_swigt__p_wxWebKitStateChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWebKitCtrl, _p_wxWebKitCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__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_wxBMPHandler, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWebKitCtrl, + _swigc__p_wxWebKitStateChangedEvent, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -2917,6 +3405,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 @@ -2934,7 +3633,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; @@ -2944,13 +3643,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; @@ -2963,7 +3662,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -2976,7 +3675,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) { @@ -2989,72 +3688,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; } @@ -3063,11 +3779,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); @@ -3104,7 +3820,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, @@ -3116,7 +3832,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]); @@ -3129,14 +3845,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; + } + } } } } @@ -3146,69 +3866,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 @@ -3217,63 +3874,42 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"WebKitNameStr",_wrap_WebKitNameStr_get, _wrap_WebKitNameStr_set); { - PyDict_SetItemString(d,"WEBKIT_STATE_START", SWIG_From_int((int)(wxWEBKIT_STATE_START))); + PyDict_SetItemString(d,"WEBKIT_STATE_START", SWIG_From_int(static_cast(wxWEBKIT_STATE_START))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int((int)(wxWEBKIT_STATE_NEGOTIATING))); + PyDict_SetItemString(d,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int(static_cast(wxWEBKIT_STATE_NEGOTIATING))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_REDIRECTING", SWIG_From_int((int)(wxWEBKIT_STATE_REDIRECTING))); + PyDict_SetItemString(d,"WEBKIT_STATE_REDIRECTING", SWIG_From_int(static_cast(wxWEBKIT_STATE_REDIRECTING))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int((int)(wxWEBKIT_STATE_TRANSFERRING))); + PyDict_SetItemString(d,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int(static_cast(wxWEBKIT_STATE_TRANSFERRING))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_STOP", SWIG_From_int((int)(wxWEBKIT_STATE_STOP))); + PyDict_SetItemString(d,"WEBKIT_STATE_STOP", SWIG_From_int(static_cast(wxWEBKIT_STATE_STOP))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_FAILED", SWIG_From_int((int)(wxWEBKIT_STATE_FAILED))); + PyDict_SetItemString(d,"WEBKIT_STATE_FAILED", SWIG_From_int(static_cast(wxWEBKIT_STATE_FAILED))); } PyDict_SetItemString(d, "wxEVT_WEBKIT_STATE_CHANGED", PyInt_FromLong(wxEVT_WEBKIT_STATE_CHANGED)); diff --git a/wxPython/src/gtk/wizard.py b/wxPython/src/gtk/wizard.py index 376181ba55..3363179f5a 100644 --- a/wxPython/src/gtk/wizard.py +++ b/wxPython/src/gtk/wizard.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -368,3 +368,4 @@ def PreWizard(*args, **kwargs): return val + diff --git a/wxPython/src/gtk/wizard_wrap.cpp b/wxPython/src/gtk/wizard_wrap.cpp index 127e67165e..181cf650cf 100644 --- a/wxPython/src/gtk/wizard_wrap.cpp +++ b/wxPython/src/gtk/wizard_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,36 +1431,167 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxObject swig_types[0] -#define SWIGTYPE_p_wxDialog swig_types[1] -#define SWIGTYPE_p_unsigned_char swig_types[2] -#define SWIGTYPE_p_wxWizardPageSimple swig_types[3] -#define SWIGTYPE_p_wxWizardPage swig_types[4] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_wxPyWizardPage swig_types[7] -#define SWIGTYPE_p_wxCommandEvent swig_types[8] -#define SWIGTYPE_p_unsigned_long swig_types[9] -#define SWIGTYPE_p_wxWizardEvent swig_types[10] -#define SWIGTYPE_p_wxBitmap swig_types[11] -#define SWIGTYPE_unsigned_int swig_types[12] -#define SWIGTYPE_p_unsigned_int swig_types[13] -#define SWIGTYPE_p_form_ops_t swig_types[14] -#define SWIGTYPE_p_wxDuplexMode swig_types[15] -#define SWIGTYPE_p_wxWizard swig_types[16] -#define SWIGTYPE_p_char swig_types[17] -#define SWIGTYPE_p_wxEvtHandler swig_types[18] -#define SWIGTYPE_p_wxString swig_types[19] -#define SWIGTYPE_std__ptrdiff_t swig_types[20] -#define SWIGTYPE_ptrdiff_t swig_types[21] -#define SWIGTYPE_p_wxNotifyEvent swig_types[22] -#define SWIGTYPE_p_wxPanel swig_types[23] -#define SWIGTYPE_p_wxEvent swig_types[24] -#define SWIGTYPE_p_wxPaperSize swig_types[25] -#define SWIGTYPE_p_wxSize swig_types[26] -#define SWIGTYPE_p_wxChar swig_types[27] -#define SWIGTYPE_p_int swig_types[28] -static swig_type_info *swig_types[30]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBitmap swig_types[10] +#define SWIGTYPE_p_wxBoxSizer swig_types[11] +#define SWIGTYPE_p_wxCURHandler swig_types[12] +#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[13] +#define SWIGTYPE_p_wxChar swig_types[14] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[15] +#define SWIGTYPE_p_wxCloseEvent swig_types[16] +#define SWIGTYPE_p_wxColourData swig_types[17] +#define SWIGTYPE_p_wxColourDialog swig_types[18] +#define SWIGTYPE_p_wxCommandEvent swig_types[19] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[20] +#define SWIGTYPE_p_wxControl swig_types[21] +#define SWIGTYPE_p_wxControlWithItems swig_types[22] +#define SWIGTYPE_p_wxDateEvent swig_types[23] +#define SWIGTYPE_p_wxDialog swig_types[24] +#define SWIGTYPE_p_wxDirDialog swig_types[25] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[27] +#define SWIGTYPE_p_wxDuplexMode swig_types[28] +#define SWIGTYPE_p_wxEraseEvent swig_types[29] +#define SWIGTYPE_p_wxEvent swig_types[30] +#define SWIGTYPE_p_wxEvtHandler swig_types[31] +#define SWIGTYPE_p_wxFSFile swig_types[32] +#define SWIGTYPE_p_wxFileDialog swig_types[33] +#define SWIGTYPE_p_wxFileSystem swig_types[34] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[35] +#define SWIGTYPE_p_wxFindReplaceData swig_types[36] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[37] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[38] +#define SWIGTYPE_p_wxFocusEvent swig_types[39] +#define SWIGTYPE_p_wxFontData swig_types[40] +#define SWIGTYPE_p_wxFontDialog swig_types[41] +#define SWIGTYPE_p_wxFrame swig_types[42] +#define SWIGTYPE_p_wxGBSizerItem swig_types[43] +#define SWIGTYPE_p_wxGIFHandler swig_types[44] +#define SWIGTYPE_p_wxGridBagSizer swig_types[45] +#define SWIGTYPE_p_wxGridSizer swig_types[46] +#define SWIGTYPE_p_wxICOHandler swig_types[47] +#define SWIGTYPE_p_wxIconizeEvent swig_types[48] +#define SWIGTYPE_p_wxIdleEvent swig_types[49] +#define SWIGTYPE_p_wxImage swig_types[50] +#define SWIGTYPE_p_wxImageHandler swig_types[51] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[52] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[53] +#define SWIGTYPE_p_wxJPEGHandler swig_types[54] +#define SWIGTYPE_p_wxKeyEvent swig_types[55] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[56] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[57] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[58] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[59] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[60] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[61] +#define SWIGTYPE_p_wxMenu swig_types[62] +#define SWIGTYPE_p_wxMenuBar swig_types[63] +#define SWIGTYPE_p_wxMenuEvent swig_types[64] +#define SWIGTYPE_p_wxMenuItem swig_types[65] +#define SWIGTYPE_p_wxMessageDialog swig_types[66] +#define SWIGTYPE_p_wxMiniFrame swig_types[67] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[68] +#define SWIGTYPE_p_wxMouseEvent swig_types[69] +#define SWIGTYPE_p_wxMoveEvent swig_types[70] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[71] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[72] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[73] +#define SWIGTYPE_p_wxNotifyEvent swig_types[74] +#define SWIGTYPE_p_wxObject swig_types[75] +#define SWIGTYPE_p_wxPCXHandler swig_types[76] +#define SWIGTYPE_p_wxPNGHandler swig_types[77] +#define SWIGTYPE_p_wxPNMHandler swig_types[78] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[79] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[80] +#define SWIGTYPE_p_wxPaintEvent swig_types[81] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[82] +#define SWIGTYPE_p_wxPanel swig_types[83] +#define SWIGTYPE_p_wxPaperSize swig_types[84] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[85] +#define SWIGTYPE_p_wxPopupWindow swig_types[86] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[87] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[88] +#define SWIGTYPE_p_wxPreviewFrame swig_types[89] +#define SWIGTYPE_p_wxPrintData swig_types[90] +#define SWIGTYPE_p_wxPrintDialog swig_types[91] +#define SWIGTYPE_p_wxPrintDialogData swig_types[92] +#define SWIGTYPE_p_wxPrintPreview swig_types[93] +#define SWIGTYPE_p_wxPrinter swig_types[94] +#define SWIGTYPE_p_wxProgressDialog swig_types[95] +#define SWIGTYPE_p_wxPyApp swig_types[96] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[97] +#define SWIGTYPE_p_wxPyEvent swig_types[98] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[99] +#define SWIGTYPE_p_wxPyImageHandler swig_types[100] +#define SWIGTYPE_p_wxPyPanel swig_types[101] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[102] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[103] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[104] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[105] +#define SWIGTYPE_p_wxPyPrintout swig_types[106] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[107] +#define SWIGTYPE_p_wxPySizer swig_types[108] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[109] +#define SWIGTYPE_p_wxPyVListBox swig_types[110] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[111] +#define SWIGTYPE_p_wxPyValidator swig_types[112] +#define SWIGTYPE_p_wxPyWindow swig_types[113] +#define SWIGTYPE_p_wxPyWizardPage swig_types[114] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[115] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[116] +#define SWIGTYPE_p_wxSashEvent swig_types[117] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[118] +#define SWIGTYPE_p_wxSashWindow swig_types[119] +#define SWIGTYPE_p_wxScrollEvent swig_types[120] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[121] +#define SWIGTYPE_p_wxScrolledWindow swig_types[122] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[123] +#define SWIGTYPE_p_wxShowEvent swig_types[124] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[125] +#define SWIGTYPE_p_wxSize swig_types[126] +#define SWIGTYPE_p_wxSizeEvent swig_types[127] +#define SWIGTYPE_p_wxSizer swig_types[128] +#define SWIGTYPE_p_wxSizerItem swig_types[129] +#define SWIGTYPE_p_wxSplashScreen swig_types[130] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[131] +#define SWIGTYPE_p_wxSplitterEvent swig_types[132] +#define SWIGTYPE_p_wxSplitterWindow swig_types[133] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[134] +#define SWIGTYPE_p_wxStatusBar swig_types[135] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136] +#define SWIGTYPE_p_wxString swig_types[137] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[138] +#define SWIGTYPE_p_wxTIFFHandler swig_types[139] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[140] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[141] +#define SWIGTYPE_p_wxTipWindow swig_types[142] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[143] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[144] +#define SWIGTYPE_p_wxValidator swig_types[145] +#define SWIGTYPE_p_wxWindow swig_types[146] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[147] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[148] +#define SWIGTYPE_p_wxWizard swig_types[149] +#define SWIGTYPE_p_wxWizardEvent swig_types[150] +#define SWIGTYPE_p_wxWizardPage swig_types[151] +#define SWIGTYPE_p_wxWizardPageSimple swig_types[152] +#define SWIGTYPE_p_wxXPMHandler swig_types[153] +#define SWIGTYPE_ptrdiff_t swig_types[154] +#define SWIGTYPE_std__ptrdiff_t swig_types[155] +#define SWIGTYPE_unsigned_int swig_types[156] +static swig_type_info *swig_types[158]; +static swig_module_info swig_module = {swig_types, 157, 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) -------- */ @@ -1389,7 +1612,7 @@ static swig_type_info *swig_types[30]; static const wxString wxPyEmptyString(wxEmptyString); - /*@/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 /*@@*/ @@ -1442,7 +1665,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; @@ -1456,7 +1679,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1464,7 +1687,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1503,7 +1726,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1517,14 +1740,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1538,7 +1761,7 @@ static bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap con } // C++ Version of a Python aware class class wxPyWizardPage : public wxWizardPage { - DECLARE_ABSTRACT_CLASS(wxPyWizardPage); + DECLARE_ABSTRACT_CLASS(wxPyWizardPage) public: wxPyWizardPage() : wxWizardPage() {} wxPyWizardPage(wxWizard *parent, @@ -1650,7 +1873,7 @@ static bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1664,7 +1887,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1674,7 +1897,7 @@ SWIG_Check_long(PyObject* obj) extern "C" { #endif static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) -1 ; bool arg3 = (bool) true ; @@ -1691,19 +1914,19 @@ static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_WizardEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -1726,7 +1949,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardEvent *arg1 = (wxWizardEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1754,7 +1977,7 @@ static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WizardEvent_GetPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardEvent *arg1 = (wxWizardEvent *) 0 ; wxWizardPage *result; PyObject * obj0 = 0 ; @@ -1789,7 +2012,7 @@ static PyObject * WizardEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPage *arg1 = (wxWizardPage *) 0 ; wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -1853,7 +2076,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WizardPage_GetPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPage *arg1 = (wxWizardPage *) 0 ; wxWizardPage *result; PyObject * obj0 = 0 ; @@ -1881,7 +2104,7 @@ static PyObject *_wrap_WizardPage_GetPrev(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_WizardPage_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPage *arg1 = (wxWizardPage *) 0 ; wxWizardPage *result; PyObject * obj0 = 0 ; @@ -1909,7 +2132,7 @@ static PyObject *_wrap_WizardPage_GetNext(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_WizardPage_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPage *arg1 = (wxWizardPage *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -1929,7 +2152,7 @@ static PyObject *_wrap_WizardPage_GetBitmap(PyObject *, PyObject *args, PyObject } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -1946,7 +2169,7 @@ static PyObject * WizardPage_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ; wxString *arg3 = (wxString *) &wxPyEmptyString ; @@ -1997,7 +2220,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PrePyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *result; char *kwnames[] = { NULL @@ -2020,7 +2243,7 @@ static PyObject *_wrap_new_PrePyWizardPage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -2084,7 +2307,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -2115,7 +2338,7 @@ static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int arg2 ; int arg3 ; @@ -2134,19 +2357,19 @@ static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2164,7 +2387,7 @@ static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int arg2 ; int arg3 ; @@ -2185,24 +2408,24 @@ static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -2221,7 +2444,7 @@ static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, P static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int arg2 ; int arg3 ; @@ -2236,11 +2459,11 @@ static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2258,7 +2481,7 @@ static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *a static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int arg2 ; int arg3 ; @@ -2273,11 +2496,11 @@ static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2295,7 +2518,7 @@ static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject * static PyObject *_wrap_PyWizardPage_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -2332,7 +2555,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetSize(PyObject *, PyObject *args, P static PyObject *_wrap_PyWizardPage_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -2369,7 +2592,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetClientSize(PyObject *, PyObject *a static PyObject *_wrap_PyWizardPage_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -2406,7 +2629,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetPosition(PyObject *, PyObject *arg static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -2426,7 +2649,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(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; @@ -2436,7 +2659,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject *, PyObject * static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -2456,7 +2679,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *arg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -2466,7 +2689,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *arg static PyObject *_wrap_PyWizardPage_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2491,7 +2714,7 @@ static PyObject *_wrap_PyWizardPage_base_InitDialog(PyObject *, PyObject *args, static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2519,7 +2742,7 @@ static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *, PyObje static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2547,7 +2770,7 @@ static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *, PyOb static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2575,7 +2798,7 @@ static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *, PyObject *args, Py static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2603,7 +2826,7 @@ static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *, PyObject *args static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2631,7 +2854,7 @@ static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *, Py static PyObject *_wrap_PyWizardPage_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -2651,7 +2874,7 @@ static PyObject *_wrap_PyWizardPage_base_GetMaxSize(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; @@ -2661,7 +2884,7 @@ static PyObject *_wrap_PyWizardPage_base_GetMaxSize(PyObject *, PyObject *args, static PyObject *_wrap_PyWizardPage_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -2690,7 +2913,7 @@ static PyObject *_wrap_PyWizardPage_base_AddChild(PyObject *, PyObject *args, Py static PyObject *_wrap_PyWizardPage_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -2726,7 +2949,7 @@ static PyObject * PyWizardPage_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) NULL ; wxWizardPage *arg3 = (wxWizardPage *) NULL ; @@ -2784,7 +3007,7 @@ static PyObject *_wrap_new_WizardPageSimple(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_PreWizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *result; char *kwnames[] = { NULL @@ -2807,7 +3030,7 @@ static PyObject *_wrap_new_PreWizardPageSimple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ; wxWizard *arg2 = (wxWizard *) NULL ; wxWizardPage *arg3 = (wxWizardPage *) NULL ; @@ -2872,7 +3095,7 @@ static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObj static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; PyObject * obj0 = 0 ; @@ -2901,7 +3124,7 @@ static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; PyObject * obj0 = 0 ; @@ -2930,7 +3153,7 @@ static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WizardPageSimple_Chain(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ; wxWizardPageSimple *arg2 = (wxWizardPageSimple *) 0 ; PyObject * obj0 = 0 ; @@ -2966,7 +3189,7 @@ static PyObject * WizardPageSimple_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -2994,7 +3217,7 @@ static PyObject *_wrap_new_Wizard(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; } } @@ -3023,7 +3246,7 @@ static PyObject *_wrap_new_Wizard(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; } } @@ -3051,7 +3274,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreWizard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *result; char *kwnames[] = { NULL @@ -3074,7 +3297,7 @@ static PyObject *_wrap_new_PreWizard(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3104,7 +3327,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -3156,7 +3379,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Wizard_Init(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3181,7 +3404,7 @@ static PyObject *_wrap_Wizard_Init(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; bool result; @@ -3213,7 +3436,7 @@ static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *result; PyObject * obj0 = 0 ; @@ -3241,7 +3464,7 @@ static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Wizard_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3273,7 +3496,7 @@ static PyObject *_wrap_Wizard_SetPageSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -3293,7 +3516,7 @@ static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject * } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3303,7 +3526,7 @@ static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Wizard_FitToPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; PyObject * obj0 = 0 ; @@ -3332,7 +3555,7 @@ static PyObject *_wrap_Wizard_FitToPage(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -3360,7 +3583,7 @@ static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3373,7 +3596,7 @@ static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3391,7 +3614,7 @@ static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3419,7 +3642,7 @@ static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; bool arg3 = (bool) true ; @@ -3438,7 +3661,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -3459,7 +3682,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; bool result; @@ -3491,7 +3714,7 @@ static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Wizard_HasPrevPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; bool result; @@ -4623,67 +4846,640 @@ static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); } -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_wxWizardPage", _p_wxWizardPageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_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_wxWizardPageSimple", _p_wxWizardPageSimpleTo_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_wxWizard", _p_wxWizardTo_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_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_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_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_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxTipWindow", _p_wxTipWindowTo_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_wxWizardEvent", _p_wxWizardEventTo_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_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},{"_p_wxWizard", _p_wxWizardTo_p_wxDialog, 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_wxWizardPageSimple[] = {{"_p_wxWizardPageSimple", 0, "wxWizardPageSimple *", 0, 0, 0, 0},{"_p_wxWizardPageSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWizardPage[] = {{"_p_wxWizardPage", 0, "wxWizardPage *", 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWizardPage, 0, 0, 0, 0, 0},{"_p_wxWizardPage", 0, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWizardPage, 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_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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_wxWizardPage", _p_wxWizardPageTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWindow, 0, 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_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_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_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_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_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_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_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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_wxWizard", _p_wxWizardTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_wxPyWizardPage[] = {{"_p_wxPyWizardPage", 0, "wxPyWizardPage *", 0, 0, 0, 0},{"_p_wxPyWizardPage", 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_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_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_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 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_wxWizardEvent[] = {{"_p_wxWizardEvent", 0, "wxWizardEvent *", 0, 0, 0, 0},{"_p_wxWizardEvent", 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_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_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_wxWizard[] = {{"_p_wxWizard", 0, "wxWizard *", 0, 0, 0, 0},{"_p_wxWizard", 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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxEvtHandler, 0, 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_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxMessageDialog", _p_wxMessageDialogTo_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_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_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_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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_wxWizard", _p_wxWizardTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_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__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__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__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},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxNotifyEvent, 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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_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},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxPanel, 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_wxWizardEvent", _p_wxWizardEventTo_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_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_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_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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 *swig_types_initial[] = { -_swigt__p_wxObject, -_swigt__p_wxDialog, -_swigt__p_unsigned_char, -_swigt__p_wxWizardPageSimple, -_swigt__p_wxWizardPage, -_swigt__p_wxTopLevelWindow, -_swigt__p_wxWindow, -_swigt__p_wxPyWizardPage, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_wxWizardEvent, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxWizard, -_swigt__p_char, -_swigt__p_wxEvtHandler, -_swigt__p_wxString, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxNotifyEvent, -_swigt__p_wxPanel, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_wxSize, -_swigt__p_wxChar, -_swigt__p_int, -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_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 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_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 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_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 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_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 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_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 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_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 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_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 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_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 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_wxPyWizardPage = {"_p_wxPyWizardPage", "wxPyWizardPage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWizard = {"_p_wxWizard", "wxWizard *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWizardEvent = {"_p_wxWizardEvent", "wxWizardEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWizardPage = {"_p_wxWizardPage", "wxWizardPage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWizardPageSimple = {"_p_wxWizardPageSimple", "wxWizardPageSimple *", 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_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCalculateLayoutEvent, + &_swigt__p_wxChar, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColourData, + &_swigt__p_wxColourDialog, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_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_wxFontData, + &_swigt__p_wxFontDialog, + &_swigt__p_wxFrame, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_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_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_wxPyWizardPage, + &_swigt__p_wxQueryLayoutInfoEvent, + &_swigt__p_wxQueryNewPaletteEvent, + &_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_wxTaskBarIconEvent, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTipWindow, + &_swigt__p_wxTopLevelWindow, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxWizard, + &_swigt__p_wxWizardEvent, + &_swigt__p_wxWizardPage, + &_swigt__p_wxWizardPageSimple, + &_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_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 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_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 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_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 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_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 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_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 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_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 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_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 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_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 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_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}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxDialog, 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_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 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_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 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_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_wxWizardEvent, _p_wxWizardEventTo_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_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 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_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 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_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 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_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 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_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 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_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 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_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 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_wxControl[] = {{&_swigt__p_wxControl, 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_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_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 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_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 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_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 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_wxFrame[] = {{&_swigt__p_wxFrame, 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_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxEvtHandler, 0, 0}, {&_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_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_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_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxWizard, _p_wxWizardTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxNotifyEvent, 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_wxFontData[] = {{&_swigt__p_wxFontData, 0, 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_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_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 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_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 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_wxColourData[] = {{&_swigt__p_wxColourData, 0, 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_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 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_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 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_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 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_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 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_wxWizardPage, _p_wxWizardPageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_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_wxWizardPageSimple, _p_wxWizardPageSimpleTo_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_wxWizard, _p_wxWizardTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxWizardEvent, _p_wxWizardEventTo_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_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_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}, {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_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_wxPyWizardPage[] = { {&_swigt__p_wxPyWizardPage, 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_wxString[] = { {&_swigt__p_wxString, 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_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWindow, 0, 0}, {&_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_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_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_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxWizard, _p_wxWizardTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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__p_wxWizard[] = { {&_swigt__p_wxWizard, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWizardEvent[] = { {&_swigt__p_wxWizardEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWizardPage[] = { {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWizardPage, 0, 0}, {&_swigt__p_wxWizardPage, 0, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWizardPage, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWizardPageSimple[] = { {&_swigt__p_wxWizardPageSimple, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxCalculateLayoutEvent, + _swigc__p_wxChar, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColourData, + _swigc__p_wxColourDialog, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _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_wxFontData, + _swigc__p_wxFontDialog, + _swigc__p_wxFrame, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_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_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_wxPyWizardPage, + _swigc__p_wxQueryLayoutInfoEvent, + _swigc__p_wxQueryNewPaletteEvent, + _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_wxTaskBarIconEvent, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTipWindow, + _swigc__p_wxTopLevelWindow, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxWizard, + _swigc__p_wxWizardEvent, + _swigc__p_wxWizardPage, + _swigc__p_wxWizardPageSimple, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -4695,6 +5491,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 @@ -4712,7 +5719,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; @@ -4722,13 +5729,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; @@ -4741,7 +5748,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -4754,7 +5761,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) { @@ -4767,72 +5774,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; } @@ -4841,11 +5865,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); @@ -4882,7 +5906,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, @@ -4894,7 +5918,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]); @@ -4907,14 +5931,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; + } + } } } } @@ -4924,69 +5952,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 @@ -4995,46 +5960,25 @@ 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,"WIZARD_EX_HELPBUTTON", SWIG_From_int((int)(wxWIZARD_EX_HELPBUTTON))); + PyDict_SetItemString(d,"WIZARD_EX_HELPBUTTON", SWIG_From_int(static_cast(wxWIZARD_EX_HELPBUTTON))); } PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING)); diff --git a/wxPython/src/gtk/xrc.py b/wxPython/src/gtk/xrc.py index 1e7fb47292..e61362dd49 100644 --- a/wxPython/src/gtk/xrc.py +++ b/wxPython/src/gtk/xrc.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -738,3 +738,4 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python()) #---------------------------------------------------------------------------- + diff --git a/wxPython/src/gtk/xrc_wrap.cpp b/wxPython/src/gtk/xrc_wrap.cpp index e7c5c677e8..b4d721646d 100644 --- a/wxPython/src/gtk/xrc_wrap.cpp +++ b/wxPython/src/gtk/xrc_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,39 +1431,116 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxFrame swig_types[0] -#define SWIGTYPE_p_wxIcon swig_types[1] -#define SWIGTYPE_p_wxObject swig_types[2] -#define SWIGTYPE_p_unsigned_char swig_types[3] -#define SWIGTYPE_p_wxDialog swig_types[4] -#define SWIGTYPE_p_wxColour swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_wxArtClient swig_types[7] -#define SWIGTYPE_p_unsigned_long swig_types[8] -#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[9] -#define SWIGTYPE_p_wxBitmap swig_types[10] -#define SWIGTYPE_p_form_ops_t swig_types[11] -#define SWIGTYPE_p_unsigned_int swig_types[12] -#define SWIGTYPE_unsigned_int swig_types[13] -#define SWIGTYPE_p_wxDuplexMode swig_types[14] -#define SWIGTYPE_p_char swig_types[15] -#define SWIGTYPE_p_wxPoint swig_types[16] -#define SWIGTYPE_p_wxXmlNode swig_types[17] -#define SWIGTYPE_p_wxInputStream swig_types[18] -#define SWIGTYPE_p_wxOutputStream swig_types[19] -#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[20] -#define SWIGTYPE_p_wxFileSystem swig_types[21] -#define SWIGTYPE_std__ptrdiff_t swig_types[22] -#define SWIGTYPE_ptrdiff_t swig_types[23] -#define SWIGTYPE_p_wxXmlProperty swig_types[24] -#define SWIGTYPE_p_wxFont swig_types[25] -#define SWIGTYPE_p_wxXmlResource swig_types[26] -#define SWIGTYPE_p_wxPanel swig_types[27] -#define SWIGTYPE_p_wxXmlDocument swig_types[28] -#define SWIGTYPE_p_wxPaperSize swig_types[29] -#define SWIGTYPE_p_wxSize swig_types[30] -#define SWIGTYPE_p_int swig_types[31] -static swig_type_info *swig_types[33]; +#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_wxArtClient 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_wxChildFocusEvent swig_types[14] +#define SWIGTYPE_p_wxCloseEvent swig_types[15] +#define SWIGTYPE_p_wxColour swig_types[16] +#define SWIGTYPE_p_wxCommandEvent swig_types[17] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[18] +#define SWIGTYPE_p_wxControl swig_types[19] +#define SWIGTYPE_p_wxControlWithItems swig_types[20] +#define SWIGTYPE_p_wxDateEvent swig_types[21] +#define SWIGTYPE_p_wxDialog swig_types[22] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[24] +#define SWIGTYPE_p_wxDuplexMode swig_types[25] +#define SWIGTYPE_p_wxEraseEvent swig_types[26] +#define SWIGTYPE_p_wxEvent swig_types[27] +#define SWIGTYPE_p_wxEvtHandler swig_types[28] +#define SWIGTYPE_p_wxFSFile swig_types[29] +#define SWIGTYPE_p_wxFileSystem swig_types[30] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[31] +#define SWIGTYPE_p_wxFocusEvent swig_types[32] +#define SWIGTYPE_p_wxFont swig_types[33] +#define SWIGTYPE_p_wxFrame swig_types[34] +#define SWIGTYPE_p_wxGBSizerItem swig_types[35] +#define SWIGTYPE_p_wxGIFHandler swig_types[36] +#define SWIGTYPE_p_wxGridBagSizer swig_types[37] +#define SWIGTYPE_p_wxGridSizer swig_types[38] +#define SWIGTYPE_p_wxICOHandler swig_types[39] +#define SWIGTYPE_p_wxIcon swig_types[40] +#define SWIGTYPE_p_wxIconizeEvent swig_types[41] +#define SWIGTYPE_p_wxIdleEvent swig_types[42] +#define SWIGTYPE_p_wxImage swig_types[43] +#define SWIGTYPE_p_wxImageHandler swig_types[44] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[45] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[46] +#define SWIGTYPE_p_wxInputStream swig_types[47] +#define SWIGTYPE_p_wxJPEGHandler swig_types[48] +#define SWIGTYPE_p_wxKeyEvent swig_types[49] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[50] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[51] +#define SWIGTYPE_p_wxMenu swig_types[52] +#define SWIGTYPE_p_wxMenuBar swig_types[53] +#define SWIGTYPE_p_wxMenuEvent swig_types[54] +#define SWIGTYPE_p_wxMenuItem swig_types[55] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[56] +#define SWIGTYPE_p_wxMouseEvent swig_types[57] +#define SWIGTYPE_p_wxMoveEvent swig_types[58] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[59] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[60] +#define SWIGTYPE_p_wxNotifyEvent swig_types[61] +#define SWIGTYPE_p_wxObject swig_types[62] +#define SWIGTYPE_p_wxOutputStream swig_types[63] +#define SWIGTYPE_p_wxPCXHandler swig_types[64] +#define SWIGTYPE_p_wxPNGHandler swig_types[65] +#define SWIGTYPE_p_wxPNMHandler swig_types[66] +#define SWIGTYPE_p_wxPaintEvent swig_types[67] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[68] +#define SWIGTYPE_p_wxPanel swig_types[69] +#define SWIGTYPE_p_wxPaperSize swig_types[70] +#define SWIGTYPE_p_wxPoint swig_types[71] +#define SWIGTYPE_p_wxPyApp swig_types[72] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[73] +#define SWIGTYPE_p_wxPyEvent swig_types[74] +#define SWIGTYPE_p_wxPyImageHandler swig_types[75] +#define SWIGTYPE_p_wxPySizer swig_types[76] +#define SWIGTYPE_p_wxPyValidator swig_types[77] +#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[78] +#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[79] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[80] +#define SWIGTYPE_p_wxScrollEvent swig_types[81] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[82] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[83] +#define SWIGTYPE_p_wxShowEvent swig_types[84] +#define SWIGTYPE_p_wxSize swig_types[85] +#define SWIGTYPE_p_wxSizeEvent swig_types[86] +#define SWIGTYPE_p_wxSizer swig_types[87] +#define SWIGTYPE_p_wxSizerItem swig_types[88] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[89] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[90] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[91] +#define SWIGTYPE_p_wxTIFFHandler swig_types[92] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[93] +#define SWIGTYPE_p_wxValidator swig_types[94] +#define SWIGTYPE_p_wxWindow swig_types[95] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[96] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[97] +#define SWIGTYPE_p_wxXPMHandler swig_types[98] +#define SWIGTYPE_p_wxXmlDocument swig_types[99] +#define SWIGTYPE_p_wxXmlNode swig_types[100] +#define SWIGTYPE_p_wxXmlProperty swig_types[101] +#define SWIGTYPE_p_wxXmlResource swig_types[102] +#define SWIGTYPE_ptrdiff_t swig_types[103] +#define SWIGTYPE_std__ptrdiff_t swig_types[104] +#define SWIGTYPE_unsigned_int swig_types[105] +static swig_type_info *swig_types[107]; +static swig_module_info swig_module = {swig_types, 106, 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) -------- */ @@ -1399,7 +1568,7 @@ static swig_type_info *swig_types[33]; static const wxString wxPyIconString(wxT("icon")); static const wxString wxPyFontString(wxT("font")); - /*@/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 /*@@*/ @@ -1452,7 +1621,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; @@ -1466,7 +1635,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1474,7 +1643,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1488,7 +1657,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1520,7 +1689,7 @@ static bool wxXmlResource_LoadFromString(wxXmlResource *self,wxString const &dat return retval; } - /*@/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 /*@@*/ @@ -1675,7 +1844,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1689,14 +1858,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1710,7 +1879,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1726,7 +1895,7 @@ static int _wrap_UTF8String_set(PyObject *) { static PyObject *_wrap_UTF8String_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1746,7 +1915,7 @@ static int _wrap_StyleString_set(PyObject *) { static PyObject *_wrap_StyleString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1766,7 +1935,7 @@ static int _wrap_SizeString_set(PyObject *) { static PyObject *_wrap_SizeString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1786,7 +1955,7 @@ static int _wrap_PosString_set(PyObject *) { static PyObject *_wrap_PosString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1806,7 +1975,7 @@ static int _wrap_BitmapString_set(PyObject *) { static PyObject *_wrap_BitmapString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1826,7 +1995,7 @@ static int _wrap_IconString_set(PyObject *) { static PyObject *_wrap_IconString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1846,7 +2015,7 @@ static int _wrap_FontString_set(PyObject *) { static PyObject *_wrap_FontString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1860,7 +2029,7 @@ static PyObject *_wrap_FontString_get(void) { static PyObject *_wrap_new_XmlResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 = (int) wxXRC_USE_LOCALE ; wxXmlResource *result; @@ -1879,7 +2048,7 @@ static PyObject *_wrap_new_XmlResource(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -1906,7 +2075,7 @@ static PyObject *_wrap_new_XmlResource(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_EmptyXmlResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxXRC_USE_LOCALE ; wxXmlResource *result; PyObject * obj0 = 0 ; @@ -1917,7 +2086,7 @@ static PyObject *_wrap_new_EmptyXmlResource(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_EmptyXmlResource",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; } } @@ -1936,7 +2105,7 @@ static PyObject *_wrap_new_EmptyXmlResource(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_XmlResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1961,7 +2130,7 @@ static PyObject *_wrap_delete_XmlResource(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlResource_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2005,7 +2174,7 @@ static PyObject *_wrap_XmlResource_Load(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlResource_LoadFromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2049,7 +2218,7 @@ static PyObject *_wrap_XmlResource_LoadFromString(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResource_Unload(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2093,7 +2262,7 @@ static PyObject *_wrap_XmlResource_Unload(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlResource_InitAllHandlers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2118,7 +2287,7 @@ static PyObject *_wrap_XmlResource_InitAllHandlers(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResource_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxPyXmlResourceHandler *arg2 = (wxPyXmlResourceHandler *) 0 ; PyObject * obj0 = 0 ; @@ -2147,7 +2316,7 @@ static PyObject *_wrap_XmlResource_AddHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxPyXmlResourceHandler *arg2 = (wxPyXmlResourceHandler *) 0 ; PyObject * obj0 = 0 ; @@ -2176,7 +2345,7 @@ static PyObject *_wrap_XmlResource_InsertHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_XmlResource_ClearHandlers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2201,7 +2370,7 @@ static PyObject *_wrap_XmlResource_ClearHandlers(PyObject *, PyObject *args, PyO static PyObject *_wrap_XmlResource_AddSubclassFactory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlSubclassFactory *arg1 = (wxPyXmlSubclassFactory *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2226,7 +2395,7 @@ static PyObject *_wrap_XmlResource_AddSubclassFactory(PyObject *, PyObject *args static PyObject *_wrap_XmlResource_LoadMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxMenu *result; @@ -2270,7 +2439,7 @@ static PyObject *_wrap_XmlResource_LoadMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlResource_LoadMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxMenuBar *result; @@ -2314,7 +2483,7 @@ static PyObject *_wrap_XmlResource_LoadMenuBar(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlResource_LoadMenuBarOnFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2362,7 +2531,7 @@ static PyObject *_wrap_XmlResource_LoadMenuBarOnFrame(PyObject *, PyObject *args static PyObject *_wrap_XmlResource_LoadToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2410,7 +2579,7 @@ static PyObject *_wrap_XmlResource_LoadToolBar(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlResource_LoadDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2458,7 +2627,7 @@ static PyObject *_wrap_XmlResource_LoadDialog(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_LoadOnDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxDialog *arg2 = (wxDialog *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2510,7 +2679,7 @@ static PyObject *_wrap_XmlResource_LoadOnDialog(PyObject *, PyObject *args, PyOb static PyObject *_wrap_XmlResource_LoadPanel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2558,7 +2727,7 @@ static PyObject *_wrap_XmlResource_LoadPanel(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_XmlResource_LoadOnPanel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxPanel *arg2 = (wxPanel *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2610,7 +2779,7 @@ static PyObject *_wrap_XmlResource_LoadOnPanel(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlResource_LoadFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2658,7 +2827,7 @@ static PyObject *_wrap_XmlResource_LoadFrame(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_XmlResource_LoadOnFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2710,7 +2879,7 @@ static PyObject *_wrap_XmlResource_LoadOnFrame(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlResource_LoadObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2774,7 +2943,7 @@ static PyObject *_wrap_XmlResource_LoadObject(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_LoadOnObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxObject *arg2 = (wxObject *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2842,7 +3011,7 @@ static PyObject *_wrap_XmlResource_LoadOnObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_XmlResource_LoadBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxBitmap result; @@ -2870,7 +3039,7 @@ static PyObject *_wrap_XmlResource_LoadBitmap(PyObject *, PyObject *args, PyObje } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } { @@ -2888,7 +3057,7 @@ static PyObject *_wrap_XmlResource_LoadBitmap(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_LoadIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxIcon result; @@ -2916,7 +3085,7 @@ static PyObject *_wrap_XmlResource_LoadIcon(PyObject *, PyObject *args, PyObject } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } { @@ -2934,7 +3103,7 @@ static PyObject *_wrap_XmlResource_LoadIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlResource_AttachUnknownControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2988,7 +3157,7 @@ static PyObject *_wrap_XmlResource_AttachUnknownControl(PyObject *, PyObject *ar static PyObject *_wrap_XmlResource_GetXRCID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int result; bool temp1 = false ; @@ -3011,7 +3180,7 @@ static PyObject *_wrap_XmlResource_GetXRCID(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -3028,7 +3197,7 @@ static PyObject *_wrap_XmlResource_GetXRCID(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlResource_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; long result; PyObject * obj0 = 0 ; @@ -3047,7 +3216,7 @@ static PyObject *_wrap_XmlResource_GetVersion(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -3056,7 +3225,7 @@ static PyObject *_wrap_XmlResource_GetVersion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_CompareVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; int arg2 ; int arg3 ; @@ -3076,19 +3245,19 @@ static PyObject *_wrap_XmlResource_CompareVersion(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxXmlResource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3099,7 +3268,7 @@ static PyObject *_wrap_XmlResource_CompareVersion(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: @@ -3108,7 +3277,7 @@ static PyObject *_wrap_XmlResource_CompareVersion(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResource_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *result; char *kwnames[] = { NULL @@ -3130,7 +3299,7 @@ static PyObject *_wrap_XmlResource_Get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlResource_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxXmlResource *result; PyObject * obj0 = 0 ; @@ -3156,7 +3325,7 @@ static PyObject *_wrap_XmlResource_Set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlResource_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3175,7 +3344,7 @@ static PyObject *_wrap_XmlResource_GetFlags(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: @@ -3184,7 +3353,7 @@ static PyObject *_wrap_XmlResource_GetFlags(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlResource_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3197,7 +3366,7 @@ static PyObject *_wrap_XmlResource_SetFlags(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxXmlResource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3222,7 +3391,7 @@ static PyObject * XmlResource_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlSubclassFactory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlSubclassFactory *result; char *kwnames[] = { NULL @@ -3244,7 +3413,7 @@ static PyObject *_wrap_new_XmlSubclassFactory(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlSubclassFactory__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlSubclassFactory *arg1 = (wxPyXmlSubclassFactory *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -3282,7 +3451,7 @@ static PyObject * XmlSubclassFactory_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlProperty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -3348,7 +3517,7 @@ static PyObject *_wrap_new_XmlProperty(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlProperty_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3380,7 +3549,7 @@ static PyObject *_wrap_XmlProperty_GetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3412,7 +3581,7 @@ static PyObject *_wrap_XmlProperty_GetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxXmlProperty *result; PyObject * obj0 = 0 ; @@ -3438,7 +3607,7 @@ static PyObject *_wrap_XmlProperty_GetNext(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3479,7 +3648,7 @@ static PyObject *_wrap_XmlProperty_SetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3520,7 +3689,7 @@ static PyObject *_wrap_XmlProperty_SetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxXmlProperty *arg2 = (wxXmlProperty *) 0 ; PyObject * obj0 = 0 ; @@ -3556,7 +3725,7 @@ static PyObject * XmlProperty_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) NULL ; wxXmlNodeType arg2 = (wxXmlNodeType) 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3585,7 +3754,7 @@ static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) } if (obj1) { { - arg2 = (wxXmlNodeType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3613,7 +3782,7 @@ static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxXmlNode *)new wxXmlNode(arg1,(wxXmlNodeType )arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6); + result = (wxXmlNode *)new wxXmlNode(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3642,7 +3811,7 @@ static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3667,7 +3836,7 @@ static PyObject *_wrap_delete_XmlNode(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNodeType arg1 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3684,7 +3853,7 @@ static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_XmlNodeEasy",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (wxXmlNodeType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3701,7 +3870,7 @@ static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwa } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxXmlNode *)new wxXmlNode((wxXmlNodeType )arg1,(wxString const &)*arg2,(wxString const &)*arg3); + result = (wxXmlNode *)new wxXmlNode(arg1,(wxString const &)*arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3730,7 +3899,7 @@ static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -3759,7 +3928,7 @@ static PyObject *_wrap_XmlNode_AddChild(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlNode_InsertChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxXmlNode *arg3 = (wxXmlNode *) 0 ; @@ -3792,7 +3961,7 @@ static PyObject *_wrap_XmlNode_InsertChild(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; bool result; @@ -3824,7 +3993,7 @@ static PyObject *_wrap_XmlNode_RemoveChild(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_AddProperty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlProperty *arg2 = (wxXmlProperty *) 0 ; PyObject * obj0 = 0 ; @@ -3853,7 +4022,7 @@ static PyObject *_wrap_XmlNode_AddProperty(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_AddPropertyName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -3910,7 +4079,7 @@ static PyObject *_wrap_XmlNode_AddPropertyName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlNode_DeleteProperty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; bool result; @@ -3954,7 +4123,7 @@ static PyObject *_wrap_XmlNode_DeleteProperty(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlNode_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNodeType result; PyObject * obj0 = 0 ; @@ -3980,7 +4149,7 @@ static PyObject *_wrap_XmlNode_GetType(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4012,7 +4181,7 @@ static PyObject *_wrap_XmlNode_GetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_GetContent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4044,7 +4213,7 @@ static PyObject *_wrap_XmlNode_GetContent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlNode_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -4070,7 +4239,7 @@ static PyObject *_wrap_XmlNode_GetParent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_XmlNode_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -4096,7 +4265,7 @@ static PyObject *_wrap_XmlNode_GetNext(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -4122,7 +4291,7 @@ static PyObject *_wrap_XmlNode_GetChildren(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_GetProperties(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlProperty *result; PyObject * obj0 = 0 ; @@ -4148,7 +4317,7 @@ static PyObject *_wrap_XmlNode_GetProperties(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_XmlNode_GetPropVal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -4212,7 +4381,7 @@ static PyObject *_wrap_XmlNode_GetPropVal(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlNode_HasProp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; bool result; @@ -4256,7 +4425,7 @@ static PyObject *_wrap_XmlNode_HasProp(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNodeType arg2 ; PyObject * obj0 = 0 ; @@ -4269,12 +4438,12 @@ static PyObject *_wrap_XmlNode_SetType(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxXmlNode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxXmlNodeType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetType((wxXmlNodeType )arg2); + (arg1)->SetType(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4287,7 +4456,7 @@ static PyObject *_wrap_XmlNode_SetType(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4328,7 +4497,7 @@ static PyObject *_wrap_XmlNode_SetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_SetContent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4369,7 +4538,7 @@ static PyObject *_wrap_XmlNode_SetContent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlNode_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -4398,7 +4567,7 @@ static PyObject *_wrap_XmlNode_SetParent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_XmlNode_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -4427,7 +4596,7 @@ static PyObject *_wrap_XmlNode_SetNext(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_SetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -4456,7 +4625,7 @@ static PyObject *_wrap_XmlNode_SetChildren(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_SetProperties(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlProperty *arg2 = (wxXmlProperty *) 0 ; PyObject * obj0 = 0 ; @@ -4492,7 +4661,7 @@ static PyObject * XmlNode_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyUTF8String ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -4549,7 +4718,7 @@ static PyObject *_wrap_new_XmlDocument(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_XmlDocumentFromStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; wxString const &arg2_defvalue = wxPyUTF8String ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -4614,7 +4783,7 @@ static PyObject *_wrap_new_XmlDocumentFromStream(PyObject *, PyObject *args, PyO static PyObject *_wrap_new_EmptyXmlDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *result; char *kwnames[] = { NULL @@ -4636,7 +4805,7 @@ static PyObject *_wrap_new_EmptyXmlDocument(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_XmlDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4661,7 +4830,7 @@ static PyObject *_wrap_delete_XmlDocument(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlDocument_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyUTF8String ; @@ -4724,7 +4893,7 @@ static PyObject *_wrap_XmlDocument_Load(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlDocument_LoadFromStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxInputStream *arg2 = 0 ; wxString const &arg3_defvalue = wxPyUTF8String ; @@ -4795,7 +4964,7 @@ static PyObject *_wrap_XmlDocument_LoadFromStream(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlDocument_Save(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString *arg2 = 0 ; bool result; @@ -4839,7 +5008,7 @@ static PyObject *_wrap_XmlDocument_Save(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlDocument_SaveToStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxOutputStream *arg2 = 0 ; bool result; @@ -4877,7 +5046,7 @@ static PyObject *_wrap_XmlDocument_SaveToStream(PyObject *, PyObject *args, PyOb static PyObject *_wrap_XmlDocument_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4905,7 +5074,7 @@ static PyObject *_wrap_XmlDocument_IsOk(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlDocument_GetRoot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -4931,7 +5100,7 @@ static PyObject *_wrap_XmlDocument_GetRoot(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlDocument_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4963,7 +5132,7 @@ static PyObject *_wrap_XmlDocument_GetVersion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlDocument_GetFileEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4995,7 +5164,7 @@ static PyObject *_wrap_XmlDocument_GetFileEncoding(PyObject *, PyObject *args, P static PyObject *_wrap_XmlDocument_SetRoot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -5024,7 +5193,7 @@ static PyObject *_wrap_XmlDocument_SetRoot(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlDocument_SetVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5065,7 +5234,7 @@ static PyObject *_wrap_XmlDocument_SetVersion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlDocument_SetFileEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5113,7 +5282,7 @@ static PyObject * XmlDocument_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlResourceHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *result; char *kwnames[] = { NULL @@ -5135,7 +5304,7 @@ static PyObject *_wrap_new_XmlResourceHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResourceHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -5166,7 +5335,7 @@ static PyObject *_wrap_XmlResourceHandler__setCallbackInfo(PyObject *, PyObject static PyObject *_wrap_XmlResourceHandler_CreateResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxObject *arg3 = (wxObject *) 0 ; @@ -5206,7 +5375,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateResource(PyObject *, PyObject *a static PyObject *_wrap_XmlResourceHandler_SetParentResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlResource *arg2 = (wxXmlResource *) 0 ; PyObject * obj0 = 0 ; @@ -5235,7 +5404,7 @@ static PyObject *_wrap_XmlResourceHandler_SetParentResource(PyObject *, PyObject static PyObject *_wrap_XmlResourceHandler_GetResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlResource *result; PyObject * obj0 = 0 ; @@ -5261,7 +5430,7 @@ static PyObject *_wrap_XmlResourceHandler_GetResource(PyObject *, PyObject *args static PyObject *_wrap_XmlResourceHandler_GetNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -5287,7 +5456,7 @@ static PyObject *_wrap_XmlResourceHandler_GetNode(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetClass(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -5319,7 +5488,7 @@ static PyObject *_wrap_XmlResourceHandler_GetClass(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResourceHandler_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxObject *result; PyObject * obj0 = 0 ; @@ -5347,7 +5516,7 @@ static PyObject *_wrap_XmlResourceHandler_GetParent(PyObject *, PyObject *args, static PyObject *_wrap_XmlResourceHandler_GetInstance(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxObject *result; PyObject * obj0 = 0 ; @@ -5375,7 +5544,7 @@ static PyObject *_wrap_XmlResourceHandler_GetInstance(PyObject *, PyObject *args static PyObject *_wrap_XmlResourceHandler_GetParentAsWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -5403,7 +5572,7 @@ static PyObject *_wrap_XmlResourceHandler_GetParentAsWindow(PyObject *, PyObject static PyObject *_wrap_XmlResourceHandler_IsOfClass(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxString *arg3 = 0 ; @@ -5451,7 +5620,7 @@ static PyObject *_wrap_XmlResourceHandler_IsOfClass(PyObject *, PyObject *args, static PyObject *_wrap_XmlResourceHandler_GetNodeContent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxString result; @@ -5487,7 +5656,7 @@ static PyObject *_wrap_XmlResourceHandler_GetNodeContent(PyObject *, PyObject *a static PyObject *_wrap_XmlResourceHandler_HasParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -5531,7 +5700,7 @@ static PyObject *_wrap_XmlResourceHandler_HasParam(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResourceHandler_GetParamNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; wxXmlNode *result; @@ -5573,7 +5742,7 @@ static PyObject *_wrap_XmlResourceHandler_GetParamNode(PyObject *, PyObject *arg static PyObject *_wrap_XmlResourceHandler_GetParamValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -5621,7 +5790,7 @@ static PyObject *_wrap_XmlResourceHandler_GetParamValue(PyObject *, PyObject *ar static PyObject *_wrap_XmlResourceHandler_AddStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -5642,7 +5811,7 @@ static PyObject *_wrap_XmlResourceHandler_AddStyle(PyObject *, PyObject *args, P temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5668,7 +5837,7 @@ static PyObject *_wrap_XmlResourceHandler_AddStyle(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResourceHandler_AddWindowStyles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5693,7 +5862,7 @@ static PyObject *_wrap_XmlResourceHandler_AddWindowStyles(PyObject *, PyObject * static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyStyleString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -5719,7 +5888,7 @@ static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5731,7 +5900,7 @@ static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -5748,7 +5917,7 @@ static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResourceHandler_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -5771,7 +5940,7 @@ static PyObject *_wrap_XmlResourceHandler_GetText(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5804,7 +5973,7 @@ static PyObject *_wrap_XmlResourceHandler_GetText(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5823,7 +5992,7 @@ static PyObject *_wrap_XmlResourceHandler_GetID(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: @@ -5832,7 +6001,7 @@ static PyObject *_wrap_XmlResourceHandler_GetID(PyObject *, PyObject *args, PyOb static PyObject *_wrap_XmlResourceHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -5864,7 +6033,7 @@ static PyObject *_wrap_XmlResourceHandler_GetName(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -5887,7 +6056,7 @@ static PyObject *_wrap_XmlResourceHandler_GetBool(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5916,7 +6085,7 @@ static PyObject *_wrap_XmlResourceHandler_GetBool(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) 0 ; @@ -5939,7 +6108,7 @@ static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5951,7 +6120,7 @@ static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp2) @@ -5968,7 +6137,7 @@ static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; wxColour result; @@ -5996,7 +6165,7 @@ static PyObject *_wrap_XmlResourceHandler_GetColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } { @@ -6014,7 +6183,7 @@ static PyObject *_wrap_XmlResourceHandler_GetColour(PyObject *, PyObject *args, static PyObject *_wrap_XmlResourceHandler_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPySizeString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6045,7 +6214,7 @@ static PyObject *_wrap_XmlResourceHandler_GetSize(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); } { @@ -6063,7 +6232,7 @@ static PyObject *_wrap_XmlResourceHandler_GetSize(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyPosString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6094,7 +6263,7 @@ static PyObject *_wrap_XmlResourceHandler_GetPosition(PyObject *, PyObject *args } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } { @@ -6112,7 +6281,7 @@ static PyObject *_wrap_XmlResourceHandler_GetPosition(PyObject *, PyObject *args static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -6135,7 +6304,7 @@ static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *arg } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6147,7 +6316,7 @@ static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -6164,7 +6333,7 @@ static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *arg static PyObject *_wrap_XmlResourceHandler_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyBitmapString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6222,7 +6391,7 @@ static PyObject *_wrap_XmlResourceHandler_GetBitmap(PyObject *, PyObject *args, } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } { @@ -6240,7 +6409,7 @@ static PyObject *_wrap_XmlResourceHandler_GetBitmap(PyObject *, PyObject *args, static PyObject *_wrap_XmlResourceHandler_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyIconString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6298,7 +6467,7 @@ static PyObject *_wrap_XmlResourceHandler_GetIcon(PyObject *, PyObject *args, Py } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } { @@ -6316,7 +6485,7 @@ static PyObject *_wrap_XmlResourceHandler_GetIcon(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyFontString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6347,7 +6516,7 @@ static PyObject *_wrap_XmlResourceHandler_GetFont(PyObject *, PyObject *args, Py } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } { @@ -6365,7 +6534,7 @@ static PyObject *_wrap_XmlResourceHandler_GetFont(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_SetupWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -6394,7 +6563,7 @@ static PyObject *_wrap_XmlResourceHandler_SetupWindow(PyObject *, PyObject *args static PyObject *_wrap_XmlResourceHandler_CreateChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxObject *arg2 = (wxObject *) 0 ; bool arg3 = (bool) false ; @@ -6412,7 +6581,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateChildren(PyObject *, PyObject *a 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; } } @@ -6431,7 +6600,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateChildren(PyObject *, PyObject *a static PyObject *_wrap_XmlResourceHandler_CreateChildrenPrivately(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxObject *arg2 = (wxObject *) 0 ; wxXmlNode *arg3 = (wxXmlNode *) NULL ; @@ -6466,7 +6635,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateChildrenPrivately(PyObject *, Py static PyObject *_wrap_XmlResourceHandler_CreateResFromNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxObject *arg3 = (wxObject *) 0 ; @@ -6508,7 +6677,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateResFromNode(PyObject *, PyObject static PyObject *_wrap_XmlResourceHandler_GetCurFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxFileSystem *result; PyObject * obj0 = 0 ; @@ -6919,73 +7088,436 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXmlDocument", _p_wxXmlDocumentTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxActivateEvent", _p_wxActivateEventTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPyXmlResourceHandler", _p_wxPyXmlResourceHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxXmlResource", _p_wxXmlResourceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 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_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxArtClient[] = {{"_p_wxArtClient", 0, "wxArtClient *", 0, 0, 0, 0},{"_p_wxArtClient", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyXmlSubclassFactory[] = {{"_p_wxPyXmlSubclassFactory", 0, "wxPyXmlSubclassFactory *", 0, 0, 0, 0},{"_p_wxPyXmlSubclassFactory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_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_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_wxXmlNode[] = {{"_p_wxXmlNode", 0, "wxXmlNode *", 0, 0, 0, 0},{"_p_wxXmlNode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyXmlResourceHandler[] = {{"_p_wxPyXmlResourceHandler", 0, "wxPyXmlResourceHandler *", 0, 0, 0, 0},{"_p_wxPyXmlResourceHandler", 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__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__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__p_wxXmlProperty[] = {{"_p_wxXmlProperty", 0, "wxXmlProperty *", 0, 0, 0, 0},{"_p_wxXmlProperty", 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_wxXmlResource[] = {{"_p_wxXmlResource", 0, "wxXmlResource *", 0, 0, 0, 0},{"_p_wxXmlResource", 0, 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},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxXmlDocument[] = {{"_p_wxXmlDocument", 0, "wxXmlDocument *", 0, 0, 0, 0},{"_p_wxXmlDocument", 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_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_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxFrame, -_swigt__p_wxIcon, -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxDialog, -_swigt__p_wxColour, -_swigt__p_wxWindow, -_swigt__p_wxArtClient, -_swigt__p_unsigned_long, -_swigt__p_wxPyXmlSubclassFactory, -_swigt__p_wxBitmap, -_swigt__p_form_ops_t, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxDuplexMode, -_swigt__p_char, -_swigt__p_wxPoint, -_swigt__p_wxXmlNode, -_swigt__p_wxInputStream, -_swigt__p_wxOutputStream, -_swigt__p_wxPyXmlResourceHandler, -_swigt__p_wxFileSystem, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxXmlProperty, -_swigt__p_wxFont, -_swigt__p_wxXmlResource, -_swigt__p_wxPanel, -_swigt__p_wxXmlDocument, -_swigt__p_wxPaperSize, -_swigt__p_wxSize, -_swigt__p_int, -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 *|wxEventType *", 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_wxArtClient = {"_p_wxArtClient", "wxArtClient *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 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_wxScrollEvent = {"_p_wxScrollEvent", 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_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 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_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 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_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 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_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 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_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyXmlResourceHandler = {"_p_wxPyXmlResourceHandler", "wxPyXmlResourceHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyXmlSubclassFactory = {"_p_wxPyXmlSubclassFactory", "wxPyXmlSubclassFactory *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXmlDocument = {"_p_wxXmlDocument", "wxXmlDocument *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXmlNode = {"_p_wxXmlNode", "wxXmlNode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXmlProperty = {"_p_wxXmlProperty", "wxXmlProperty *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXmlResource = {"_p_wxXmlResource", "wxXmlResource *", 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_wxArtClient, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDialog, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFrame, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxInputStream, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxOutputStream, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPanel, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxPyXmlResourceHandler, + &_swigt__p_wxPyXmlSubclassFactory, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxXPMHandler, + &_swigt__p_wxXmlDocument, + &_swigt__p_wxXmlNode, + &_swigt__p_wxXmlProperty, + &_swigt__p_wxXmlResource, + &_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_wxArtClient[] = { {&_swigt__p_wxArtClient, 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_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 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_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInputStream[] = { {&_swigt__p_wxInputStream, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 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_wxEvent[] = {{&_swigt__p_wxEvent, 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_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 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_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_wxControl[] = {{&_swigt__p_wxControl, 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_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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 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_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_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 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_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 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_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 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_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 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_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = {{&_swigt__p_wxEvtHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 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_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxXmlDocument, _p_wxXmlDocumentTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyXmlResourceHandler, _p_wxPyXmlResourceHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxXmlResource, _p_wxXmlResourceTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyXmlResourceHandler[] = { {&_swigt__p_wxPyXmlResourceHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyXmlSubclassFactory[] = { {&_swigt__p_wxPyXmlSubclassFactory, 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_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXmlDocument[] = { {&_swigt__p_wxXmlDocument, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXmlNode[] = { {&_swigt__p_wxXmlNode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXmlProperty[] = { {&_swigt__p_wxXmlProperty, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXmlResource[] = { {&_swigt__p_wxXmlResource, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArtClient, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDialog, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFrame, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxInputStream, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxOutputStream, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPanel, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxPyXmlResourceHandler, + _swigc__p_wxPyXmlSubclassFactory, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__p_wxXmlDocument, + _swigc__p_wxXmlNode, + _swigc__p_wxXmlProperty, + _swigc__p_wxXmlResource, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -6997,6 +7529,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 @@ -7014,7 +7757,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; @@ -7024,13 +7767,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; @@ -7043,7 +7786,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -7056,7 +7799,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) { @@ -7069,72 +7812,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; } @@ -7143,11 +7903,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); @@ -7184,7 +7944,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, @@ -7196,7 +7956,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]); @@ -7209,14 +7969,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; + } + } } } } @@ -7226,69 +7990,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 @@ -7297,42 +7998,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); @@ -7344,64 +8024,64 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IconString",_wrap_IconString_get, _wrap_IconString_set); SWIG_addvarlink(SWIG_globals,(char*)"FontString",_wrap_FontString_get, _wrap_FontString_set); { - PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MAJOR", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_MAJOR))); + PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MAJOR", SWIG_From_int(static_cast(WX_XMLRES_CURRENT_VERSION_MAJOR))); } { - PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MINOR", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_MINOR))); + PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MINOR", SWIG_From_int(static_cast(WX_XMLRES_CURRENT_VERSION_MINOR))); } { - PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_RELEASE", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_RELEASE))); + PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_RELEASE", SWIG_From_int(static_cast(WX_XMLRES_CURRENT_VERSION_RELEASE))); } { - PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_REVISION", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_REVISION))); + PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_REVISION", SWIG_From_int(static_cast(WX_XMLRES_CURRENT_VERSION_REVISION))); } { - PyDict_SetItemString(d,"XRC_USE_LOCALE", SWIG_From_int((int)(wxXRC_USE_LOCALE))); + PyDict_SetItemString(d,"XRC_USE_LOCALE", SWIG_From_int(static_cast(wxXRC_USE_LOCALE))); } { - PyDict_SetItemString(d,"XRC_NO_SUBCLASSING", SWIG_From_int((int)(wxXRC_NO_SUBCLASSING))); + PyDict_SetItemString(d,"XRC_NO_SUBCLASSING", SWIG_From_int(static_cast(wxXRC_NO_SUBCLASSING))); } { - PyDict_SetItemString(d,"XRC_NO_RELOADING", SWIG_From_int((int)(wxXRC_NO_RELOADING))); + PyDict_SetItemString(d,"XRC_NO_RELOADING", SWIG_From_int(static_cast(wxXRC_NO_RELOADING))); } { - PyDict_SetItemString(d,"XML_ELEMENT_NODE", SWIG_From_int((int)(wxXML_ELEMENT_NODE))); + PyDict_SetItemString(d,"XML_ELEMENT_NODE", SWIG_From_int(static_cast(wxXML_ELEMENT_NODE))); } { - PyDict_SetItemString(d,"XML_ATTRIBUTE_NODE", SWIG_From_int((int)(wxXML_ATTRIBUTE_NODE))); + PyDict_SetItemString(d,"XML_ATTRIBUTE_NODE", SWIG_From_int(static_cast(wxXML_ATTRIBUTE_NODE))); } { - PyDict_SetItemString(d,"XML_TEXT_NODE", SWIG_From_int((int)(wxXML_TEXT_NODE))); + PyDict_SetItemString(d,"XML_TEXT_NODE", SWIG_From_int(static_cast(wxXML_TEXT_NODE))); } { - PyDict_SetItemString(d,"XML_CDATA_SECTION_NODE", SWIG_From_int((int)(wxXML_CDATA_SECTION_NODE))); + PyDict_SetItemString(d,"XML_CDATA_SECTION_NODE", SWIG_From_int(static_cast(wxXML_CDATA_SECTION_NODE))); } { - PyDict_SetItemString(d,"XML_ENTITY_REF_NODE", SWIG_From_int((int)(wxXML_ENTITY_REF_NODE))); + PyDict_SetItemString(d,"XML_ENTITY_REF_NODE", SWIG_From_int(static_cast(wxXML_ENTITY_REF_NODE))); } { - PyDict_SetItemString(d,"XML_ENTITY_NODE", SWIG_From_int((int)(wxXML_ENTITY_NODE))); + PyDict_SetItemString(d,"XML_ENTITY_NODE", SWIG_From_int(static_cast(wxXML_ENTITY_NODE))); } { - PyDict_SetItemString(d,"XML_PI_NODE", SWIG_From_int((int)(wxXML_PI_NODE))); + PyDict_SetItemString(d,"XML_PI_NODE", SWIG_From_int(static_cast(wxXML_PI_NODE))); } { - PyDict_SetItemString(d,"XML_COMMENT_NODE", SWIG_From_int((int)(wxXML_COMMENT_NODE))); + PyDict_SetItemString(d,"XML_COMMENT_NODE", SWIG_From_int(static_cast(wxXML_COMMENT_NODE))); } { - PyDict_SetItemString(d,"XML_DOCUMENT_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_NODE))); + PyDict_SetItemString(d,"XML_DOCUMENT_NODE", SWIG_From_int(static_cast(wxXML_DOCUMENT_NODE))); } { - PyDict_SetItemString(d,"XML_DOCUMENT_TYPE_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_TYPE_NODE))); + PyDict_SetItemString(d,"XML_DOCUMENT_TYPE_NODE", SWIG_From_int(static_cast(wxXML_DOCUMENT_TYPE_NODE))); } { - PyDict_SetItemString(d,"XML_DOCUMENT_FRAG_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_FRAG_NODE))); + PyDict_SetItemString(d,"XML_DOCUMENT_FRAG_NODE", SWIG_From_int(static_cast(wxXML_DOCUMENT_FRAG_NODE))); } { - PyDict_SetItemString(d,"XML_NOTATION_NODE", SWIG_From_int((int)(wxXML_NOTATION_NODE))); + PyDict_SetItemString(d,"XML_NOTATION_NODE", SWIG_From_int(static_cast(wxXML_NOTATION_NODE))); } { - PyDict_SetItemString(d,"XML_HTML_DOCUMENT_NODE", SWIG_From_int((int)(wxXML_HTML_DOCUMENT_NODE))); + PyDict_SetItemString(d,"XML_HTML_DOCUMENT_NODE", SWIG_From_int(static_cast(wxXML_HTML_DOCUMENT_NODE))); } diff --git a/wxPython/src/mac/_controls.py b/wxPython/src/mac/_controls.py index 310c599aed..d1d07d0db2 100644 --- a/wxPython/src/mac/_controls.py +++ b/wxPython/src/mac/_controls.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _controls_ @@ -4695,7 +4695,7 @@ class ListCtrl(_core.Control): return _controls_.ListCtrl_InsertItem(*args, **kwargs) def InsertStringItem(*args, **kwargs): - """InsertStringItem(self, long index, String label) -> long""" + """InsertStringItem(self, long index, String label, int imageIndex=-1) -> long""" return _controls_.ListCtrl_InsertStringItem(*args, **kwargs) def InsertImageItem(*args, **kwargs): @@ -6428,3 +6428,4 @@ def PreDatePickerCtrl(*args, **kwargs): return val + diff --git a/wxPython/src/mac/_controls_wrap.cpp b/wxPython/src/mac/_controls_wrap.cpp index aff6243444..5fef9ab8c3 100644 --- a/wxPython/src/mac/_controls_wrap.cpp +++ b/wxPython/src/mac/_controls_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,102 +1431,171 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxTextUrlEvent swig_types[0] -#define SWIGTYPE_p_wxCheckBox swig_types[1] -#define SWIGTYPE_p_wxPyTreeCtrl swig_types[2] -#define SWIGTYPE_p_wxEvent swig_types[3] -#define SWIGTYPE_p_wxGenericDirCtrl swig_types[4] -#define SWIGTYPE_p_bool swig_types[5] -#define SWIGTYPE_p_wxItemContainer swig_types[6] -#define SWIGTYPE_p_wxPyListCtrl swig_types[7] -#define SWIGTYPE_p_wxPyTreeItemData swig_types[8] -#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[9] -#define SWIGTYPE_p_wxStaticLine swig_types[10] -#define SWIGTYPE_p_wxControl swig_types[11] -#define SWIGTYPE_p_wxPyControl swig_types[12] -#define SWIGTYPE_p_wxGauge swig_types[13] -#define SWIGTYPE_p_wxToolBarBase swig_types[14] -#define SWIGTYPE_p_wxFont swig_types[15] -#define SWIGTYPE_p_wxToggleButton swig_types[16] -#define SWIGTYPE_p_wxRadioButton swig_types[17] -#define SWIGTYPE_p_wxChoice swig_types[18] -#define SWIGTYPE_p_wxMemoryDC swig_types[19] -#define SWIGTYPE_ptrdiff_t swig_types[20] -#define SWIGTYPE_std__ptrdiff_t swig_types[21] -#define SWIGTYPE_p_wxListItemAttr swig_types[22] -#define SWIGTYPE_p_void swig_types[23] -#define SWIGTYPE_p_int swig_types[24] -#define SWIGTYPE_p_wxSize swig_types[25] -#define SWIGTYPE_p_wxDC swig_types[26] -#define SWIGTYPE_p_wxListView swig_types[27] -#define SWIGTYPE_p_wxIcon swig_types[28] -#define SWIGTYPE_p_wxVisualAttributes swig_types[29] -#define SWIGTYPE_p_wxTextCtrl swig_types[30] -#define SWIGTYPE_p_wxNotebook swig_types[31] -#define SWIGTYPE_p_wxChoicebook swig_types[32] -#define SWIGTYPE_p_wxNotifyEvent swig_types[33] -#define SWIGTYPE_p_wxArrayString swig_types[34] -#define SWIGTYPE_p_form_ops_t swig_types[35] -#define SWIGTYPE_p_wxListbook swig_types[36] -#define SWIGTYPE_p_wxStaticBitmap swig_types[37] -#define SWIGTYPE_p_wxSlider swig_types[38] -#define SWIGTYPE_p_wxStaticBox swig_types[39] -#define SWIGTYPE_p_wxArrayInt swig_types[40] -#define SWIGTYPE_p_wxContextHelp swig_types[41] -#define SWIGTYPE_p_long swig_types[42] -#define SWIGTYPE_p_wxDuplexMode swig_types[43] -#define SWIGTYPE_p_wxBookCtrlBase swig_types[44] -#define SWIGTYPE_p_wxEvtHandler swig_types[45] -#define SWIGTYPE_p_wxListEvent swig_types[46] -#define SWIGTYPE_p_wxCheckListBox swig_types[47] -#define SWIGTYPE_p_wxListBox swig_types[48] -#define SWIGTYPE_p_wxSpinButton swig_types[49] -#define SWIGTYPE_p_wxButton swig_types[50] -#define SWIGTYPE_p_wxBitmapButton swig_types[51] -#define SWIGTYPE_p_wxRect swig_types[52] -#define SWIGTYPE_p_wxContextHelpButton swig_types[53] -#define SWIGTYPE_p_wxRadioBox swig_types[54] -#define SWIGTYPE_p_wxScrollBar swig_types[55] -#define SWIGTYPE_p_char swig_types[56] -#define SWIGTYPE_p_wxComboBox swig_types[57] -#define SWIGTYPE_p_wxTreeItemId swig_types[58] -#define SWIGTYPE_p_wxHelpEvent swig_types[59] -#define SWIGTYPE_p_wxListItem swig_types[60] -#define SWIGTYPE_p_wxSpinEvent swig_types[61] -#define SWIGTYPE_p_wxGenericDragImage swig_types[62] -#define SWIGTYPE_p_wxSpinCtrl swig_types[63] -#define SWIGTYPE_p_wxPaperSize swig_types[64] -#define SWIGTYPE_p_wxImageList swig_types[65] -#define SWIGTYPE_p_wxHelpProvider swig_types[66] -#define SWIGTYPE_p_wxTextAttr swig_types[67] -#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[68] -#define SWIGTYPE_p_wxChoicebookEvent swig_types[69] -#define SWIGTYPE_p_wxListbookEvent swig_types[70] -#define SWIGTYPE_p_wxNotebookEvent swig_types[71] -#define SWIGTYPE_p_wxPoint swig_types[72] -#define SWIGTYPE_p_wxObject swig_types[73] -#define SWIGTYPE_p_wxCursor swig_types[74] -#define SWIGTYPE_p_wxDateTime swig_types[75] -#define SWIGTYPE_p_wxKeyEvent swig_types[76] -#define SWIGTYPE_p_unsigned_long swig_types[77] -#define SWIGTYPE_p_wxWindow swig_types[78] -#define SWIGTYPE_p_wxString swig_types[79] -#define SWIGTYPE_p_wxBitmap swig_types[80] -#define SWIGTYPE_unsigned_int swig_types[81] -#define SWIGTYPE_p_unsigned_int swig_types[82] -#define SWIGTYPE_p_unsigned_char swig_types[83] -#define SWIGTYPE_p_wxMouseEvent swig_types[84] -#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[85] -#define SWIGTYPE_p_wxTreeEvent swig_types[86] -#define SWIGTYPE_p_wxCommandEvent swig_types[87] -#define SWIGTYPE_p_wxStaticText swig_types[88] -#define SWIGTYPE_p_wxDatePickerCtrl swig_types[89] -#define SWIGTYPE_p_wxControlWithItems swig_types[90] -#define SWIGTYPE_p_wxToolBarToolBase swig_types[91] -#define SWIGTYPE_p_wxColour swig_types[92] -#define SWIGTYPE_p_wxToolBar swig_types[93] -#define SWIGTYPE_p_wxValidator swig_types[94] -static swig_type_info *swig_types[96]; +#define SWIGTYPE_p_bool swig_types[0] +#define SWIGTYPE_p_char swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_long swig_types[4] +#define SWIGTYPE_p_unsigned_char swig_types[5] +#define SWIGTYPE_p_unsigned_int swig_types[6] +#define SWIGTYPE_p_unsigned_long swig_types[7] +#define SWIGTYPE_p_void swig_types[8] +#define SWIGTYPE_p_wxANIHandler swig_types[9] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[10] +#define SWIGTYPE_p_wxActivateEvent swig_types[11] +#define SWIGTYPE_p_wxArrayInt swig_types[12] +#define SWIGTYPE_p_wxArrayString swig_types[13] +#define SWIGTYPE_p_wxBMPHandler swig_types[14] +#define SWIGTYPE_p_wxBitmap swig_types[15] +#define SWIGTYPE_p_wxBitmapButton swig_types[16] +#define SWIGTYPE_p_wxBookCtrlBase swig_types[17] +#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18] +#define SWIGTYPE_p_wxBoxSizer swig_types[19] +#define SWIGTYPE_p_wxButton swig_types[20] +#define SWIGTYPE_p_wxCURHandler swig_types[21] +#define SWIGTYPE_p_wxCheckBox swig_types[22] +#define SWIGTYPE_p_wxCheckListBox swig_types[23] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[24] +#define SWIGTYPE_p_wxChoice swig_types[25] +#define SWIGTYPE_p_wxChoicebook swig_types[26] +#define SWIGTYPE_p_wxChoicebookEvent swig_types[27] +#define SWIGTYPE_p_wxCloseEvent swig_types[28] +#define SWIGTYPE_p_wxColour swig_types[29] +#define SWIGTYPE_p_wxComboBox swig_types[30] +#define SWIGTYPE_p_wxCommandEvent swig_types[31] +#define SWIGTYPE_p_wxContextHelp swig_types[32] +#define SWIGTYPE_p_wxContextHelpButton swig_types[33] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[34] +#define SWIGTYPE_p_wxControl swig_types[35] +#define SWIGTYPE_p_wxControlWithItems swig_types[36] +#define SWIGTYPE_p_wxCursor swig_types[37] +#define SWIGTYPE_p_wxDC swig_types[38] +#define SWIGTYPE_p_wxDateEvent swig_types[39] +#define SWIGTYPE_p_wxDatePickerCtrl swig_types[40] +#define SWIGTYPE_p_wxDateTime swig_types[41] +#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[44] +#define SWIGTYPE_p_wxDuplexMode swig_types[45] +#define SWIGTYPE_p_wxEraseEvent swig_types[46] +#define SWIGTYPE_p_wxEvent swig_types[47] +#define SWIGTYPE_p_wxEvtHandler swig_types[48] +#define SWIGTYPE_p_wxFSFile swig_types[49] +#define SWIGTYPE_p_wxFileSystem swig_types[50] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[51] +#define SWIGTYPE_p_wxFocusEvent swig_types[52] +#define SWIGTYPE_p_wxFont swig_types[53] +#define SWIGTYPE_p_wxGBSizerItem swig_types[54] +#define SWIGTYPE_p_wxGIFHandler swig_types[55] +#define SWIGTYPE_p_wxGauge swig_types[56] +#define SWIGTYPE_p_wxGenericDirCtrl swig_types[57] +#define SWIGTYPE_p_wxGenericDragImage swig_types[58] +#define SWIGTYPE_p_wxGridBagSizer swig_types[59] +#define SWIGTYPE_p_wxGridSizer swig_types[60] +#define SWIGTYPE_p_wxHelpEvent swig_types[61] +#define SWIGTYPE_p_wxHelpProvider swig_types[62] +#define SWIGTYPE_p_wxICOHandler swig_types[63] +#define SWIGTYPE_p_wxIcon swig_types[64] +#define SWIGTYPE_p_wxIconizeEvent swig_types[65] +#define SWIGTYPE_p_wxIdleEvent swig_types[66] +#define SWIGTYPE_p_wxImage swig_types[67] +#define SWIGTYPE_p_wxImageHandler swig_types[68] +#define SWIGTYPE_p_wxImageList swig_types[69] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[71] +#define SWIGTYPE_p_wxItemContainer swig_types[72] +#define SWIGTYPE_p_wxJPEGHandler swig_types[73] +#define SWIGTYPE_p_wxKeyEvent swig_types[74] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[75] +#define SWIGTYPE_p_wxListBox swig_types[76] +#define SWIGTYPE_p_wxListEvent swig_types[77] +#define SWIGTYPE_p_wxListItem swig_types[78] +#define SWIGTYPE_p_wxListItemAttr swig_types[79] +#define SWIGTYPE_p_wxListView swig_types[80] +#define SWIGTYPE_p_wxListbook swig_types[81] +#define SWIGTYPE_p_wxListbookEvent swig_types[82] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[83] +#define SWIGTYPE_p_wxMemoryDC swig_types[84] +#define SWIGTYPE_p_wxMenu swig_types[85] +#define SWIGTYPE_p_wxMenuBar swig_types[86] +#define SWIGTYPE_p_wxMenuEvent swig_types[87] +#define SWIGTYPE_p_wxMenuItem swig_types[88] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89] +#define SWIGTYPE_p_wxMouseEvent swig_types[90] +#define SWIGTYPE_p_wxMoveEvent swig_types[91] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[93] +#define SWIGTYPE_p_wxNotebook swig_types[94] +#define SWIGTYPE_p_wxNotebookEvent swig_types[95] +#define SWIGTYPE_p_wxNotifyEvent swig_types[96] +#define SWIGTYPE_p_wxObject swig_types[97] +#define SWIGTYPE_p_wxPCXHandler swig_types[98] +#define SWIGTYPE_p_wxPNGHandler swig_types[99] +#define SWIGTYPE_p_wxPNMHandler swig_types[100] +#define SWIGTYPE_p_wxPaintEvent swig_types[101] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102] +#define SWIGTYPE_p_wxPaperSize swig_types[103] +#define SWIGTYPE_p_wxPoint swig_types[104] +#define SWIGTYPE_p_wxPyApp swig_types[105] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[106] +#define SWIGTYPE_p_wxPyControl swig_types[107] +#define SWIGTYPE_p_wxPyEvent swig_types[108] +#define SWIGTYPE_p_wxPyImageHandler swig_types[109] +#define SWIGTYPE_p_wxPyListCtrl swig_types[110] +#define SWIGTYPE_p_wxPySizer swig_types[111] +#define SWIGTYPE_p_wxPyTreeCtrl swig_types[112] +#define SWIGTYPE_p_wxPyTreeItemData swig_types[113] +#define SWIGTYPE_p_wxPyValidator swig_types[114] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115] +#define SWIGTYPE_p_wxRadioBox swig_types[116] +#define SWIGTYPE_p_wxRadioButton swig_types[117] +#define SWIGTYPE_p_wxRect swig_types[118] +#define SWIGTYPE_p_wxScrollBar swig_types[119] +#define SWIGTYPE_p_wxScrollEvent swig_types[120] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[121] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[122] +#define SWIGTYPE_p_wxShowEvent swig_types[123] +#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124] +#define SWIGTYPE_p_wxSize swig_types[125] +#define SWIGTYPE_p_wxSizeEvent swig_types[126] +#define SWIGTYPE_p_wxSizer swig_types[127] +#define SWIGTYPE_p_wxSizerItem swig_types[128] +#define SWIGTYPE_p_wxSlider swig_types[129] +#define SWIGTYPE_p_wxSpinButton swig_types[130] +#define SWIGTYPE_p_wxSpinCtrl swig_types[131] +#define SWIGTYPE_p_wxSpinEvent swig_types[132] +#define SWIGTYPE_p_wxStaticBitmap swig_types[133] +#define SWIGTYPE_p_wxStaticBox swig_types[134] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[135] +#define SWIGTYPE_p_wxStaticLine swig_types[136] +#define SWIGTYPE_p_wxStaticText swig_types[137] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138] +#define SWIGTYPE_p_wxString swig_types[139] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140] +#define SWIGTYPE_p_wxTIFFHandler swig_types[141] +#define SWIGTYPE_p_wxTextAttr swig_types[142] +#define SWIGTYPE_p_wxTextCtrl swig_types[143] +#define SWIGTYPE_p_wxTextUrlEvent swig_types[144] +#define SWIGTYPE_p_wxToggleButton swig_types[145] +#define SWIGTYPE_p_wxToolBar swig_types[146] +#define SWIGTYPE_p_wxToolBarBase swig_types[147] +#define SWIGTYPE_p_wxToolBarToolBase swig_types[148] +#define SWIGTYPE_p_wxTreeEvent swig_types[149] +#define SWIGTYPE_p_wxTreeItemId swig_types[150] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[151] +#define SWIGTYPE_p_wxValidator swig_types[152] +#define SWIGTYPE_p_wxVisualAttributes swig_types[153] +#define SWIGTYPE_p_wxWindow swig_types[154] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[155] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156] +#define SWIGTYPE_p_wxXPMHandler swig_types[157] +#define SWIGTYPE_ptrdiff_t swig_types[158] +#define SWIGTYPE_std__ptrdiff_t swig_types[159] +#define SWIGTYPE_unsigned_int swig_types[160] +static swig_type_info *swig_types[162]; +static swig_module_info swig_module = {swig_types, 161, 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) -------- */ @@ -1457,7 +1618,7 @@ static swig_type_info *swig_types[96]; static const wxString wxPyButtonNameStr(wxButtonNameStr); - /*@/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 /*@@*/ @@ -1510,7 +1671,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; @@ -1524,7 +1685,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1532,7 +1693,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1546,7 +1707,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1560,14 +1721,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); @@ -1600,7 +1761,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1614,7 +1775,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1623,7 +1784,7 @@ SWIG_Check_bool(PyObject* obj) static const wxString wxPyChoiceNameStr(wxChoiceNameStr); static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr); - /*@/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 /*@@*/ @@ -1713,7 +1874,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; @@ -1727,7 +1888,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -1771,12 +1932,12 @@ public: static const wxString wxPyNotebookNameStr(wxNotebookNameStr); -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)); } static const wxString wxPyToolBarNameStr(wxToolBarNameStr); @@ -1845,7 +2006,7 @@ static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; } // C++ Version of a Python aware class class wxPyListCtrl : public wxListCtrl { - DECLARE_ABSTRACT_CLASS(wxPyListCtrl); + DECLARE_ABSTRACT_CLASS(wxPyListCtrl) public: wxPyListCtrl() : wxListCtrl() {} wxPyListCtrl(wxWindow* parent, wxWindowID id, @@ -1937,7 +2098,7 @@ static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ r static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; } // C++ version of Python aware wxTreeCtrl class wxPyTreeCtrl : public wxTreeCtrl { - DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl); + DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl) public: wxPyTreeCtrl() : wxTreeCtrl() {} wxPyTreeCtrl(wxWindow *parent, wxWindowID id, @@ -1983,17 +2144,17 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl); #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -2018,7 +2179,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -2030,7 +2191,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -2038,7 +2199,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -2052,7 +2213,7 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); @@ -2137,7 +2298,7 @@ static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId co } static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr); -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_bool(bool value) { PyObject *obj = value ? Py_True : Py_False; @@ -2266,7 +2427,7 @@ static int _wrap_ButtonNameStr_set(PyObject *) { static PyObject *_wrap_ButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2280,7 +2441,7 @@ static PyObject *_wrap_ButtonNameStr_get(void) { static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -2316,7 +2477,7 @@ static PyObject *_wrap_new_Button(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; } } @@ -2341,7 +2502,7 @@ static PyObject *_wrap_new_Button(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; } } @@ -2394,7 +2555,7 @@ static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxButton *result; char *kwnames[] = { NULL @@ -2417,7 +2578,7 @@ static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxButton *arg1 = (wxButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -2457,7 +2618,7 @@ static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -2482,7 +2643,7 @@ static PyObject *_wrap_Button_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; } } @@ -2536,7 +2697,7 @@ static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxButton *arg1 = (wxButton *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2561,7 +2722,7 @@ static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize result; char *kwnames[] = { NULL @@ -2577,7 +2738,7 @@ static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObjec } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -2587,7 +2748,7 @@ static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -2598,21 +2759,21 @@ static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_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 = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxButton::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; @@ -2629,7 +2790,7 @@ static PyObject * Button_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -2664,7 +2825,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2692,7 +2853,7 @@ static PyObject *_wrap_new_BitmapButton(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; } } @@ -2737,7 +2898,7 @@ static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *result; char *kwnames[] = { NULL @@ -2760,7 +2921,7 @@ static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -2799,7 +2960,7 @@ static PyObject *_wrap_BitmapButton_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; } } @@ -2827,7 +2988,7 @@ static PyObject *_wrap_BitmapButton_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; } } @@ -2873,7 +3034,7 @@ static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -2893,7 +3054,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, P } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2903,7 +3064,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -2923,7 +3084,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2933,7 +3094,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -2953,7 +3114,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, P } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2963,7 +3124,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -2983,7 +3144,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -2993,7 +3154,7 @@ static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3028,7 +3189,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3063,7 +3224,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3098,7 +3259,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3133,7 +3294,7 @@ static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, P static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; int arg2 ; int arg3 ; @@ -3148,11 +3309,11 @@ static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3170,7 +3331,7 @@ static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3189,7 +3350,7 @@ static PyObject *_wrap_BitmapButton_GetMarginX(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: @@ -3198,7 +3359,7 @@ static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapButton *arg1 = (wxBitmapButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3217,7 +3378,7 @@ static PyObject *_wrap_BitmapButton_GetMarginY(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: @@ -3239,7 +3400,7 @@ static int _wrap_CheckBoxNameStr_set(PyObject *) { static PyObject *_wrap_CheckBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3253,7 +3414,7 @@ static PyObject *_wrap_CheckBoxNameStr_get(void) { static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3289,7 +3450,7 @@ static PyObject *_wrap_new_CheckBox(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; } } @@ -3314,7 +3475,7 @@ static PyObject *_wrap_new_CheckBox(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; } } @@ -3367,7 +3528,7 @@ static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *result; char *kwnames[] = { NULL @@ -3390,7 +3551,7 @@ static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3430,7 +3591,7 @@ static PyObject *_wrap_CheckBox_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; } } @@ -3455,7 +3616,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -3509,7 +3670,7 @@ static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3537,7 +3698,7 @@ static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3565,7 +3726,7 @@ static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -3578,7 +3739,7 @@ static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool const)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3596,7 +3757,7 @@ static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; wxCheckBoxState result; PyObject * obj0 = 0 ; @@ -3622,7 +3783,7 @@ static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObj static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; wxCheckBoxState arg2 ; PyObject * obj0 = 0 ; @@ -3635,12 +3796,12 @@ static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxCheckBoxState)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Set3StateValue((wxCheckBoxState )arg2); + (arg1)->Set3StateValue(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3653,7 +3814,7 @@ static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObj static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3681,7 +3842,7 @@ static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckBox *arg1 = (wxCheckBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3709,7 +3870,7 @@ static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *a static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -3720,21 +3881,21 @@ static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_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 = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxCheckBox::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; @@ -3757,7 +3918,7 @@ static int _wrap_ChoiceNameStr_set(PyObject *) { static PyObject *_wrap_ChoiceNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3771,7 +3932,7 @@ static PyObject *_wrap_ChoiceNameStr_get(void) { static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -3807,7 +3968,7 @@ static PyObject *_wrap_new_Choice(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; } } @@ -3844,7 +4005,7 @@ static PyObject *_wrap_new_Choice(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; } } @@ -3895,7 +4056,7 @@ static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoice *result; char *kwnames[] = { NULL @@ -3918,7 +4079,7 @@ static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoice *arg1 = (wxChoice *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3958,7 +4119,7 @@ static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -3995,7 +4156,7 @@ static PyObject *_wrap_Choice_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; } } @@ -4047,7 +4208,7 @@ static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoice *arg1 = (wxChoice *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4066,7 +4227,7 @@ static PyObject *_wrap_Choice_GetCurrentSelection(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: @@ -4075,7 +4236,7 @@ static PyObject *_wrap_Choice_GetCurrentSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -4086,21 +4247,21 @@ static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_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 = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxChoice::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; @@ -4123,7 +4284,7 @@ static int _wrap_ComboBoxNameStr_set(PyObject *) { static PyObject *_wrap_ComboBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4137,7 +4298,7 @@ static PyObject *_wrap_ComboBoxNameStr_get(void) { static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4177,7 +4338,7 @@ static PyObject *_wrap_new_ComboBox(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; } } @@ -4221,7 +4382,7 @@ static PyObject *_wrap_new_ComboBox(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; } } @@ -4280,7 +4441,7 @@ static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *result; char *kwnames[] = { NULL @@ -4303,7 +4464,7 @@ static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -4347,7 +4508,7 @@ static PyObject *_wrap_ComboBox_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; } } @@ -4391,7 +4552,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj7) { { - arg8 = (long)(SWIG_As_long(obj7)); + arg8 = static_cast(SWIG_As_long(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -4451,7 +4612,7 @@ static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4483,7 +4644,7 @@ static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4524,7 +4685,7 @@ static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4549,7 +4710,7 @@ static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4574,7 +4735,7 @@ static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4599,7 +4760,7 @@ static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -4612,7 +4773,7 @@ static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, 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; } { @@ -4630,7 +4791,7 @@ static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, Py static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long result; PyObject * obj0 = 0 ; @@ -4649,7 +4810,7 @@ static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -4658,7 +4819,7 @@ static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, Py static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long result; PyObject * obj0 = 0 ; @@ -4677,7 +4838,7 @@ static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -4686,7 +4847,7 @@ static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long arg2 ; long arg3 ; @@ -4704,11 +4865,11 @@ static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4739,7 +4900,7 @@ static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4752,7 +4913,7 @@ static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4770,7 +4931,7 @@ static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long arg2 ; long arg3 ; @@ -4785,11 +4946,11 @@ static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4807,7 +4968,7 @@ static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4826,7 +4987,7 @@ static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4835,7 +4996,7 @@ static PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *, PyObject *args, static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; wxString *arg2 = 0 ; bool result; @@ -4879,7 +5040,7 @@ static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, P static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -4895,7 +5056,7 @@ static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4926,7 +5087,7 @@ static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -4939,7 +5100,7 @@ static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, 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; } { @@ -4957,7 +5118,7 @@ static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4982,7 +5143,7 @@ static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; long arg2 ; long arg3 ; @@ -4997,11 +5158,11 @@ static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5019,7 +5180,7 @@ static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5047,7 +5208,7 @@ static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5072,7 +5233,7 @@ static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5097,7 +5258,7 @@ static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5122,7 +5283,7 @@ static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5150,7 +5311,7 @@ static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5178,7 +5339,7 @@ static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5206,7 +5367,7 @@ static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5234,7 +5395,7 @@ static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxComboBox *arg1 = (wxComboBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5262,7 +5423,7 @@ static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -5273,21 +5434,21 @@ static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_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 = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxComboBox::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; @@ -5310,7 +5471,7 @@ static int _wrap_GaugeNameStr_set(PyObject *) { static PyObject *_wrap_GaugeNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5324,7 +5485,7 @@ static PyObject *_wrap_GaugeNameStr_get(void) { static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; int arg3 = (int) 100 ; @@ -5358,13 +5519,13 @@ static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) { if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5382,7 +5543,7 @@ static PyObject *_wrap_new_Gauge(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; } } @@ -5427,7 +5588,7 @@ static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *result; char *kwnames[] = { NULL @@ -5450,7 +5611,7 @@ static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -5488,13 +5649,13 @@ static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -5512,7 +5673,7 @@ static PyObject *_wrap_Gauge_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; } } @@ -5558,7 +5719,7 @@ static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5571,7 +5732,7 @@ static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5589,7 +5750,7 @@ static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5608,7 +5769,7 @@ static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5617,7 +5778,7 @@ static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5630,7 +5791,7 @@ static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5648,7 +5809,7 @@ static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5667,7 +5828,7 @@ static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5676,7 +5837,7 @@ static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5704,7 +5865,7 @@ static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5717,7 +5878,7 @@ static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5735,7 +5896,7 @@ static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5754,7 +5915,7 @@ static PyObject *_wrap_Gauge_GetShadowWidth(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: @@ -5763,7 +5924,7 @@ static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5776,7 +5937,7 @@ static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5794,7 +5955,7 @@ static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGauge *arg1 = (wxGauge *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5813,7 +5974,7 @@ static PyObject *_wrap_Gauge_GetBezelFace(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: @@ -5822,7 +5983,7 @@ static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -5833,21 +5994,21 @@ static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_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 = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxGauge::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; @@ -5870,7 +6031,7 @@ static int _wrap_StaticBitmapNameStr_set(PyObject *) { static PyObject *_wrap_StaticBitmapNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5890,7 +6051,7 @@ static int _wrap_StaticBoxNameStr_set(PyObject *) { static PyObject *_wrap_StaticBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5910,7 +6071,7 @@ static int _wrap_StaticTextNameStr_set(PyObject *) { static PyObject *_wrap_StaticTextNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -5924,7 +6085,7 @@ static PyObject *_wrap_StaticTextNameStr_get(void) { static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -5957,7 +6118,7 @@ static PyObject *_wrap_new_StaticBox(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; } } @@ -5982,7 +6143,7 @@ static PyObject *_wrap_new_StaticBox(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; } } @@ -6025,7 +6186,7 @@ static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBox *result; char *kwnames[] = { NULL @@ -6048,7 +6209,7 @@ static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBox *arg1 = (wxStaticBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6085,7 +6246,7 @@ static PyObject *_wrap_StaticBox_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; } } @@ -6110,7 +6271,7 @@ static PyObject *_wrap_StaticBox_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; } } @@ -6154,7 +6315,7 @@ static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -6165,21 +6326,21 @@ static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_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 = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStaticBox::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; @@ -6196,7 +6357,7 @@ static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -6225,7 +6386,7 @@ static PyObject *_wrap_new_StaticLine(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; } } @@ -6243,7 +6404,7 @@ static PyObject *_wrap_new_StaticLine(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; } } @@ -6278,7 +6439,7 @@ static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticLine *result; char *kwnames[] = { NULL @@ -6301,7 +6462,7 @@ static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticLine *arg1 = (wxStaticLine *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6334,7 +6495,7 @@ static PyObject *_wrap_StaticLine_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; } } @@ -6352,7 +6513,7 @@ static PyObject *_wrap_StaticLine_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; } } @@ -6388,7 +6549,7 @@ static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticLine *arg1 = (wxStaticLine *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6416,7 +6577,7 @@ static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -6431,7 +6592,7 @@ static PyObject *_wrap_StaticLine_GetDefaultSize(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: @@ -6440,7 +6601,7 @@ static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -6451,21 +6612,21 @@ static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_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 = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStaticLine::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; @@ -6482,7 +6643,7 @@ static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -6515,7 +6676,7 @@ static PyObject *_wrap_new_StaticText(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; } } @@ -6540,7 +6701,7 @@ static PyObject *_wrap_new_StaticText(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; } } @@ -6583,7 +6744,7 @@ static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticText *result; char *kwnames[] = { NULL @@ -6606,7 +6767,7 @@ static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticText *arg1 = (wxStaticText *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6643,7 +6804,7 @@ static PyObject *_wrap_StaticText_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; } } @@ -6668,7 +6829,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *k } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -6712,7 +6873,7 @@ static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticText *arg1 = (wxStaticText *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6725,7 +6886,7 @@ static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6743,7 +6904,7 @@ static PyObject *_wrap_StaticText_Wrap(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -6754,21 +6915,21 @@ static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_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 = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStaticText::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; @@ -6785,7 +6946,7 @@ static PyObject * StaticText_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -6817,7 +6978,7 @@ static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -6845,7 +7006,7 @@ static PyObject *_wrap_new_StaticBitmap(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; } } @@ -6880,7 +7041,7 @@ static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *result; char *kwnames[] = { NULL @@ -6903,7 +7064,7 @@ static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6939,7 +7100,7 @@ static PyObject *_wrap_StaticBitmap_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; } } @@ -6967,7 +7128,7 @@ static PyObject *_wrap_StaticBitmap_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; } } @@ -7003,7 +7164,7 @@ static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -7023,7 +7184,7 @@ static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObje } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -7033,7 +7194,7 @@ static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7068,7 +7229,7 @@ static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ; wxIcon *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7103,7 +7264,7 @@ static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -7114,21 +7275,21 @@ static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_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 = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStaticBitmap::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; @@ -7151,7 +7312,7 @@ static int _wrap_ListBoxNameStr_set(PyObject *) { static PyObject *_wrap_ListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -7165,7 +7326,7 @@ static PyObject *_wrap_ListBoxNameStr_get(void) { static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -7201,7 +7362,7 @@ static PyObject *_wrap_new_ListBox(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; } } @@ -7238,7 +7399,7 @@ static PyObject *_wrap_new_ListBox(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; } } @@ -7289,7 +7450,7 @@ static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *result; char *kwnames[] = { NULL @@ -7312,7 +7473,7 @@ static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -7352,7 +7513,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7389,7 +7550,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwar } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -7441,7 +7602,7 @@ static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -7464,7 +7625,7 @@ static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwar temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -7493,7 +7654,7 @@ static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxArrayString *arg2 = 0 ; int arg3 ; @@ -7526,7 +7687,7 @@ static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject } } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -7550,7 +7711,7 @@ static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxArrayString *arg2 = 0 ; bool temp2 = false ; @@ -7601,7 +7762,7 @@ static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; bool result; @@ -7615,7 +7776,7 @@ static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7635,7 +7796,7 @@ static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -7650,12 +7811,12 @@ static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -7674,7 +7835,7 @@ static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7687,7 +7848,7 @@ static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7705,7 +7866,7 @@ static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7718,7 +7879,7 @@ static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7736,7 +7897,7 @@ static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 = (int) -1 ; PyObject * obj0 = 0 ; @@ -7750,7 +7911,7 @@ static PyObject *_wrap_ListBox_DeselectAll(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; } } @@ -7769,7 +7930,7 @@ static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -7792,7 +7953,7 @@ static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7821,7 +7982,7 @@ static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -7847,7 +8008,7 @@ static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7860,7 +8021,7 @@ static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7878,7 +8039,7 @@ static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7919,7 +8080,7 @@ static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7932,7 +8093,7 @@ static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7950,7 +8111,7 @@ static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7991,7 +8152,7 @@ static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8019,7 +8180,7 @@ static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -8035,7 +8196,7 @@ static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8057,7 +8218,7 @@ static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *arg static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -8073,7 +8234,7 @@ static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8095,7 +8256,7 @@ static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *arg static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListBox *arg1 = (wxListBox *) 0 ; int arg2 ; wxFont *arg3 = 0 ; @@ -8110,7 +8271,7 @@ static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8136,7 +8297,7 @@ static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -8147,21 +8308,21 @@ static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_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 = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxListBox::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; @@ -8178,7 +8339,7 @@ static PyObject * ListBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -8214,7 +8375,7 @@ static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8251,7 +8412,7 @@ static PyObject *_wrap_new_CheckListBox(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; } } @@ -8302,7 +8463,7 @@ static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *result; char *kwnames[] = { NULL @@ -8325,7 +8486,7 @@ static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -8365,7 +8526,7 @@ static PyObject *_wrap_CheckListBox_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; } } @@ -8402,7 +8563,7 @@ static PyObject *_wrap_CheckListBox_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; } } @@ -8454,7 +8615,7 @@ static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int arg2 ; bool result; @@ -8468,7 +8629,7 @@ static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8488,7 +8649,7 @@ static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int arg2 ; int arg3 = (int) true ; @@ -8503,12 +8664,12 @@ static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8527,7 +8688,7 @@ static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; wxPoint *arg2 = 0 ; int result; @@ -8553,7 +8714,7 @@ static PyObject *_wrap_CheckListBox_HitTest(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: @@ -8562,7 +8723,7 @@ static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCheckListBox *arg1 = (wxCheckListBox *) 0 ; int arg2 ; int arg3 ; @@ -8578,11 +8739,11 @@ static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8593,7 +8754,7 @@ static PyObject *_wrap_CheckListBox_HitTestXY(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: @@ -8615,7 +8776,7 @@ static int _wrap_TextCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TextCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8629,7 +8790,7 @@ static PyObject *_wrap_TextCtrlNameStr_get(void) { static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour const &arg1_defvalue = wxNullColour ; wxColour *arg1 = (wxColour *) &arg1_defvalue ; wxColour const &arg2_defvalue = wxNullColour ; @@ -8673,13 +8834,13 @@ static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4); + result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8692,7 +8853,7 @@ static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8717,7 +8878,7 @@ static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8742,7 +8903,7 @@ static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8774,7 +8935,7 @@ static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -8806,7 +8967,7 @@ static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxFont *arg2 = 0 ; long arg3 = (long) wxTEXT_ATTR_FONT ; @@ -8830,7 +8991,7 @@ static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8849,7 +9010,7 @@ static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxTextAttrAlignment arg2 ; PyObject * obj0 = 0 ; @@ -8862,12 +9023,12 @@ static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlignment((wxTextAttrAlignment )arg2); + (arg1)->SetAlignment(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8880,7 +9041,7 @@ static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxArrayInt *arg2 = 0 ; bool temp2 = false ; @@ -8930,7 +9091,7 @@ static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; int arg2 ; int arg3 = (int) 0 ; @@ -8945,12 +9106,12 @@ static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8969,7 +9130,7 @@ static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8982,7 +9143,7 @@ static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9000,7 +9161,7 @@ static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -9013,7 +9174,7 @@ static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, 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; } { @@ -9031,7 +9192,7 @@ static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9059,7 +9220,7 @@ static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9087,7 +9248,7 @@ static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9115,7 +9276,7 @@ static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9143,7 +9304,7 @@ static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9171,7 +9332,7 @@ static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9199,7 +9360,7 @@ static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9227,7 +9388,7 @@ static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long arg2 ; bool result; @@ -9241,7 +9402,7 @@ static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, 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; } { @@ -9261,7 +9422,7 @@ static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -9290,7 +9451,7 @@ static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -9319,7 +9480,7 @@ static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -9351,7 +9512,7 @@ static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxTextAttrAlignment result; PyObject * obj0 = 0 ; @@ -9377,7 +9538,7 @@ static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -9414,7 +9575,7 @@ static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9433,7 +9594,7 @@ static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9442,7 +9603,7 @@ static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9461,7 +9622,7 @@ static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9470,7 +9631,7 @@ static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyO static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9489,7 +9650,7 @@ static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9498,7 +9659,7 @@ static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9517,7 +9678,7 @@ static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9526,7 +9687,7 @@ static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = (wxTextAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9554,7 +9715,7 @@ static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextAttr *arg1 = 0 ; wxTextAttr *arg2 = 0 ; wxTextCtrl *arg3 = (wxTextCtrl *) 0 ; @@ -9594,7 +9755,7 @@ static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kw } { wxTextAttr * resultptr; - resultptr = new wxTextAttr((wxTextAttr &)(result)); + resultptr = new wxTextAttr(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1); } return resultobj; @@ -9611,7 +9772,7 @@ static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9647,7 +9808,7 @@ static PyObject *_wrap_new_TextCtrl(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; } } @@ -9672,7 +9833,7 @@ static PyObject *_wrap_new_TextCtrl(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; } } @@ -9725,7 +9886,7 @@ static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *result; char *kwnames[] = { NULL @@ -9748,7 +9909,7 @@ static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -9788,7 +9949,7 @@ static PyObject *_wrap_TextCtrl_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; } } @@ -9813,7 +9974,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -9867,7 +10028,7 @@ static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9899,7 +10060,7 @@ static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9940,7 +10101,7 @@ static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -9956,11 +10117,11 @@ static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9984,7 +10145,7 @@ static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; int result; @@ -9998,7 +10159,7 @@ static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10009,7 +10170,7 @@ static PyObject *_wrap_TextCtrl_GetLineLength(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: @@ -10018,7 +10179,7 @@ static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; wxString result; @@ -10032,7 +10193,7 @@ static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10056,7 +10217,7 @@ static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10075,7 +10236,7 @@ static PyObject *_wrap_TextCtrl_GetNumberOfLines(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: @@ -10084,7 +10245,7 @@ static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyO static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10112,7 +10273,7 @@ static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10140,7 +10301,7 @@ static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10168,7 +10329,7 @@ static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10196,7 +10357,7 @@ static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -10233,7 +10394,7 @@ static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10265,7 +10426,7 @@ static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, P static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10290,7 +10451,7 @@ static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10308,11 +10469,11 @@ static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10343,7 +10504,7 @@ static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10358,11 +10519,11 @@ static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10380,7 +10541,7 @@ static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -10424,7 +10585,7 @@ static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -10471,7 +10632,7 @@ static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10496,7 +10657,7 @@ static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10521,7 +10682,7 @@ static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; unsigned long arg2 ; PyObject * obj0 = 0 ; @@ -10534,7 +10695,7 @@ static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10552,7 +10713,7 @@ static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10593,7 +10754,7 @@ static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10634,7 +10795,7 @@ static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxKeyEvent *arg2 = 0 ; bool result; @@ -10672,7 +10833,7 @@ static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10690,11 +10851,11 @@ static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10722,7 +10883,7 @@ static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; wxTextAttr *arg3 = 0 ; @@ -10738,7 +10899,7 @@ static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10766,7 +10927,7 @@ static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxTextAttr *arg2 = 0 ; bool result; @@ -10804,7 +10965,7 @@ static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxTextAttr *result; PyObject * obj0 = 0 ; @@ -10833,7 +10994,7 @@ static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -10849,11 +11010,11 @@ static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10864,7 +11025,7 @@ static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -10873,7 +11034,7 @@ static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long *arg3 = (long *) 0 ; @@ -10894,7 +11055,7 @@ static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10916,7 +11077,7 @@ static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -10929,7 +11090,7 @@ static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -10947,7 +11108,7 @@ static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxPoint *arg2 = 0 ; long *arg3 = (long *) 0 ; @@ -10992,7 +11153,7 @@ static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxPoint *arg2 = 0 ; long *arg3 = (long *) 0 ; @@ -11031,7 +11192,7 @@ static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11056,7 +11217,7 @@ static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11081,7 +11242,7 @@ static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11106,7 +11267,7 @@ static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11134,7 +11295,7 @@ static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11162,7 +11323,7 @@ static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11190,7 +11351,7 @@ static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11215,7 +11376,7 @@ static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11240,7 +11401,7 @@ static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11268,7 +11429,7 @@ static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11296,7 +11457,7 @@ static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -11309,7 +11470,7 @@ static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -11327,7 +11488,7 @@ static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, Py static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11352,7 +11513,7 @@ static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long result; PyObject * obj0 = 0 ; @@ -11371,7 +11532,7 @@ static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -11380,7 +11541,7 @@ static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, Py static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long result; PyObject * obj0 = 0 ; @@ -11399,7 +11560,7 @@ static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -11408,7 +11569,7 @@ static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -11423,11 +11584,11 @@ static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11445,7 +11606,7 @@ static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11470,7 +11631,7 @@ static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -11483,7 +11644,7 @@ static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, 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; } { @@ -11501,7 +11662,7 @@ static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -11542,7 +11703,7 @@ static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; long arg2 ; long arg3 ; @@ -11558,11 +11719,11 @@ static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11586,7 +11747,7 @@ static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -11597,21 +11758,21 @@ static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_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 = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxTextCtrl::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; @@ -11628,7 +11789,7 @@ static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxMouseEvent *arg2 = 0 ; long arg3 ; @@ -11644,7 +11805,7 @@ static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -11656,11 +11817,11 @@ static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -11678,7 +11839,7 @@ static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ; wxMouseEvent *result; PyObject * obj0 = 0 ; @@ -11707,7 +11868,7 @@ static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, Py static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -11726,7 +11887,7 @@ static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -11735,7 +11896,7 @@ static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -11754,7 +11915,7 @@ static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -11776,7 +11937,7 @@ static int _wrap_ScrollBarNameStr_set(PyObject *) { static PyObject *_wrap_ScrollBarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -11790,7 +11951,7 @@ static PyObject *_wrap_ScrollBarNameStr_get(void) { static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -11822,7 +11983,7 @@ static PyObject *_wrap_new_ScrollBar(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; } } @@ -11840,7 +12001,7 @@ static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwarg } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -11885,7 +12046,7 @@ static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *result; char *kwnames[] = { NULL @@ -11908,7 +12069,7 @@ static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -11944,7 +12105,7 @@ static PyObject *_wrap_ScrollBar_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; } } @@ -11962,7 +12123,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kw } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -12008,7 +12169,7 @@ static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12027,7 +12188,7 @@ static PyObject *_wrap_ScrollBar_GetThumbPosition(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: @@ -12036,7 +12197,7 @@ static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12055,7 +12216,7 @@ static PyObject *_wrap_ScrollBar_GetThumbSize(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: @@ -12064,7 +12225,7 @@ static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12083,7 +12244,7 @@ static PyObject *_wrap_ScrollBar_GetPageSize(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: @@ -12092,7 +12253,7 @@ static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12111,7 +12272,7 @@ static PyObject *_wrap_ScrollBar_GetRange(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: @@ -12120,7 +12281,7 @@ static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12148,7 +12309,7 @@ static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12161,7 +12322,7 @@ static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12179,7 +12340,7 @@ static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollBar *arg1 = (wxScrollBar *) 0 ; int arg2 ; int arg3 ; @@ -12200,24 +12361,24 @@ static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -12236,7 +12397,7 @@ static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -12247,21 +12408,21 @@ static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_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 = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxScrollBar::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; @@ -12284,7 +12445,7 @@ static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) { static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -12304,7 +12465,7 @@ static int _wrap_SpinCtrlNameStr_set(PyObject *) { static PyObject *_wrap_SpinCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -12318,7 +12479,7 @@ static PyObject *_wrap_SpinCtrlNameStr_get(void) { static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -12347,7 +12508,7 @@ static PyObject *_wrap_new_SpinButton(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; } } @@ -12365,7 +12526,7 @@ static PyObject *_wrap_new_SpinButton(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; } } @@ -12400,7 +12561,7 @@ static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *result; char *kwnames[] = { NULL @@ -12423,7 +12584,7 @@ static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -12456,7 +12617,7 @@ static PyObject *_wrap_SpinButton_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; } } @@ -12474,7 +12635,7 @@ static PyObject *_wrap_SpinButton_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; } } @@ -12510,7 +12671,7 @@ static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12529,7 +12690,7 @@ static PyObject *_wrap_SpinButton_GetValue(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: @@ -12538,7 +12699,7 @@ static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12557,7 +12718,7 @@ static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12566,7 +12727,7 @@ static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12585,7 +12746,7 @@ static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12594,7 +12755,7 @@ static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12607,7 +12768,7 @@ static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12625,7 +12786,7 @@ static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12638,7 +12799,7 @@ static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12656,7 +12817,7 @@ static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12669,7 +12830,7 @@ static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12687,7 +12848,7 @@ static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; int arg2 ; int arg3 ; @@ -12702,11 +12863,11 @@ static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12724,7 +12885,7 @@ static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinButton *arg1 = (wxSpinButton *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12752,7 +12913,7 @@ static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -12763,21 +12924,21 @@ static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_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 = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxSpinButton::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; @@ -12794,7 +12955,7 @@ static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -12833,7 +12994,7 @@ static PyObject *_wrap_new_SpinCtrl(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; } } @@ -12858,25 +13019,25 @@ static PyObject *_wrap_new_SpinCtrl(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; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -12919,7 +13080,7 @@ static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *result; char *kwnames[] = { NULL @@ -12942,7 +13103,7 @@ static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -12985,7 +13146,7 @@ static PyObject *_wrap_SpinCtrl_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; } } @@ -13010,25 +13171,25 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (int)(SWIG_As_int(obj9)); + arg10 = static_cast(SWIG_As_int(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -13072,7 +13233,7 @@ static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13091,7 +13252,7 @@ static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13100,7 +13261,7 @@ static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13113,7 +13274,7 @@ static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13131,7 +13292,7 @@ static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -13172,7 +13333,7 @@ static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int arg2 ; int arg3 ; @@ -13187,11 +13348,11 @@ static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13209,7 +13370,7 @@ static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13228,7 +13389,7 @@ static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13237,7 +13398,7 @@ static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13256,7 +13417,7 @@ static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13265,7 +13426,7 @@ static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ; long arg2 ; long arg3 ; @@ -13280,11 +13441,11 @@ static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13302,7 +13463,7 @@ static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -13313,21 +13474,21 @@ static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_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 = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxSpinCtrl::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; @@ -13344,7 +13505,7 @@ static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxSpinEvent *result; @@ -13357,13 +13518,13 @@ static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",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; } } @@ -13382,7 +13543,7 @@ static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinEvent *arg1 = (wxSpinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13401,7 +13562,7 @@ static PyObject *_wrap_SpinEvent_GetPosition(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: @@ -13410,7 +13571,7 @@ static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSpinEvent *arg1 = (wxSpinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13423,7 +13584,7 @@ static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13454,7 +13615,7 @@ static int _wrap_RadioBoxNameStr_set(PyObject *) { static PyObject *_wrap_RadioBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13474,7 +13635,7 @@ static int _wrap_RadioButtonNameStr_set(PyObject *) { static PyObject *_wrap_RadioButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13488,7 +13649,7 @@ static PyObject *_wrap_RadioButtonNameStr_get(void) { static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -13530,7 +13691,7 @@ static PyObject *_wrap_new_RadioBox(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; } } @@ -13574,13 +13735,13 @@ static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs } 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 = (long)(SWIG_As_long(obj7)); + arg8 = static_cast(SWIG_As_long(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -13639,7 +13800,7 @@ static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *result; char *kwnames[] = { NULL @@ -13662,7 +13823,7 @@ static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -13708,7 +13869,7 @@ static PyObject *_wrap_RadioBox_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; } } @@ -13752,13 +13913,13 @@ static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (long)(SWIG_As_long(obj8)); + arg9 = static_cast(SWIG_As_long(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -13818,7 +13979,7 @@ static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13831,7 +13992,7 @@ static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13849,7 +14010,7 @@ static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13868,7 +14029,7 @@ static PyObject *_wrap_RadioBox_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: @@ -13877,7 +14038,7 @@ static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -13909,7 +14070,7 @@ static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, P static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString *arg2 = 0 ; bool result; @@ -13953,7 +14114,7 @@ static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, P static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13972,7 +14133,7 @@ static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13981,7 +14142,7 @@ static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; wxString *arg2 = 0 ; int result; @@ -14008,7 +14169,7 @@ static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -14025,7 +14186,7 @@ static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; wxString result; @@ -14039,7 +14200,7 @@ static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14063,7 +14224,7 @@ static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -14079,7 +14240,7 @@ static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14110,7 +14271,7 @@ static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -14125,12 +14286,12 @@ static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14149,7 +14310,7 @@ static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -14164,12 +14325,12 @@ static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14188,7 +14349,7 @@ static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14207,7 +14368,7 @@ static PyObject *_wrap_RadioBox_GetColumnCount(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: @@ -14216,7 +14377,7 @@ static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14235,7 +14396,7 @@ static PyObject *_wrap_RadioBox_GetRowCount(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: @@ -14244,7 +14405,7 @@ static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioBox *arg1 = (wxRadioBox *) 0 ; int arg2 ; wxDirection arg3 ; @@ -14262,26 +14423,26 @@ static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDirection)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4); + result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14290,7 +14451,7 @@ static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -14301,21 +14462,21 @@ static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_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 = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxRadioBox::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; @@ -14332,7 +14493,7 @@ static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14368,7 +14529,7 @@ static PyObject *_wrap_new_RadioButton(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; } } @@ -14393,7 +14554,7 @@ static PyObject *_wrap_new_RadioButton(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; } } @@ -14446,7 +14607,7 @@ static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioButton *result; char *kwnames[] = { NULL @@ -14469,7 +14630,7 @@ static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioButton *arg1 = (wxRadioButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -14509,7 +14670,7 @@ static PyObject *_wrap_RadioButton_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; } } @@ -14534,7 +14695,7 @@ static PyObject *_wrap_RadioButton_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; } } @@ -14588,7 +14749,7 @@ static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioButton *arg1 = (wxRadioButton *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -14616,7 +14777,7 @@ static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRadioButton *arg1 = (wxRadioButton *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -14629,7 +14790,7 @@ static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, 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; } { @@ -14647,7 +14808,7 @@ static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -14658,21 +14819,21 @@ static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_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 = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxRadioButton::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; @@ -14695,7 +14856,7 @@ static int _wrap_SliderNameStr_set(PyObject *) { static PyObject *_wrap_SliderNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14709,7 +14870,7 @@ static PyObject *_wrap_SliderNameStr_get(void) { static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; int arg3 = (int) 0 ; @@ -14747,25 +14908,25 @@ static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -14783,7 +14944,7 @@ static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) } if (obj7) { { - arg8 = (long)(SWIG_As_long(obj7)); + arg8 = static_cast(SWIG_As_long(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -14828,7 +14989,7 @@ static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *result; char *kwnames[] = { NULL @@ -14851,7 +15012,7 @@ static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -14893,25 +15054,25 @@ static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -14929,7 +15090,7 @@ static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwarg } if (obj8) { { - arg9 = (long)(SWIG_As_long(obj8)); + arg9 = static_cast(SWIG_As_long(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -14975,7 +15136,7 @@ static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14994,7 +15155,7 @@ static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15003,7 +15164,7 @@ static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15016,7 +15177,7 @@ static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15034,7 +15195,7 @@ static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; int arg3 ; @@ -15049,11 +15210,11 @@ static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15071,7 +15232,7 @@ static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15090,7 +15251,7 @@ static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15099,7 +15260,7 @@ static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15118,7 +15279,7 @@ static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15127,7 +15288,7 @@ static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15140,7 +15301,7 @@ static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15158,7 +15319,7 @@ static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15171,7 +15332,7 @@ static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15189,7 +15350,7 @@ static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15202,7 +15363,7 @@ static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15220,7 +15381,7 @@ static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15233,7 +15394,7 @@ static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15251,7 +15412,7 @@ static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15270,7 +15431,7 @@ static PyObject *_wrap_Slider_GetLineSize(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: @@ -15279,7 +15440,7 @@ static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15298,7 +15459,7 @@ static PyObject *_wrap_Slider_GetPageSize(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: @@ -15307,7 +15468,7 @@ static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15320,7 +15481,7 @@ static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15338,7 +15499,7 @@ static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15357,7 +15518,7 @@ static PyObject *_wrap_Slider_GetThumbLength(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: @@ -15366,7 +15527,7 @@ static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; int arg3 = (int) 1 ; @@ -15381,12 +15542,12 @@ static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -15405,7 +15566,7 @@ static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15424,7 +15585,7 @@ static PyObject *_wrap_Slider_GetTickFreq(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: @@ -15433,7 +15594,7 @@ static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15458,7 +15619,7 @@ static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15471,7 +15632,7 @@ static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15489,7 +15650,7 @@ static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15514,7 +15675,7 @@ static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15533,7 +15694,7 @@ static PyObject *_wrap_Slider_GetSelEnd(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: @@ -15542,7 +15703,7 @@ static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15561,7 +15722,7 @@ static PyObject *_wrap_Slider_GetSelStart(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: @@ -15570,7 +15731,7 @@ static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSlider *arg1 = (wxSlider *) 0 ; int arg2 ; int arg3 ; @@ -15585,11 +15746,11 @@ static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15607,7 +15768,7 @@ static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -15618,21 +15779,21 @@ static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_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 = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxSlider::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; @@ -15655,7 +15816,7 @@ static int _wrap_ToggleButtonNameStr_set(PyObject *) { static PyObject *_wrap_ToggleButtonNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15669,7 +15830,7 @@ static PyObject *_wrap_ToggleButtonNameStr_get(void) { static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -15705,7 +15866,7 @@ static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15730,7 +15891,7 @@ static PyObject *_wrap_new_ToggleButton(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; } } @@ -15783,7 +15944,7 @@ static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *result; char *kwnames[] = { NULL @@ -15806,7 +15967,7 @@ static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *arg1 = (wxToggleButton *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -15846,7 +16007,7 @@ static PyObject *_wrap_ToggleButton_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; } } @@ -15871,7 +16032,7 @@ static PyObject *_wrap_ToggleButton_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; } } @@ -15925,7 +16086,7 @@ static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *arg1 = (wxToggleButton *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15938,7 +16099,7 @@ static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, 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; } { @@ -15956,7 +16117,7 @@ static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *arg1 = (wxToggleButton *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15984,7 +16145,7 @@ static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToggleButton *arg1 = (wxToggleButton *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16025,7 +16186,7 @@ static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -16036,21 +16197,21 @@ static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_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 = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxToggleButton::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; @@ -16073,7 +16234,7 @@ static int _wrap_NotebookNameStr_set(PyObject *) { static PyObject *_wrap_NotebookNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16087,7 +16248,7 @@ static PyObject *_wrap_NotebookNameStr_get(void) { static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -16106,7 +16267,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageCount(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: @@ -16115,7 +16276,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; wxWindow *result; @@ -16129,7 +16290,7 @@ static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16149,7 +16310,7 @@ static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16177,7 +16338,7 @@ static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, P static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16196,7 +16357,7 @@ static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16205,7 +16366,7 @@ static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -16222,7 +16383,7 @@ static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16255,7 +16416,7 @@ static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; wxString result; @@ -16269,7 +16430,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16293,7 +16454,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -16322,7 +16483,7 @@ static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -16351,7 +16512,7 @@ static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -16379,7 +16540,7 @@ static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; int result; @@ -16393,7 +16554,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16404,7 +16565,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageImage(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: @@ -16413,7 +16574,7 @@ static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; int arg3 ; @@ -16429,11 +16590,11 @@ static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -16453,7 +16614,7 @@ static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -16485,7 +16646,7 @@ static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -16512,7 +16673,7 @@ static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(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; @@ -16522,7 +16683,7 @@ static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; bool result; @@ -16536,7 +16697,7 @@ static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16556,7 +16717,7 @@ static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; bool result; @@ -16570,7 +16731,7 @@ static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16590,7 +16751,7 @@ static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16618,7 +16779,7 @@ static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, P static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -16647,13 +16808,13 @@ static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -16682,7 +16843,7 @@ static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -16705,7 +16866,7 @@ static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -16717,13 +16878,13 @@ static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObj } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(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; } } @@ -16752,7 +16913,7 @@ static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; size_t arg2 ; int result; @@ -16766,7 +16927,7 @@ static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, 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; } { @@ -16777,7 +16938,7 @@ static PyObject *_wrap_BookCtrlBase_SetSelection(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: @@ -16786,7 +16947,7 @@ static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -16800,7 +16961,7 @@ static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16819,7 +16980,7 @@ static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -16830,21 +16991,21 @@ static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_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 = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxBookCtrlBase::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; @@ -16861,7 +17022,7 @@ static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -16878,25 +17039,25 @@ static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -16915,7 +17076,7 @@ static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16934,7 +17095,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16943,7 +17104,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16956,7 +17117,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16974,7 +17135,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16993,7 +17154,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17002,7 +17163,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *a static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17015,7 +17176,7 @@ static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17040,7 +17201,7 @@ static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -17069,7 +17230,7 @@ static PyObject *_wrap_new_Notebook(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; } } @@ -17087,7 +17248,7 @@ static PyObject *_wrap_new_Notebook(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; } } @@ -17122,7 +17283,7 @@ static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *result; char *kwnames[] = { NULL @@ -17145,7 +17306,7 @@ static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -17178,7 +17339,7 @@ static PyObject *_wrap_Notebook_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; } } @@ -17196,7 +17357,7 @@ static PyObject *_wrap_Notebook_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; } } @@ -17232,7 +17393,7 @@ static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17251,7 +17412,7 @@ static PyObject *_wrap_Notebook_GetRowCount(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: @@ -17260,7 +17421,7 @@ static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -17292,7 +17453,7 @@ static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -17324,7 +17485,7 @@ static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxPoint *arg2 = 0 ; long *arg3 = (long *) 0 ; @@ -17354,7 +17515,7 @@ static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0))); @@ -17365,7 +17526,7 @@ static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -17392,7 +17553,7 @@ static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -17402,7 +17563,7 @@ static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyO static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotebook *arg1 = (wxNotebook *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -17422,7 +17583,7 @@ static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -17432,7 +17593,7 @@ static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *a static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -17443,21 +17604,21 @@ static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_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 = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxNotebook::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; @@ -17474,7 +17635,7 @@ static PyObject * Notebook_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -17491,25 +17652,25 @@ static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -17535,7 +17696,7 @@ static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -17564,7 +17725,7 @@ static PyObject *_wrap_new_Listbook(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; } } @@ -17582,7 +17743,7 @@ static PyObject *_wrap_new_Listbook(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; } } @@ -17617,7 +17778,7 @@ static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListbook *result; char *kwnames[] = { NULL @@ -17640,7 +17801,7 @@ static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListbook *arg1 = (wxListbook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -17673,7 +17834,7 @@ static PyObject *_wrap_Listbook_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; } } @@ -17691,7 +17852,7 @@ static PyObject *_wrap_Listbook_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; } } @@ -17727,7 +17888,7 @@ static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListbook *arg1 = (wxListbook *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17755,7 +17916,7 @@ static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListbook *arg1 = (wxListbook *) 0 ; wxListView *result; PyObject * obj0 = 0 ; @@ -17788,7 +17949,7 @@ static PyObject * Listbook_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -17805,25 +17966,25 @@ static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -17849,7 +18010,7 @@ static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -17877,7 +18038,7 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -17894,7 +18055,7 @@ static PyObject *_wrap_new_Choicebook(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; } } @@ -17929,7 +18090,7 @@ static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *result; char *kwnames[] = { NULL @@ -17952,7 +18113,7 @@ static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -17984,7 +18145,7 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k 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) { @@ -18001,7 +18162,7 @@ static PyObject *_wrap_Choicebook_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; } } @@ -18037,7 +18198,7 @@ static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18065,7 +18226,7 @@ static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; wxChoice *result; PyObject * obj0 = 0 ; @@ -18091,7 +18252,7 @@ static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChoicebook *arg1 = (wxChoicebook *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18126,7 +18287,7 @@ static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) -1 ; @@ -18143,25 +18304,25 @@ static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -18187,7 +18348,7 @@ static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18206,7 +18367,7 @@ static PyObject *_wrap_ToolBarToolBase_GetId(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: @@ -18215,7 +18376,7 @@ static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -18243,7 +18404,7 @@ static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxToolBarBase *result; PyObject * obj0 = 0 ; @@ -18271,7 +18432,7 @@ static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18290,7 +18451,7 @@ static PyObject *_wrap_ToolBarToolBase_IsButton(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: @@ -18299,7 +18460,7 @@ static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18318,7 +18479,7 @@ static PyObject *_wrap_ToolBarToolBase_IsControl(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: @@ -18327,7 +18488,7 @@ static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18346,7 +18507,7 @@ static PyObject *_wrap_ToolBarToolBase_IsSeparator(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: @@ -18355,7 +18516,7 @@ static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18374,7 +18535,7 @@ static PyObject *_wrap_ToolBarToolBase_GetStyle(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: @@ -18383,7 +18544,7 @@ static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxItemKind result; PyObject * obj0 = 0 ; @@ -18409,7 +18570,7 @@ static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18437,7 +18598,7 @@ static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18465,7 +18626,7 @@ static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18493,7 +18654,7 @@ static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -18525,7 +18686,7 @@ static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *arg static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -18557,7 +18718,7 @@ static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *a static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -18577,7 +18738,7 @@ static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyO } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -18587,7 +18748,7 @@ static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18619,7 +18780,7 @@ static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18651,7 +18812,7 @@ static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18683,7 +18844,7 @@ static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool arg2 ; bool result; @@ -18697,7 +18858,7 @@ static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, 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; } { @@ -18717,7 +18878,7 @@ static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18742,7 +18903,7 @@ static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; bool arg2 ; bool result; @@ -18756,7 +18917,7 @@ static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, 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; } { @@ -18776,7 +18937,7 @@ static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -18820,7 +18981,7 @@ static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -18864,7 +19025,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -18899,7 +19060,7 @@ static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *arg static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -18934,7 +19095,7 @@ static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *a static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -18975,7 +19136,7 @@ static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19000,7 +19161,7 @@ static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; wxToolBarBase *arg2 = (wxToolBarBase *) 0 ; PyObject * obj0 = 0 ; @@ -19029,7 +19190,7 @@ static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -19055,7 +19216,7 @@ static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -19090,7 +19251,7 @@ static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -19124,7 +19285,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19152,7 +19313,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObjec } if (obj5) { { - arg6 = (wxItemKind)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -19175,7 +19336,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObjec } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9); + result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19214,7 +19375,7 @@ static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; int arg3 ; @@ -19250,11 +19411,11 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -19282,7 +19443,7 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyOb } if (obj6) { { - arg7 = (wxItemKind)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -19305,7 +19466,7 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyOb } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,(wxItemKind )arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10); + result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19344,7 +19505,7 @@ static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ; wxToolBarToolBase *result; @@ -19376,7 +19537,7 @@ static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ; @@ -19392,7 +19553,7 @@ static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0); @@ -19414,7 +19575,7 @@ static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxControl *arg2 = (wxControl *) 0 ; wxToolBarToolBase *result; @@ -19446,7 +19607,7 @@ static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; wxControl *arg3 = (wxControl *) 0 ; @@ -19462,7 +19623,7 @@ static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0); @@ -19484,7 +19645,7 @@ static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxControl *result; @@ -19498,7 +19659,7 @@ static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19518,7 +19679,7 @@ static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxToolBarToolBase *result; PyObject * obj0 = 0 ; @@ -19546,7 +19707,7 @@ static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; wxToolBarToolBase *result; @@ -19560,7 +19721,7 @@ static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, 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; } { @@ -19580,7 +19741,7 @@ static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxToolBarToolBase *result; @@ -19594,7 +19755,7 @@ static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19614,7 +19775,7 @@ static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; size_t arg2 ; bool result; @@ -19628,7 +19789,7 @@ static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, 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; } { @@ -19648,7 +19809,7 @@ static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool result; @@ -19662,7 +19823,7 @@ static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19682,7 +19843,7 @@ static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19707,7 +19868,7 @@ static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19735,7 +19896,7 @@ static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool arg3 ; @@ -19750,11 +19911,11 @@ static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -19772,7 +19933,7 @@ static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool arg3 ; @@ -19787,11 +19948,11 @@ static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -19809,7 +19970,7 @@ static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool arg3 ; @@ -19824,11 +19985,11 @@ static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -19846,7 +20007,7 @@ static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject *result; @@ -19860,7 +20021,7 @@ static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19878,7 +20039,7 @@ static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -19893,7 +20054,7 @@ static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } arg3 = obj2; @@ -19912,7 +20073,7 @@ static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; int result; @@ -19926,7 +20087,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19937,7 +20098,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPos(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: @@ -19946,7 +20107,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool result; @@ -19960,7 +20121,7 @@ static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19980,7 +20141,7 @@ static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; bool result; @@ -19994,7 +20155,7 @@ static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20014,7 +20175,7 @@ static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -20030,7 +20191,7 @@ static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20061,7 +20222,7 @@ static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString result; @@ -20075,7 +20236,7 @@ static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20099,7 +20260,7 @@ static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -20115,7 +20276,7 @@ static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20146,7 +20307,7 @@ static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxString result; @@ -20160,7 +20321,7 @@ static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20184,7 +20345,7 @@ static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; int arg3 ; @@ -20199,11 +20360,11 @@ static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -20221,7 +20382,7 @@ static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -20253,7 +20414,7 @@ static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -20266,7 +20427,7 @@ static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20284,7 +20445,7 @@ static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -20297,7 +20458,7 @@ static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20315,7 +20476,7 @@ static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20335,7 +20496,7 @@ static PyObject *_wrap_ToolBarBase_GetToolMargins(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; @@ -20345,7 +20506,7 @@ static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20365,7 +20526,7 @@ static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObje } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -20375,7 +20536,7 @@ static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20394,7 +20555,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPacking(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: @@ -20403,7 +20564,7 @@ static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20422,7 +20583,7 @@ static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20431,7 +20592,7 @@ static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -20444,7 +20605,7 @@ static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20462,7 +20623,7 @@ static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; int arg3 ; @@ -20477,11 +20638,11 @@ static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -20499,7 +20660,7 @@ static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, Py static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20518,7 +20679,7 @@ static PyObject *_wrap_ToolBarBase_GetMaxRows(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: @@ -20527,7 +20688,7 @@ static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20546,7 +20707,7 @@ static PyObject *_wrap_ToolBarBase_GetMaxCols(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: @@ -20555,7 +20716,7 @@ static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -20587,7 +20748,7 @@ static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20607,7 +20768,7 @@ static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(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; @@ -20617,7 +20778,7 @@ static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20637,7 +20798,7 @@ static PyObject *_wrap_ToolBarBase_GetToolSize(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; @@ -20647,7 +20808,7 @@ static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; int arg3 ; @@ -20663,11 +20824,11 @@ static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -20687,7 +20848,7 @@ static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *arg static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; int arg2 ; wxToolBarToolBase *result; @@ -20701,7 +20862,7 @@ static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20721,7 +20882,7 @@ static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBarBase *arg1 = (wxToolBarBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20756,7 +20917,7 @@ static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -20785,7 +20946,7 @@ static PyObject *_wrap_new_ToolBar(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; } } @@ -20803,7 +20964,7 @@ static PyObject *_wrap_new_ToolBar(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; } } @@ -20838,7 +20999,7 @@ static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBar *result; char *kwnames[] = { NULL @@ -20861,7 +21022,7 @@ static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBar *arg1 = (wxToolBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -20894,7 +21055,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -20912,7 +21073,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwar } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -20948,7 +21109,7 @@ static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolBar *arg1 = (wxToolBar *) 0 ; int arg2 ; int arg3 ; @@ -20964,11 +21125,11 @@ static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -20988,7 +21149,7 @@ static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, P static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -20999,21 +21160,21 @@ static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_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 = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxToolBar::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; @@ -21036,7 +21197,7 @@ static int _wrap_ListCtrlNameStr_set(PyObject *) { static PyObject *_wrap_ListCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -21050,7 +21211,7 @@ static PyObject *_wrap_ListCtrlNameStr_get(void) { static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour const &arg1_defvalue = wxNullColour ; wxColour *arg1 = (wxColour *) &arg1_defvalue ; wxColour const &arg2_defvalue = wxNullColour ; @@ -21105,7 +21266,7 @@ static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21137,7 +21298,7 @@ static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21169,7 +21330,7 @@ static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -21204,7 +21365,7 @@ static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21232,7 +21393,7 @@ static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21260,7 +21421,7 @@ static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21288,7 +21449,7 @@ static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -21308,7 +21469,7 @@ static PyObject *_wrap_ListItemAttr_GetTextColour(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; @@ -21318,7 +21479,7 @@ static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -21338,7 +21499,7 @@ static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -21348,7 +21509,7 @@ static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -21368,7 +21529,7 @@ static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -21378,7 +21539,7 @@ static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItemAttr *arg1 = (wxListItemAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21410,7 +21571,7 @@ static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *result; char *kwnames[] = { NULL @@ -21434,7 +21595,7 @@ static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21459,7 +21620,7 @@ static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21484,7 +21645,7 @@ static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21509,7 +21670,7 @@ static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21522,7 +21683,7 @@ static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21540,7 +21701,7 @@ static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21553,7 +21714,7 @@ static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21571,7 +21732,7 @@ static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -21584,7 +21745,7 @@ static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21602,7 +21763,7 @@ static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21615,7 +21776,7 @@ static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21633,7 +21794,7 @@ static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21646,7 +21807,7 @@ static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21664,7 +21825,7 @@ static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -21705,7 +21866,7 @@ static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -21718,7 +21879,7 @@ static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21736,7 +21897,7 @@ static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21749,7 +21910,7 @@ static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, 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; } { @@ -21767,7 +21928,7 @@ static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -21780,7 +21941,7 @@ static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21798,7 +21959,7 @@ static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxListColumnFormat arg2 ; PyObject * obj0 = 0 ; @@ -21811,12 +21972,12 @@ static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxListColumnFormat)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlign((wxListColumnFormat )arg2); + (arg1)->SetAlign(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21829,7 +21990,7 @@ static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21861,7 +22022,7 @@ static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -21893,7 +22054,7 @@ static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -21928,7 +22089,7 @@ static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -21947,7 +22108,7 @@ static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -21956,7 +22117,7 @@ static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -21975,7 +22136,7 @@ static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -21984,7 +22145,7 @@ static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22003,7 +22164,7 @@ static PyObject *_wrap_ListItem_GetColumn(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: @@ -22012,7 +22173,7 @@ static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22031,7 +22192,7 @@ static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22040,7 +22201,7 @@ static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -22075,7 +22236,7 @@ static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22094,7 +22255,7 @@ static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22103,7 +22264,7 @@ static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22122,7 +22283,7 @@ static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22131,7 +22292,7 @@ static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22150,7 +22311,7 @@ static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22159,7 +22320,7 @@ static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxListColumnFormat result; PyObject * obj0 = 0 ; @@ -22185,7 +22346,7 @@ static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxListItemAttr *result; PyObject * obj0 = 0 ; @@ -22211,7 +22372,7 @@ static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22239,7 +22400,7 @@ static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -22259,7 +22420,7 @@ static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -22269,7 +22430,7 @@ static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -22289,7 +22450,7 @@ static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -22299,7 +22460,7 @@ static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -22319,7 +22480,7 @@ static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kw } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -22329,7 +22490,7 @@ static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22342,7 +22503,7 @@ static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_mask = arg2; @@ -22355,7 +22516,7 @@ static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22369,7 +22530,7 @@ static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject result = (long) ((arg1)->m_mask); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22378,7 +22539,7 @@ static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22391,7 +22552,7 @@ static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_itemId = arg2; @@ -22404,7 +22565,7 @@ static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22418,7 +22579,7 @@ static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObjec result = (long) ((arg1)->m_itemId); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22427,7 +22588,7 @@ static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22440,7 +22601,7 @@ static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_col = arg2; @@ -22453,7 +22614,7 @@ static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22467,7 +22628,7 @@ static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject * result = (int) ((arg1)->m_col); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22476,7 +22637,7 @@ static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22489,7 +22650,7 @@ static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_state = arg2; @@ -22502,7 +22663,7 @@ static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22516,7 +22677,7 @@ static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject result = (long) ((arg1)->m_state); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22525,7 +22686,7 @@ static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22538,7 +22699,7 @@ static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_stateMask = arg2; @@ -22551,7 +22712,7 @@ static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22565,7 +22726,7 @@ static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyOb result = (long) ((arg1)->m_stateMask); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22574,7 +22735,7 @@ static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxString *arg2 = (wxString *) 0 ; bool temp2 = false ; @@ -22610,7 +22771,7 @@ static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -22637,7 +22798,7 @@ static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22650,7 +22811,7 @@ static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_image = arg2; @@ -22663,7 +22824,7 @@ static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22677,7 +22838,7 @@ static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject result = (int) ((arg1)->m_image); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22686,7 +22847,7 @@ static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22699,7 +22860,7 @@ static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_data = arg2; @@ -22712,7 +22873,7 @@ static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22726,7 +22887,7 @@ static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject result = (long) ((arg1)->m_data); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22735,7 +22896,7 @@ static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22748,7 +22909,7 @@ static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_format = arg2; @@ -22761,7 +22922,7 @@ static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22775,7 +22936,7 @@ static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObjec result = (int) ((arg1)->m_format); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22784,7 +22945,7 @@ static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22797,7 +22958,7 @@ static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_width = arg2; @@ -22810,7 +22971,7 @@ static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListItem *arg1 = (wxListItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22824,7 +22985,7 @@ static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject result = (int) ((arg1)->m_width); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22840,7 +23001,7 @@ static PyObject * ListItem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxListEvent *result; @@ -22853,13 +23014,13 @@ static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",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; } } @@ -22878,7 +23039,7 @@ static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22891,7 +23052,7 @@ static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_code = arg2; @@ -22904,7 +23065,7 @@ static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22918,7 +23079,7 @@ static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject result = (int) ((arg1)->m_code); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -22927,7 +23088,7 @@ static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22940,7 +23101,7 @@ static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_oldItemIndex = arg2; @@ -22953,7 +23114,7 @@ static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -22967,7 +23128,7 @@ static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, result = (long) ((arg1)->m_oldItemIndex); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -22976,7 +23137,7 @@ static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22989,7 +23150,7 @@ static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_itemIndex = arg2; @@ -23002,7 +23163,7 @@ static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23016,7 +23177,7 @@ static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyO result = (long) ((arg1)->m_itemIndex); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23025,7 +23186,7 @@ static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -23038,7 +23199,7 @@ static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_col = arg2; @@ -23051,7 +23212,7 @@ static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23065,7 +23226,7 @@ static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject result = (int) ((arg1)->m_col); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23074,7 +23235,7 @@ static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxPoint *arg2 = (wxPoint *) 0 ; PyObject * obj0 = 0 ; @@ -23098,7 +23259,7 @@ static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -23119,7 +23280,7 @@ static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxListItem *result; PyObject * obj0 = 0 ; @@ -23142,7 +23303,7 @@ static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23161,7 +23322,7 @@ static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23170,7 +23331,7 @@ static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23189,7 +23350,7 @@ static PyObject *_wrap_ListEvent_GetIndex(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: @@ -23198,7 +23359,7 @@ static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23217,7 +23378,7 @@ static PyObject *_wrap_ListEvent_GetColumn(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: @@ -23226,7 +23387,7 @@ static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -23246,7 +23407,7 @@ static PyObject *_wrap_ListEvent_GetPoint(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; @@ -23256,7 +23417,7 @@ static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -23291,7 +23452,7 @@ static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -23326,7 +23487,7 @@ static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23345,7 +23506,7 @@ static PyObject *_wrap_ListEvent_GetImage(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: @@ -23354,7 +23515,7 @@ static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23373,7 +23534,7 @@ static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23382,7 +23543,7 @@ static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23401,7 +23562,7 @@ static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23410,7 +23571,7 @@ static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; wxListItem *result; PyObject * obj0 = 0 ; @@ -23439,7 +23600,7 @@ static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23458,7 +23619,7 @@ static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23467,7 +23628,7 @@ static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -23486,7 +23647,7 @@ static PyObject *_wrap_ListEvent_GetCacheTo(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: @@ -23495,7 +23656,7 @@ static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23523,7 +23684,7 @@ static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListEvent *arg1 = (wxListEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23536,7 +23697,7 @@ static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, 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; } { @@ -23561,7 +23722,7 @@ static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -23593,7 +23754,7 @@ static PyObject *_wrap_new_ListCtrl(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; } } @@ -23611,7 +23772,7 @@ static PyObject *_wrap_new_ListCtrl(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; } } @@ -23656,7 +23817,7 @@ static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *result; char *kwnames[] = { NULL @@ -23679,7 +23840,7 @@ static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -23715,7 +23876,7 @@ static PyObject *_wrap_ListCtrl_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; } } @@ -23733,7 +23894,7 @@ static PyObject *_wrap_ListCtrl_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; } } @@ -23779,7 +23940,7 @@ static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -23810,7 +23971,7 @@ static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -23845,7 +24006,7 @@ static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -23880,7 +24041,7 @@ static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; wxListItem *result; @@ -23894,7 +24055,7 @@ static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23914,7 +24075,7 @@ static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; wxListItem *arg3 = 0 ; @@ -23930,7 +24091,7 @@ static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23958,7 +24119,7 @@ static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; int result; @@ -23972,7 +24133,7 @@ static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23983,7 +24144,7 @@ static PyObject *_wrap_ListCtrl_GetColumnWidth(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: @@ -23992,7 +24153,7 @@ static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; int arg3 ; @@ -24008,11 +24169,11 @@ static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -24032,7 +24193,7 @@ static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24051,7 +24212,7 @@ static PyObject *_wrap_ListCtrl_GetCountPerPage(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: @@ -24060,7 +24221,7 @@ static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -24080,7 +24241,7 @@ static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -24090,7 +24251,7 @@ static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 = (int) 0 ; @@ -24106,12 +24267,12 @@ static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -24132,7 +24293,7 @@ static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxListItem *arg2 = 0 ; bool result; @@ -24170,7 +24331,7 @@ static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 ; @@ -24191,11 +24352,11 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -24205,7 +24366,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -24217,7 +24378,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp4) @@ -24234,7 +24395,7 @@ static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -24250,11 +24411,11 @@ static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -24265,7 +24426,7 @@ static PyObject *_wrap_ListCtrl_GetItemState(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: @@ -24274,7 +24435,7 @@ static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -24292,15 +24453,15 @@ static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -24320,7 +24481,7 @@ static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 ; @@ -24338,16 +24499,16 @@ static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (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; } } @@ -24368,7 +24529,7 @@ static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString result; @@ -24382,7 +24543,7 @@ static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24406,7 +24567,7 @@ static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; @@ -24422,7 +24583,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24453,7 +24614,7 @@ static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long result; @@ -24467,7 +24628,7 @@ static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24478,7 +24639,7 @@ static PyObject *_wrap_ListCtrl_GetItemData(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: @@ -24487,7 +24648,7 @@ static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -24503,11 +24664,11 @@ static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -24527,7 +24688,7 @@ static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxPoint result; @@ -24541,7 +24702,7 @@ static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24553,7 +24714,7 @@ static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyOb } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -24563,7 +24724,7 @@ static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 = (int) wxLIST_RECT_BOUNDS ; @@ -24579,12 +24740,12 @@ static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -24597,7 +24758,7 @@ static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -24607,7 +24768,7 @@ static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxPoint *arg3 = 0 ; @@ -24624,7 +24785,7 @@ static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24648,7 +24809,7 @@ static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24667,7 +24828,7 @@ static PyObject *_wrap_ListCtrl_GetItemCount(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: @@ -24676,7 +24837,7 @@ static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24695,7 +24856,7 @@ static PyObject *_wrap_ListCtrl_GetColumnCount(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: @@ -24704,7 +24865,7 @@ static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -24724,7 +24885,7 @@ static PyObject *_wrap_ListCtrl_GetItemSpacing(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; @@ -24734,7 +24895,7 @@ static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -24749,12 +24910,12 @@ static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -24773,7 +24934,7 @@ static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24792,7 +24953,7 @@ static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24801,7 +24962,7 @@ static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -24821,7 +24982,7 @@ static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -24831,7 +24992,7 @@ static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -24863,7 +25024,7 @@ static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long result; PyObject * obj0 = 0 ; @@ -24882,7 +25043,7 @@ static PyObject *_wrap_ListCtrl_GetTopItem(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: @@ -24891,7 +25052,7 @@ static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; bool arg3 = (bool) true ; @@ -24906,12 +25067,12 @@ static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -24930,7 +25091,7 @@ static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -24943,7 +25104,7 @@ static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -24961,7 +25122,7 @@ static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, P static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 = (int) wxLIST_NEXT_ALL ; @@ -24979,18 +25140,18 @@ static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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 = (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; } } @@ -25002,7 +25163,7 @@ static PyObject *_wrap_ListCtrl_GetNextItem(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: @@ -25011,7 +25172,7 @@ static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; wxImageList *result; @@ -25025,7 +25186,7 @@ static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25045,7 +25206,7 @@ static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; int arg3 ; @@ -25062,7 +25223,7 @@ static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, 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; } { @@ -25080,7 +25241,7 @@ static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; int arg3 ; @@ -25097,7 +25258,7 @@ static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); 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; } { @@ -25115,7 +25276,7 @@ static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25143,7 +25304,7 @@ static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25171,7 +25332,7 @@ static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -25184,7 +25345,7 @@ static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25202,7 +25363,7 @@ static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -25217,11 +25378,11 @@ static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -25239,7 +25400,7 @@ static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 = (int) wxLIST_ALIGN_DEFAULT ; bool result; @@ -25254,7 +25415,7 @@ static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -25275,7 +25436,7 @@ static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; bool result; @@ -25289,7 +25450,7 @@ static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25309,7 +25470,7 @@ static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25337,7 +25498,7 @@ static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; bool result; @@ -25351,7 +25512,7 @@ static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25371,7 +25532,7 @@ static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25399,7 +25560,7 @@ static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25424,7 +25585,7 @@ static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -25437,7 +25598,7 @@ static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25455,7 +25616,7 @@ static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; bool result; @@ -25469,7 +25630,7 @@ static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25489,7 +25650,7 @@ static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; @@ -25508,7 +25669,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25518,7 +25679,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -25530,7 +25691,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp3) @@ -25547,7 +25708,7 @@ static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; long arg3 ; @@ -25563,11 +25724,11 @@ static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -25578,7 +25739,7 @@ static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25587,7 +25748,7 @@ static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxPoint *arg3 = 0 ; @@ -25606,7 +25767,7 @@ static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25614,7 +25775,7 @@ static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObje if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -25625,7 +25786,7 @@ static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25634,7 +25795,7 @@ static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxPoint *arg2 = 0 ; int *arg3 = 0 ; @@ -25664,7 +25825,7 @@ static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); @@ -25675,7 +25836,7 @@ static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxListItem *arg2 = 0 ; long result; @@ -25704,7 +25865,7 @@ static PyObject *_wrap_ListCtrl_InsertItem(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: @@ -25713,24 +25874,26 @@ static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; + int arg4 = (int) -1 ; long result; bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "index",(char *) "label", NULL + (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25738,15 +25901,21 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyO if (arg3 == NULL) SWIG_fail; temp3 = true; } + if (obj3) { + { + arg4 = static_cast(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3); + result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp3) @@ -25763,7 +25932,7 @@ static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; int arg3 ; @@ -25779,11 +25948,11 @@ static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -25794,7 +25963,7 @@ static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25803,7 +25972,7 @@ static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; @@ -25822,7 +25991,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25831,7 +26000,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args temp3 = true; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -25842,7 +26011,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp3) @@ -25859,7 +26028,7 @@ static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxListItem *arg3 = 0 ; @@ -25875,7 +26044,7 @@ static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25894,7 +26063,7 @@ static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25903,7 +26072,7 @@ static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxString *arg3 = 0 ; @@ -25924,7 +26093,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -25934,13 +26103,13 @@ static PyObject *_wrap_ListCtrl_InsertColumn(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; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -25952,7 +26121,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp3) @@ -25969,7 +26138,7 @@ static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -25982,7 +26151,7 @@ static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26000,7 +26169,7 @@ static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; int arg2 ; int arg3 ; @@ -26016,11 +26185,11 @@ static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -26040,7 +26209,7 @@ static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxColour *arg3 = 0 ; @@ -26056,7 +26225,7 @@ static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26078,7 +26247,7 @@ static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxColour result; @@ -26092,7 +26261,7 @@ static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26104,7 +26273,7 @@ static PyObject *_wrap_ListCtrl_GetItemTextColour(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; @@ -26114,7 +26283,7 @@ static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxColour *arg3 = 0 ; @@ -26130,7 +26299,7 @@ static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26152,7 +26321,7 @@ static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxColour result; @@ -26166,7 +26335,7 @@ static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26178,7 +26347,7 @@ static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -26188,7 +26357,7 @@ static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxFont *arg3 = 0 ; @@ -26203,7 +26372,7 @@ static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26229,7 +26398,7 @@ static PyObject *_wrap_ListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; long arg2 ; wxFont result; @@ -26243,7 +26412,7 @@ static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, 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; } { @@ -26255,7 +26424,7 @@ static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -26265,7 +26434,7 @@ static PyObject *_wrap_ListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -26296,7 +26465,7 @@ static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -26324,7 +26493,7 @@ static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -26335,21 +26504,21 @@ static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_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 = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxPyListCtrl::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; @@ -26366,7 +26535,7 @@ static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -26398,7 +26567,7 @@ static PyObject *_wrap_new_ListView(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; } } @@ -26416,7 +26585,7 @@ static PyObject *_wrap_new_ListView(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; } } @@ -26461,7 +26630,7 @@ static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *result; char *kwnames[] = { NULL @@ -26484,7 +26653,7 @@ static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -26520,7 +26689,7 @@ static PyObject *_wrap_ListView_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; } } @@ -26538,7 +26707,7 @@ static PyObject *_wrap_ListView_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; } } @@ -26584,7 +26753,7 @@ static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; bool arg3 = (bool) true ; @@ -26599,12 +26768,12 @@ static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, 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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -26623,7 +26792,7 @@ static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -26636,7 +26805,7 @@ static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, 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; } { @@ -26654,7 +26823,7 @@ static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long result; PyObject * obj0 = 0 ; @@ -26673,7 +26842,7 @@ static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26682,7 +26851,7 @@ static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; long result; @@ -26696,7 +26865,7 @@ static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, 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; } { @@ -26707,7 +26876,7 @@ static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26716,7 +26885,7 @@ static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long result; PyObject * obj0 = 0 ; @@ -26735,7 +26904,7 @@ static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26744,7 +26913,7 @@ static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyO static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; long arg2 ; bool result; @@ -26758,7 +26927,7 @@ static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, 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; } { @@ -26778,7 +26947,7 @@ static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; int arg2 ; int arg3 ; @@ -26793,11 +26962,11 @@ static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -26815,7 +26984,7 @@ static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxListView *arg1 = (wxListView *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -26828,7 +26997,7 @@ static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26859,7 +27028,7 @@ static int _wrap_TreeCtrlNameStr_set(PyObject *) { static PyObject *_wrap_TreeCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -26873,7 +27042,7 @@ static PyObject *_wrap_TreeCtrlNameStr_get(void) { static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *result; char *kwnames[] = { NULL @@ -26895,7 +27064,7 @@ static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26920,7 +27089,7 @@ static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -26948,7 +27117,7 @@ static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; wxTreeItemId *arg2 = (wxTreeItemId *) 0 ; bool result; @@ -26980,7 +27149,7 @@ static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; wxTreeItemId *arg2 = (wxTreeItemId *) 0 ; bool result; @@ -27012,7 +27181,7 @@ static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; void *arg2 = (void *) 0 ; PyObject * obj0 = 0 ; @@ -27025,7 +27194,7 @@ static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) { + if ((SWIG_ConvertPtr(obj1,reinterpret_cast(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) { SWIG_arg_fail(2);SWIG_fail; } } @@ -27039,7 +27208,7 @@ static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeItemId *arg1 = (wxTreeItemId *) 0 ; void *result; PyObject * obj0 = 0 ; @@ -27067,7 +27236,7 @@ static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) NULL ; wxPyTreeItemData *result; PyObject * obj0 = 0 ; @@ -27094,7 +27263,7 @@ static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -27120,7 +27289,7 @@ static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -27148,7 +27317,7 @@ static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; wxTreeItemId *result; PyObject * obj0 = 0 ; @@ -27177,7 +27346,7 @@ static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27212,7 +27381,7 @@ static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27244,7 +27413,7 @@ static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxTreeEvent *result; @@ -27257,13 +27426,13 @@ static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",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; } } @@ -27282,7 +27451,7 @@ static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -27302,7 +27471,7 @@ static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *k } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -27312,7 +27481,7 @@ static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27347,7 +27516,7 @@ static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -27367,7 +27536,7 @@ static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -27377,7 +27546,7 @@ static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27412,7 +27581,7 @@ static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -27432,7 +27601,7 @@ static PyObject *_wrap_TreeEvent_GetPoint(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; @@ -27442,7 +27611,7 @@ static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -27474,7 +27643,7 @@ static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxKeyEvent *result; PyObject * obj0 = 0 ; @@ -27503,7 +27672,7 @@ static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27522,7 +27691,7 @@ static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27531,7 +27700,7 @@ static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27566,7 +27735,7 @@ static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -27601,7 +27770,7 @@ static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -27642,7 +27811,7 @@ static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27670,7 +27839,7 @@ static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -27683,7 +27852,7 @@ static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, 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; } { @@ -27701,7 +27870,7 @@ static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -27742,7 +27911,7 @@ static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTreeEvent *arg1 = (wxTreeEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -27781,7 +27950,7 @@ static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -27813,7 +27982,7 @@ static PyObject *_wrap_new_TreeCtrl(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; } } @@ -27831,7 +28000,7 @@ static PyObject *_wrap_new_TreeCtrl(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; } } @@ -27876,7 +28045,7 @@ static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *result; char *kwnames[] = { NULL @@ -27899,7 +28068,7 @@ static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -27935,7 +28104,7 @@ static PyObject *_wrap_TreeCtrl_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; } } @@ -27953,7 +28122,7 @@ static PyObject *_wrap_TreeCtrl_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; } } @@ -27999,7 +28168,7 @@ static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28030,7 +28199,7 @@ static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -28049,7 +28218,7 @@ static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *k 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: @@ -28058,7 +28227,7 @@ static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -28077,7 +28246,7 @@ static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -28086,7 +28255,7 @@ static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -28099,7 +28268,7 @@ static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28117,7 +28286,7 @@ static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -28136,7 +28305,7 @@ static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -28145,7 +28314,7 @@ static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -28158,7 +28327,7 @@ static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28176,7 +28345,7 @@ static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -28204,7 +28373,7 @@ static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *result; PyObject * obj0 = 0 ; @@ -28232,7 +28401,7 @@ static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -28261,7 +28430,7 @@ static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -28290,7 +28459,7 @@ static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -28319,7 +28488,7 @@ static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxImageList *arg2 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; @@ -28348,7 +28517,7 @@ static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString result; @@ -28390,7 +28559,7 @@ static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; @@ -28415,19 +28584,19 @@ static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObjec } if (obj2) { { - arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3); + result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -28436,7 +28605,7 @@ static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxPyTreeItemData *result; @@ -28472,7 +28641,7 @@ static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *result; @@ -28508,7 +28677,7 @@ static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour result; @@ -28538,7 +28707,7 @@ static PyObject *_wrap_TreeCtrl_GetItemTextColour(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; @@ -28548,7 +28717,7 @@ static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour result; @@ -28578,7 +28747,7 @@ static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -28588,7 +28757,7 @@ static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxFont result; @@ -28618,7 +28787,7 @@ static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -28628,7 +28797,7 @@ static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -28679,7 +28848,7 @@ static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; int arg3 ; @@ -28704,18 +28873,18 @@ static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec 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 = (wxTreeItemIcon)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4); + (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28728,7 +28897,7 @@ static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; @@ -28767,7 +28936,7 @@ static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28805,7 +28974,7 @@ static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -28829,7 +28998,7 @@ static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -28848,7 +29017,7 @@ static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, P static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -28872,7 +29041,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -28891,7 +29060,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -28915,7 +29084,7 @@ static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -28934,7 +29103,7 @@ static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -28976,7 +29145,7 @@ static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -29018,7 +29187,7 @@ static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxFont *arg3 = 0 ; @@ -29063,7 +29232,7 @@ static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29101,7 +29270,7 @@ static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29139,7 +29308,7 @@ static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29177,7 +29346,7 @@ static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29215,7 +29384,7 @@ static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool result; @@ -29253,7 +29422,7 @@ static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -29278,7 +29447,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -29290,7 +29459,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(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: @@ -29299,7 +29468,7 @@ static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -29319,7 +29488,7 @@ static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29329,7 +29498,7 @@ static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -29349,7 +29518,7 @@ static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObjec } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29359,7 +29528,7 @@ static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -29385,7 +29554,7 @@ static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29415,7 +29584,7 @@ static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObje } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29425,7 +29594,7 @@ static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject *result; @@ -29461,7 +29630,7 @@ static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; void *arg3 = (void *) 0 ; @@ -29485,7 +29654,7 @@ static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(2)) SWIG_fail; } { - if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj2,reinterpret_cast(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(3);SWIG_fail; } } @@ -29504,7 +29673,7 @@ static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29534,7 +29703,7 @@ static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObjec } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29544,7 +29713,7 @@ static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29574,7 +29743,7 @@ static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29584,7 +29753,7 @@ static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29614,7 +29783,7 @@ static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29624,7 +29793,7 @@ static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -29644,7 +29813,7 @@ static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29654,7 +29823,7 @@ static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29684,7 +29853,7 @@ static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29694,7 +29863,7 @@ static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId result; @@ -29724,7 +29893,7 @@ static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObj } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -29734,7 +29903,7 @@ static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -29761,13 +29930,13 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -29784,7 +29953,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kw } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -29802,7 +29971,7 @@ static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -29839,13 +30008,13 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -29862,7 +30031,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -29880,7 +30049,7 @@ static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxTreeItemId *arg3 = 0 ; @@ -29927,13 +30096,13 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -29950,7 +30119,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -29968,7 +30137,7 @@ static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; size_t arg3 ; @@ -30001,7 +30170,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO 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; } { @@ -30011,13 +30180,13 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -30034,7 +30203,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -30052,7 +30221,7 @@ static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; wxString *arg3 = 0 ; @@ -30089,13 +30258,13 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -30112,7 +30281,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } { @@ -30130,7 +30299,7 @@ static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30165,7 +30334,7 @@ static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30200,7 +30369,7 @@ static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30225,7 +30394,7 @@ static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30260,7 +30429,7 @@ static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30295,7 +30464,7 @@ static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30330,7 +30499,7 @@ static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyO static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30365,7 +30534,7 @@ static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30390,7 +30559,7 @@ static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30425,7 +30594,7 @@ static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30450,7 +30619,7 @@ static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) true ; @@ -30474,7 +30643,7 @@ static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -30493,7 +30662,7 @@ static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30528,7 +30697,7 @@ static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30563,7 +30732,7 @@ static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30598,7 +30767,7 @@ static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30633,7 +30802,7 @@ static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTextCtrl *result; PyObject * obj0 = 0 ; @@ -30661,7 +30830,7 @@ static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30696,7 +30865,7 @@ static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxPoint *arg2 = 0 ; int *arg3 = 0 ; @@ -30727,7 +30896,7 @@ static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? @@ -30739,7 +30908,7 @@ static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ; wxTreeItemId *arg2 = 0 ; bool arg3 = (bool) false ; @@ -30764,7 +30933,7 @@ static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyOb } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -30783,7 +30952,7 @@ static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -30794,21 +30963,21 @@ static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_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 = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxPyTreeCtrl::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; @@ -30831,7 +31000,7 @@ static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) { static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -30845,7 +31014,7 @@ static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) { static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ; @@ -30884,7 +31053,7 @@ static PyObject *_wrap_new_GenericDirCtrl(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; } } @@ -30909,7 +31078,7 @@ static PyObject *_wrap_new_GenericDirCtrl(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; } } @@ -30922,7 +31091,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject * } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -30973,7 +31142,7 @@ static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *result; char *kwnames[] = { NULL @@ -30996,7 +31165,7 @@ static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -31039,7 +31208,7 @@ static PyObject *_wrap_GenericDirCtrl_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; } } @@ -31064,7 +31233,7 @@ static PyObject *_wrap_GenericDirCtrl_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; } } @@ -31077,7 +31246,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObjec } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -31129,7 +31298,7 @@ static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -31173,7 +31342,7 @@ static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyO static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31205,7 +31374,7 @@ static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31246,7 +31415,7 @@ static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31278,7 +31447,7 @@ static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31310,7 +31479,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, Py static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31351,7 +31520,7 @@ static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -31364,7 +31533,7 @@ static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, 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; } { @@ -31382,7 +31551,7 @@ static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyO static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31410,7 +31579,7 @@ static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31442,7 +31611,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31483,7 +31652,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; int result; PyObject * obj0 = 0 ; @@ -31502,7 +31671,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31511,7 +31680,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -31524,7 +31693,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31542,7 +31711,7 @@ static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxTreeItemId result; PyObject * obj0 = 0 ; @@ -31562,7 +31731,7 @@ static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyOb } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } return resultobj; @@ -31572,7 +31741,7 @@ static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxPyTreeCtrl *result; PyObject * obj0 = 0 ; @@ -31600,7 +31769,7 @@ static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, Py static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxDirFilterListCtrl *result; PyObject * obj0 = 0 ; @@ -31626,7 +31795,7 @@ static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *ar static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; wxTreeItemId arg2 ; wxString *arg3 = 0 ; @@ -31670,7 +31839,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyOb } { wxTreeItemId * resultptr; - resultptr = new wxTreeItemId((wxTreeItemId &)(result)); + resultptr = new wxTreeItemId(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); } resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? @@ -31690,7 +31859,7 @@ static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31715,7 +31884,7 @@ static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31747,7 +31916,7 @@ static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -31772,7 +31941,7 @@ static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObjec 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; } } @@ -31790,7 +31959,7 @@ static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObjec } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -31810,7 +31979,7 @@ static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirFilterListCtrl *result; char *kwnames[] = { NULL @@ -31833,7 +32002,7 @@ static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ; int arg3 = (int) (int)-1 ; @@ -31862,7 +32031,7 @@ static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyOb 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; } } @@ -31880,7 +32049,7 @@ static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyOb } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -31901,7 +32070,7 @@ static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -31922,7 +32091,7 @@ static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *ar temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -31955,7 +32124,7 @@ static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -31987,7 +32156,7 @@ static PyObject *_wrap_new_PyControl(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; } } @@ -32005,7 +32174,7 @@ static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwarg } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -32050,7 +32219,7 @@ static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *result; char *kwnames[] = { NULL @@ -32073,7 +32242,7 @@ static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -32104,7 +32273,7 @@ static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, Py static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -32136,7 +32305,7 @@ static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxDC *arg2 = (wxDC *) 0 ; bool result; @@ -32168,7 +32337,7 @@ static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, P static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32187,19 +32356,19 @@ static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -32217,7 +32386,7 @@ static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, P static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32238,24 +32407,24 @@ static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -32274,7 +32443,7 @@ static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32289,11 +32458,11 @@ static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -32311,7 +32480,7 @@ static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int arg2 ; int arg3 ; @@ -32326,11 +32495,11 @@ static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -32348,7 +32517,7 @@ static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *arg static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32385,7 +32554,7 @@ static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32422,7 +32591,7 @@ static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -32459,7 +32628,7 @@ static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -32479,7 +32648,7 @@ static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *arg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -32489,7 +32658,7 @@ static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *arg static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -32509,7 +32678,7 @@ static PyObject *_wrap_PyControl_base_DoGetBestSize(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; @@ -32519,7 +32688,7 @@ static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -32544,7 +32713,7 @@ static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32572,7 +32741,7 @@ static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32600,7 +32769,7 @@ static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObjec static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32628,7 +32797,7 @@ static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32656,7 +32825,7 @@ static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, P static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32684,7 +32853,7 @@ static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObj static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -32704,7 +32873,7 @@ static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -32714,7 +32883,7 @@ static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -32743,7 +32912,7 @@ static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -32772,7 +32941,7 @@ static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, Py static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32800,7 +32969,7 @@ static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -32820,7 +32989,7 @@ static PyObject *_wrap_PyControl_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; @@ -32830,7 +32999,7 @@ static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject static PyObject *_wrap_PyControl_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyControl *arg1 = (wxPyControl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -32862,7 +33031,7 @@ static PyObject * PyControl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -32879,13 +33048,13 @@ static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -32910,7 +33079,7 @@ static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -32930,7 +33099,7 @@ static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint const &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -32940,7 +33109,7 @@ static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -32972,7 +33141,7 @@ static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -33007,7 +33176,7 @@ static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -33048,7 +33217,7 @@ static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -33083,7 +33252,7 @@ static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpEvent *arg1 = (wxHelpEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -33131,7 +33300,7 @@ static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; bool arg2 = (bool) true ; wxContextHelp *result; @@ -33148,7 +33317,7 @@ static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -33168,7 +33337,7 @@ static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextHelp *arg1 = (wxContextHelp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33193,7 +33362,7 @@ static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextHelp *arg1 = (wxContextHelp *) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; bool result; @@ -33227,7 +33396,7 @@ static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextHelp *arg1 = (wxContextHelp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -33262,7 +33431,7 @@ static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxID_CONTEXT_HELP ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -33287,7 +33456,7 @@ static PyObject *_wrap_new_ContextHelpButton(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; } } @@ -33305,7 +33474,7 @@ static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObjec } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -33332,7 +33501,7 @@ static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxHelpProvider *result; PyObject * obj0 = 0 ; @@ -33358,7 +33527,7 @@ static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *result; char *kwnames[] = { NULL @@ -33380,7 +33549,7 @@ static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString result; @@ -33416,7 +33585,7 @@ static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -33448,7 +33617,7 @@ static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -33493,7 +33662,7 @@ static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33509,7 +33678,7 @@ static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33540,7 +33709,7 @@ static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -33569,7 +33738,7 @@ static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHelpProvider *arg1 = (wxHelpProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33601,7 +33770,7 @@ static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSimpleHelpProvider *result; char *kwnames[] = { NULL @@ -33630,7 +33799,7 @@ static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxCursor const &arg2_defvalue = wxNullCursor ; wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; @@ -33676,7 +33845,7 @@ static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = 0 ; wxCursor const &arg2_defvalue = wxNullCursor ; wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; @@ -33722,7 +33891,7 @@ static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxCursor const &arg2_defvalue = wxNullCursor ; wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; @@ -33774,7 +33943,7 @@ static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTreeCtrl *arg1 = 0 ; wxTreeItemId *arg2 = 0 ; wxGenericDragImage *result; @@ -33817,7 +33986,7 @@ static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyListCtrl *arg1 = 0 ; long arg2 ; wxGenericDragImage *result; @@ -33837,7 +34006,7 @@ static PyObject *_wrap_new_DragListItem(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; } { @@ -33856,7 +34025,7 @@ static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33881,7 +34050,7 @@ static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxBitmap *arg2 = (wxBitmap *) 0 ; PyObject * obj0 = 0 ; @@ -33910,7 +34079,7 @@ static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -33938,7 +34107,7 @@ static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject 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; } } @@ -33963,7 +34132,7 @@ static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -34006,7 +34175,7 @@ static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, Py static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -34034,7 +34203,7 @@ static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -34069,7 +34238,7 @@ static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -34097,7 +34266,7 @@ static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -34125,7 +34294,7 @@ static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxRect result; @@ -34152,7 +34321,7 @@ static PyObject *_wrap_DragImage_GetImageRect(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; @@ -34162,7 +34331,7 @@ static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxDC *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -34207,7 +34376,7 @@ static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxDC *arg2 = 0 ; wxMemoryDC *arg3 = 0 ; @@ -34269,7 +34438,7 @@ static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *a static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ; wxPoint *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -34299,11 +34468,11 @@ static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObjec if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -34336,7 +34505,7 @@ static int _wrap_DatePickerCtrlNameStr_set(PyObject *) { static PyObject *_wrap_DatePickerCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -34350,7 +34519,7 @@ static PyObject *_wrap_DatePickerCtrlNameStr_get(void) { static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxDateTime const &arg3_defvalue = wxDefaultDateTime ; @@ -34385,7 +34554,7 @@ static PyObject *_wrap_new_DatePickerCtrl(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; } } @@ -34413,7 +34582,7 @@ static PyObject *_wrap_new_DatePickerCtrl(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; } } @@ -34458,7 +34627,7 @@ static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *result; char *kwnames[] = { NULL @@ -34481,7 +34650,7 @@ static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -34520,7 +34689,7 @@ static PyObject *_wrap_DatePickerCtrl_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; } } @@ -34548,7 +34717,7 @@ static PyObject *_wrap_DatePickerCtrl_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; } } @@ -34594,7 +34763,7 @@ static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -34629,7 +34798,7 @@ static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -34649,7 +34818,7 @@ static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObj } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -34659,7 +34828,7 @@ static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime *arg2 = 0 ; wxDateTime *arg3 = 0 ; @@ -34704,7 +34873,7 @@ static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -34724,7 +34893,7 @@ static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -34734,7 +34903,7 @@ static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -34754,7 +34923,7 @@ static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -36637,199 +36806,656 @@ static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) { static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { return (void *)((wxValidator *) ((wxPyValidator *) x)); } -static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase, 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_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 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_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 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_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 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_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChoicebook[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBookCtrlBase[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase, 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_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton, 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_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 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_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 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_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChoicebookEvent[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 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_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_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_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_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_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_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_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_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_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_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_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxWindow", _p_wxWindowTo_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_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_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_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_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBookCtrlBaseEvent[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 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_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDatePickerCtrl[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 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_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxTextUrlEvent, -_swigt__p_wxCheckBox, -_swigt__p_wxPyTreeCtrl, -_swigt__p_wxEvent, -_swigt__p_wxGenericDirCtrl, -_swigt__p_bool, -_swigt__p_wxItemContainer, -_swigt__p_wxPyListCtrl, -_swigt__p_wxPyTreeItemData, -_swigt__p_wxDirFilterListCtrl, -_swigt__p_wxStaticLine, -_swigt__p_wxControl, -_swigt__p_wxPyControl, -_swigt__p_wxGauge, -_swigt__p_wxToolBarBase, -_swigt__p_wxFont, -_swigt__p_wxToggleButton, -_swigt__p_wxRadioButton, -_swigt__p_wxChoice, -_swigt__p_wxMemoryDC, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxListItemAttr, -_swigt__p_void, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxDC, -_swigt__p_wxListView, -_swigt__p_wxIcon, -_swigt__p_wxVisualAttributes, -_swigt__p_wxTextCtrl, -_swigt__p_wxNotebook, -_swigt__p_wxChoicebook, -_swigt__p_wxNotifyEvent, -_swigt__p_wxArrayString, -_swigt__p_form_ops_t, -_swigt__p_wxListbook, -_swigt__p_wxStaticBitmap, -_swigt__p_wxSlider, -_swigt__p_wxStaticBox, -_swigt__p_wxArrayInt, -_swigt__p_wxContextHelp, -_swigt__p_long, -_swigt__p_wxDuplexMode, -_swigt__p_wxBookCtrlBase, -_swigt__p_wxEvtHandler, -_swigt__p_wxListEvent, -_swigt__p_wxCheckListBox, -_swigt__p_wxListBox, -_swigt__p_wxSpinButton, -_swigt__p_wxButton, -_swigt__p_wxBitmapButton, -_swigt__p_wxRect, -_swigt__p_wxContextHelpButton, -_swigt__p_wxRadioBox, -_swigt__p_wxScrollBar, -_swigt__p_char, -_swigt__p_wxComboBox, -_swigt__p_wxTreeItemId, -_swigt__p_wxHelpEvent, -_swigt__p_wxListItem, -_swigt__p_wxSpinEvent, -_swigt__p_wxGenericDragImage, -_swigt__p_wxSpinCtrl, -_swigt__p_wxPaperSize, -_swigt__p_wxImageList, -_swigt__p_wxHelpProvider, -_swigt__p_wxTextAttr, -_swigt__p_wxSimpleHelpProvider, -_swigt__p_wxChoicebookEvent, -_swigt__p_wxListbookEvent, -_swigt__p_wxNotebookEvent, -_swigt__p_wxPoint, -_swigt__p_wxObject, -_swigt__p_wxCursor, -_swigt__p_wxDateTime, -_swigt__p_wxKeyEvent, -_swigt__p_unsigned_long, -_swigt__p_wxWindow, -_swigt__p_wxString, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_unsigned_char, -_swigt__p_wxMouseEvent, -_swigt__p_wxBookCtrlBaseEvent, -_swigt__p_wxTreeEvent, -_swigt__p_wxCommandEvent, -_swigt__p_wxStaticText, -_swigt__p_wxDatePickerCtrl, -_swigt__p_wxControlWithItems, -_swigt__p_wxToolBarToolBase, -_swigt__p_wxColour, -_swigt__p_wxToolBar, -_swigt__p_wxValidator, -0 +static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0}; +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; +static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, 0}; +static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 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_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_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_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, 0}; +static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 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_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 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_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__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_bool, + &_swigt__p_char, + &_swigt__p_form_ops_t, + &_swigt__p_int, + &_swigt__p_long, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_void, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxArrayInt, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBitmapButton, + &_swigt__p_wxBookCtrlBase, + &_swigt__p_wxBookCtrlBaseEvent, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxButton, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCheckBox, + &_swigt__p_wxCheckListBox, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxChoice, + &_swigt__p_wxChoicebook, + &_swigt__p_wxChoicebookEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxComboBox, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextHelp, + &_swigt__p_wxContextHelpButton, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDatePickerCtrl, + &_swigt__p_wxDateTime, + &_swigt__p_wxDirFilterListCtrl, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGauge, + &_swigt__p_wxGenericDirCtrl, + &_swigt__p_wxGenericDragImage, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxHelpEvent, + &_swigt__p_wxHelpProvider, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageList, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxItemContainer, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxListBox, + &_swigt__p_wxListEvent, + &_swigt__p_wxListItem, + &_swigt__p_wxListItemAttr, + &_swigt__p_wxListView, + &_swigt__p_wxListbook, + &_swigt__p_wxListbookEvent, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryDC, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotebook, + &_swigt__p_wxNotebookEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyControl, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyListCtrl, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTreeCtrl, + &_swigt__p_wxPyTreeItemData, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRadioBox, + &_swigt__p_wxRadioButton, + &_swigt__p_wxRect, + &_swigt__p_wxScrollBar, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSimpleHelpProvider, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSlider, + &_swigt__p_wxSpinButton, + &_swigt__p_wxSpinCtrl, + &_swigt__p_wxSpinEvent, + &_swigt__p_wxStaticBitmap, + &_swigt__p_wxStaticBox, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStaticLine, + &_swigt__p_wxStaticText, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxString, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTextAttr, + &_swigt__p_wxTextCtrl, + &_swigt__p_wxTextUrlEvent, + &_swigt__p_wxToggleButton, + &_swigt__p_wxToolBar, + &_swigt__p_wxToolBarBase, + &_swigt__p_wxToolBarToolBase, + &_swigt__p_wxTreeEvent, + &_swigt__p_wxTreeItemId, + &_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_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 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_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmapButton[] = { {&_swigt__p_wxBitmapButton, 0, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxButton, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxButton, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 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_wxComboBox[] = { {&_swigt__p_wxComboBox, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 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_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 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_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_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_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 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_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 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_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 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_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpProvider[] = { {&_swigt__p_wxHelpProvider, 0, 0, 0}, {&_swigt__p_wxSimpleHelpProvider, _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 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_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 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_wxListBox[] = { {&_swigt__p_wxListBox, 0, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxListBox, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 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_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 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_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_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_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_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_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_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_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_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_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_wxWindow, _p_wxWindowTo_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_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_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_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_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_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 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_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 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_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 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_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 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_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase, 0, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxToolBarBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_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_bool, + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_long, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_void, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArrayInt, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBitmapButton, + _swigc__p_wxBookCtrlBase, + _swigc__p_wxBookCtrlBaseEvent, + _swigc__p_wxBoxSizer, + _swigc__p_wxButton, + _swigc__p_wxCURHandler, + _swigc__p_wxCheckBox, + _swigc__p_wxCheckListBox, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxChoice, + _swigc__p_wxChoicebook, + _swigc__p_wxChoicebookEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxComboBox, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextHelp, + _swigc__p_wxContextHelpButton, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDatePickerCtrl, + _swigc__p_wxDateTime, + _swigc__p_wxDirFilterListCtrl, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGauge, + _swigc__p_wxGenericDirCtrl, + _swigc__p_wxGenericDragImage, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxHelpEvent, + _swigc__p_wxHelpProvider, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageList, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxItemContainer, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxListBox, + _swigc__p_wxListEvent, + _swigc__p_wxListItem, + _swigc__p_wxListItemAttr, + _swigc__p_wxListView, + _swigc__p_wxListbook, + _swigc__p_wxListbookEvent, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryDC, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotebook, + _swigc__p_wxNotebookEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyControl, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyListCtrl, + _swigc__p_wxPySizer, + _swigc__p_wxPyTreeCtrl, + _swigc__p_wxPyTreeItemData, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRadioBox, + _swigc__p_wxRadioButton, + _swigc__p_wxRect, + _swigc__p_wxScrollBar, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSimpleHelpProvider, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSlider, + _swigc__p_wxSpinButton, + _swigc__p_wxSpinCtrl, + _swigc__p_wxSpinEvent, + _swigc__p_wxStaticBitmap, + _swigc__p_wxStaticBox, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStaticLine, + _swigc__p_wxStaticText, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxString, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTextAttr, + _swigc__p_wxTextCtrl, + _swigc__p_wxTextUrlEvent, + _swigc__p_wxToggleButton, + _swigc__p_wxToolBar, + _swigc__p_wxToolBarBase, + _swigc__p_wxToolBarToolBase, + _swigc__p_wxTreeEvent, + _swigc__p_wxTreeItemId, + _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, }; @@ -36841,6 +37467,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 @@ -36858,7 +37695,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; @@ -36868,13 +37705,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; @@ -36887,7 +37724,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -36900,7 +37737,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) { @@ -36913,72 +37750,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; } @@ -36987,11 +37841,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); @@ -37028,7 +37882,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, @@ -37040,7 +37894,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]); @@ -37053,14 +37907,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; + } + } } } } @@ -37070,69 +37928,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 @@ -37141,100 +37936,79 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set); { - PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT))); + PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int(static_cast(wxBU_LEFT))); } { - PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP))); + PyDict_SetItemString(d,"BU_TOP", SWIG_From_int(static_cast(wxBU_TOP))); } { - PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT))); + PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int(static_cast(wxBU_RIGHT))); } { - PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM))); + PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int(static_cast(wxBU_BOTTOM))); } { - PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK))); + PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int(static_cast(wxBU_ALIGN_MASK))); } { - PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT))); + PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int(static_cast(wxBU_EXACTFIT))); } { - PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW))); + PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int(static_cast(wxBU_AUTODRAW))); } SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set); { - PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE))); + PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int(static_cast(wxCHK_2STATE))); } { - PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE))); + PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int(static_cast(wxCHK_3STATE))); } { - PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER))); + PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int(static_cast(wxCHK_ALLOW_3RD_STATE_FOR_USER))); } { - PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED))); + PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int(static_cast(wxCHK_UNCHECKED))); } { - PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED))); + PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int(static_cast(wxCHK_CHECKED))); } { - PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED))); + PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int(static_cast(wxCHK_UNDETERMINED))); } SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set); { - PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL))); + PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int(static_cast(wxGA_HORIZONTAL))); } { - PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL))); + PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int(static_cast(wxGA_VERTICAL))); } { - PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH))); + PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int(static_cast(wxGA_SMOOTH))); } { - PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR))); + PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int(static_cast(wxGA_PROGRESSBAR))); } SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set); @@ -37242,142 +38016,142 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set); { - PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL))); + PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int(static_cast(wxTE_NO_VSCROLL))); } { - PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL))); + PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int(static_cast(wxTE_AUTO_SCROLL))); } { - PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY))); + PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int(static_cast(wxTE_READONLY))); } { - PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE))); + PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int(static_cast(wxTE_MULTILINE))); } { - PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB))); + PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int(static_cast(wxTE_PROCESS_TAB))); } { - PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT))); + PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int(static_cast(wxTE_LEFT))); } { - PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER))); + PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int(static_cast(wxTE_CENTER))); } { - PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT))); + PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int(static_cast(wxTE_RIGHT))); } { - PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE))); + PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int(static_cast(wxTE_CENTRE))); } { - PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH))); + PyDict_SetItemString(d,"TE_RICH", SWIG_From_int(static_cast(wxTE_RICH))); } { - PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER))); + PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int(static_cast(wxTE_PROCESS_ENTER))); } { - PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD))); + PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int(static_cast(wxTE_PASSWORD))); } { - PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL))); + PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int(static_cast(wxTE_AUTO_URL))); } { - PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL))); + PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int(static_cast(wxTE_NOHIDESEL))); } { - PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP))); + PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int(static_cast(wxTE_DONTWRAP))); } { - PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP))); + PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int(static_cast(wxTE_CHARWRAP))); } { - PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP))); + PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int(static_cast(wxTE_WORDWRAP))); } { - PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP))); + PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int(static_cast(wxTE_BESTWRAP))); } { - PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP))); + PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int(static_cast(wxTE_LINEWRAP))); } { - PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2))); + PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int(static_cast(wxTE_RICH2))); } { - PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE))); + PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int(static_cast(wxTE_CAPITALIZE))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_DEFAULT))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_LEFT))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_CENTRE))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_CENTER))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_RIGHT))); } { - PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED))); + PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int(static_cast(wxTEXT_ALIGNMENT_JUSTIFIED))); } { - PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR))); + PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int(static_cast(wxTEXT_ATTR_TEXT_COLOUR))); } { - PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR))); + PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int(static_cast(wxTEXT_ATTR_BACKGROUND_COLOUR))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_FACE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_SIZE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_WEIGHT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_ITALIC))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT_UNDERLINE))); } { - PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT))); + PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int(static_cast(wxTEXT_ATTR_FONT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT))); + PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int(static_cast(wxTEXT_ATTR_ALIGNMENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT))); + PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int(static_cast(wxTEXT_ATTR_LEFT_INDENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT))); + PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int(static_cast(wxTEXT_ATTR_RIGHT_INDENT))); } { - PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS))); + PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int(static_cast(wxTEXT_ATTR_TABS))); } { - PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN))); + PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int(static_cast(wxTE_HT_UNKNOWN))); } { - PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE))); + PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int(static_cast(wxTE_HT_BEFORE))); } { - PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT))); + PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int(static_cast(wxTE_HT_ON_TEXT))); } { - PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW))); + PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int(static_cast(wxTE_HT_BELOW))); } { - PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND))); + PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int(static_cast(wxTE_HT_BEYOND))); } { - PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord))); + PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int(static_cast(wxOutOfRangeTextCoord))); } { - PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord))); + PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int(static_cast(wxInvalidTextCoord))); } PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED)); PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER)); @@ -37387,381 +38161,381 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set); SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set); { - PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL))); + PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int(static_cast(wxSP_HORIZONTAL))); } { - PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL))); + PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int(static_cast(wxSP_VERTICAL))); } { - PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS))); + PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int(static_cast(wxSP_ARROW_KEYS))); } { - PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP))); + PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int(static_cast(wxSP_WRAP))); } PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED)); SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set); { - PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL))); + PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int(static_cast(wxSL_HORIZONTAL))); } { - PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL))); + PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int(static_cast(wxSL_VERTICAL))); } { - PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS))); + PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int(static_cast(wxSL_TICKS))); } { - PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS))); + PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int(static_cast(wxSL_AUTOTICKS))); } { - PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS))); + PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int(static_cast(wxSL_LABELS))); } { - PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT))); + PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int(static_cast(wxSL_LEFT))); } { - PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP))); + PyDict_SetItemString(d,"SL_TOP", SWIG_From_int(static_cast(wxSL_TOP))); } { - PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT))); + PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int(static_cast(wxSL_RIGHT))); } { - PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM))); + PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int(static_cast(wxSL_BOTTOM))); } { - PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH))); + PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int(static_cast(wxSL_BOTH))); } { - PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE))); + PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int(static_cast(wxSL_SELRANGE))); } { - PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE))); + PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int(static_cast(wxSL_INVERSE))); } SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set); PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)); SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set); { - PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH))); + PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int(static_cast(wxNB_FIXEDWIDTH))); } { - PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP))); + PyDict_SetItemString(d,"NB_TOP", SWIG_From_int(static_cast(wxNB_TOP))); } { - PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT))); + PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int(static_cast(wxNB_LEFT))); } { - PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT))); + PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int(static_cast(wxNB_RIGHT))); } { - PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM))); + PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int(static_cast(wxNB_BOTTOM))); } { - PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE))); + PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int(static_cast(wxNB_MULTILINE))); } { - PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME))); + PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int(static_cast(wxNB_NOPAGETHEME))); } { - PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxNB_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON))); + PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int(static_cast(wxNB_HITTEST_ONICON))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL))); + PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int(static_cast(wxNB_HITTEST_ONLABEL))); } { - PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM))); + PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int(static_cast(wxNB_HITTEST_ONITEM))); } PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING)); { - PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT))); + PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int(static_cast(wxLB_DEFAULT))); } { - PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP))); + PyDict_SetItemString(d,"LB_TOP", SWIG_From_int(static_cast(wxLB_TOP))); } { - PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM))); + PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int(static_cast(wxLB_BOTTOM))); } { - PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT))); + PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int(static_cast(wxLB_LEFT))); } { - PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT))); + PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int(static_cast(wxLB_RIGHT))); } { - PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK))); + PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int(static_cast(wxLB_ALIGN_MASK))); } PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING)); { - PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT))); + PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int(static_cast(wxCHB_DEFAULT))); } { - PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP))); + PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int(static_cast(wxCHB_TOP))); } { - PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM))); + PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int(static_cast(wxCHB_BOTTOM))); } { - PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT))); + PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int(static_cast(wxCHB_LEFT))); } { - PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT))); + PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int(static_cast(wxCHB_RIGHT))); } { - PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK))); + PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int(static_cast(wxCHB_ALIGN_MASK))); } PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING)); { - PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON))); + PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int(static_cast(wxTOOL_STYLE_BUTTON))); } { - PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR))); + PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int(static_cast(wxTOOL_STYLE_SEPARATOR))); } { - PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL))); + PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int(static_cast(wxTOOL_STYLE_CONTROL))); } { - PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL))); + PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int(static_cast(wxTB_HORIZONTAL))); } { - PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL))); + PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int(static_cast(wxTB_VERTICAL))); } { - PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS))); + PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int(static_cast(wxTB_3DBUTTONS))); } { - PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT))); + PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int(static_cast(wxTB_FLAT))); } { - PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE))); + PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int(static_cast(wxTB_DOCKABLE))); } { - PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS))); + PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int(static_cast(wxTB_NOICONS))); } { - PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT))); + PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int(static_cast(wxTB_TEXT))); } { - PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER))); + PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int(static_cast(wxTB_NODIVIDER))); } { - PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN))); + PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int(static_cast(wxTB_NOALIGN))); } { - PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT))); + PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int(static_cast(wxTB_HORZ_LAYOUT))); } { - PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT))); + PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int(static_cast(wxTB_HORZ_TEXT))); } SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set); { - PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES))); + PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int(static_cast(wxLC_VRULES))); } { - PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES))); + PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int(static_cast(wxLC_HRULES))); } { - PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON))); + PyDict_SetItemString(d,"LC_ICON", SWIG_From_int(static_cast(wxLC_ICON))); } { - PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON))); + PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int(static_cast(wxLC_SMALL_ICON))); } { - PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST))); + PyDict_SetItemString(d,"LC_LIST", SWIG_From_int(static_cast(wxLC_LIST))); } { - PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT))); + PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int(static_cast(wxLC_REPORT))); } { - PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP))); + PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int(static_cast(wxLC_ALIGN_TOP))); } { - PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT))); + PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int(static_cast(wxLC_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE))); + PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int(static_cast(wxLC_AUTOARRANGE))); } { - PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL))); + PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int(static_cast(wxLC_VIRTUAL))); } { - PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS))); + PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int(static_cast(wxLC_EDIT_LABELS))); } { - PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER))); + PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int(static_cast(wxLC_NO_HEADER))); } { - PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER))); + PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int(static_cast(wxLC_NO_SORT_HEADER))); } { - PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL))); + PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int(static_cast(wxLC_SINGLE_SEL))); } { - PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING))); + PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int(static_cast(wxLC_SORT_ASCENDING))); } { - PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING))); + PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int(static_cast(wxLC_SORT_DESCENDING))); } { - PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE))); + PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int(static_cast(wxLC_MASK_TYPE))); } { - PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN))); + PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int(static_cast(wxLC_MASK_ALIGN))); } { - PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT))); + PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int(static_cast(wxLC_MASK_SORT))); } { - PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE))); + PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int(static_cast(wxLIST_MASK_STATE))); } { - PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT))); + PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int(static_cast(wxLIST_MASK_TEXT))); } { - PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE))); + PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int(static_cast(wxLIST_MASK_IMAGE))); } { - PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA))); + PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int(static_cast(wxLIST_MASK_DATA))); } { - PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM))); + PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int(static_cast(wxLIST_SET_ITEM))); } { - PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH))); + PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int(static_cast(wxLIST_MASK_WIDTH))); } { - PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT))); + PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int(static_cast(wxLIST_MASK_FORMAT))); } { - PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE))); + PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int(static_cast(wxLIST_STATE_DONTCARE))); } { - PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED))); + PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int(static_cast(wxLIST_STATE_DROPHILITED))); } { - PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED))); + PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int(static_cast(wxLIST_STATE_FOCUSED))); } { - PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED))); + PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int(static_cast(wxLIST_STATE_SELECTED))); } { - PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT))); + PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int(static_cast(wxLIST_STATE_CUT))); } { - PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED))); + PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int(static_cast(wxLIST_STATE_DISABLED))); } { - PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED))); + PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int(static_cast(wxLIST_STATE_FILTERED))); } { - PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE))); + PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int(static_cast(wxLIST_STATE_INUSE))); } { - PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED))); + PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int(static_cast(wxLIST_STATE_PICKED))); } { - PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE))); + PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int(static_cast(wxLIST_STATE_SOURCE))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE))); + PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int(static_cast(wxLIST_HITTEST_ABOVE))); } { - PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW))); + PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int(static_cast(wxLIST_HITTEST_BELOW))); } { - PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxLIST_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEMICON))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEMLABEL))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEMRIGHT))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEMSTATEICON))); } { - PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT))); + PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int(static_cast(wxLIST_HITTEST_TOLEFT))); } { - PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT))); + PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int(static_cast(wxLIST_HITTEST_TORIGHT))); } { - PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM))); + PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int(static_cast(wxLIST_HITTEST_ONITEM))); } { - PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE))); + PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int(static_cast(wxLIST_NEXT_ABOVE))); } { - PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL))); + PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int(static_cast(wxLIST_NEXT_ALL))); } { - PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW))); + PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int(static_cast(wxLIST_NEXT_BELOW))); } { - PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT))); + PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int(static_cast(wxLIST_NEXT_LEFT))); } { - PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT))); + PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int(static_cast(wxLIST_NEXT_RIGHT))); } { - PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT))); + PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int(static_cast(wxLIST_ALIGN_DEFAULT))); } { - PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT))); + PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int(static_cast(wxLIST_ALIGN_LEFT))); } { - PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP))); + PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int(static_cast(wxLIST_ALIGN_TOP))); } { - PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID))); + PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int(static_cast(wxLIST_ALIGN_SNAP_TO_GRID))); } { - PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT))); + PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int(static_cast(wxLIST_FORMAT_LEFT))); } { - PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT))); + PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int(static_cast(wxLIST_FORMAT_RIGHT))); } { - PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE))); + PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int(static_cast(wxLIST_FORMAT_CENTRE))); } { - PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER))); + PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int(static_cast(wxLIST_FORMAT_CENTER))); } { - PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE))); + PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int(static_cast(wxLIST_AUTOSIZE))); } { - PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER))); + PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int(static_cast(wxLIST_AUTOSIZE_USEHEADER))); } { - PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS))); + PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int(static_cast(wxLIST_RECT_BOUNDS))); } { - PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON))); + PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int(static_cast(wxLIST_RECT_ICON))); } { - PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL))); + PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int(static_cast(wxLIST_RECT_LABEL))); } { - PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP))); + PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int(static_cast(wxLIST_FIND_UP))); } { - PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN))); + PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int(static_cast(wxLIST_FIND_DOWN))); } { - PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT))); + PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int(static_cast(wxLIST_FIND_LEFT))); } { - PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT))); + PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int(static_cast(wxLIST_FIND_RIGHT))); } PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG)); PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG)); @@ -37789,109 +38563,109 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set); { - PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS))); + PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int(static_cast(wxTR_NO_BUTTONS))); } { - PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS))); + PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int(static_cast(wxTR_HAS_BUTTONS))); } { - PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES))); + PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int(static_cast(wxTR_NO_LINES))); } { - PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT))); + PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int(static_cast(wxTR_LINES_AT_ROOT))); } { - PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE))); + PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int(static_cast(wxTR_SINGLE))); } { - PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE))); + PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int(static_cast(wxTR_MULTIPLE))); } { - PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED))); + PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int(static_cast(wxTR_EXTENDED))); } { - PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT))); + PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int(static_cast(wxTR_HAS_VARIABLE_ROW_HEIGHT))); } { - PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS))); + PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int(static_cast(wxTR_EDIT_LABELS))); } { - PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT))); + PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int(static_cast(wxTR_HIDE_ROOT))); } { - PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES))); + PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int(static_cast(wxTR_ROW_LINES))); } { - PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT))); + PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int(static_cast(wxTR_FULL_ROW_HIGHLIGHT))); } { - PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE))); + PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int(static_cast(wxTR_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS))); + PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int(static_cast(wxTR_TWIST_BUTTONS))); } { - PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS))); + PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int(static_cast(wxTR_MAC_BUTTONS))); } { - PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS))); + PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int(static_cast(wxTR_AQUA_BUTTONS))); } { - PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal))); + PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int(static_cast(wxTreeItemIcon_Normal))); } { - PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected))); + PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int(static_cast(wxTreeItemIcon_Selected))); } { - PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded))); + PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int(static_cast(wxTreeItemIcon_Expanded))); } { - PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded))); + PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int(static_cast(wxTreeItemIcon_SelectedExpanded))); } { - PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max))); + PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int(static_cast(wxTreeItemIcon_Max))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE))); + PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int(static_cast(wxTREE_HITTEST_ABOVE))); } { - PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW))); + PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int(static_cast(wxTREE_HITTEST_BELOW))); } { - PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxTREE_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMBUTTON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMICON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMINDENT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMLABEL))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMRIGHT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMSTATEICON))); } { - PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT))); + PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int(static_cast(wxTREE_HITTEST_TOLEFT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT))); + PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int(static_cast(wxTREE_HITTEST_TORIGHT))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMUPPERPART))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEMLOWERPART))); } { - PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM))); + PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int(static_cast(wxTREE_HITTEST_ONITEM))); } PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG)); PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG)); @@ -37921,25 +38695,25 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set); { - PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY))); + PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int(static_cast(wxDIRCTRL_DIR_ONLY))); } { - PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST))); + PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int(static_cast(wxDIRCTRL_SELECT_FIRST))); } { - PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS))); + PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int(static_cast(wxDIRCTRL_SHOW_FILTERS))); } { - PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL))); + PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int(static_cast(wxDIRCTRL_3D_INTERNAL))); } { - PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS))); + PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int(static_cast(wxDIRCTRL_EDIT_LABELS))); } { - PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP))); + PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int(static_cast(wxFRAME_EX_CONTEXTHELP))); } { - PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP))); + PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int(static_cast(wxDIALOG_EX_CONTEXTHELP))); } PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP)); PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP)); @@ -37948,19 +38722,19 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set); { - PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT))); + PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int(static_cast(wxDP_DEFAULT))); } { - PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN))); + PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int(static_cast(wxDP_SPIN))); } { - PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN))); + PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int(static_cast(wxDP_DROPDOWN))); } { - PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY))); + PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int(static_cast(wxDP_SHOWCENTURY))); } { - PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE))); + PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int(static_cast(wxDP_ALLOWNONE))); } } diff --git a/wxPython/src/mac/_core.py b/wxPython/src/mac/_core.py index 6174ee50f9..f7ad0825f6 100644 --- a/wxPython/src/mac/_core.py +++ b/wxPython/src/mac/_core.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _core_ @@ -2937,6 +2937,16 @@ class Image(Object): """ return _core_.Image_Replace(*args, **kwargs) + def ConvertToGreyscale(*args, **kwargs): + """ + ConvertToGreyscale(self, double lr=0.299, double lg=0.587, double lb=0.114) -> Image + + Convert to greyscale image. Uses the luminance component (Y) of the + image. The luma value (YUV) is calculated using (R * lr) + (G * lg) + (B * lb), + defaults to ITU-T BT.601 + """ + return _core_.Image_ConvertToGreyscale(*args, **kwargs) + def ConvertToMono(*args, **kwargs): """ ConvertToMono(self, byte r, byte g, byte b) -> Image @@ -7865,6 +7875,30 @@ def EventLoop_SetActive(*args, **kwargs): """EventLoop_SetActive(EventLoop loop)""" return _core_.EventLoop_SetActive(*args, **kwargs) +class EventLoopActivator(object): + """Proxy of C++ EventLoopActivator class""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxEventLoopActivator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(self, EventLoop evtLoop) -> EventLoopActivator""" + newobj = _core_.new_EventLoopActivator(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_core_.delete_EventLoopActivator): + """__del__(self)""" + try: + if self.thisown: destroy(self) + except: pass + + +class EventLoopActivatorPtr(EventLoopActivator): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = EventLoopActivator +_core_.EventLoopActivator_swigregister(EventLoopActivatorPtr) + #--------------------------------------------------------------------------- class AcceleratorEntry(object): @@ -10871,6 +10905,14 @@ class MenuItem(Object): """SetAccel(self, AcceleratorEntry accel)""" return _core_.MenuItem_SetAccel(*args, **kwargs) + def SetBitmap(*args, **kwargs): + """SetBitmap(self, Bitmap bitmap)""" + return _core_.MenuItem_SetBitmap(*args, **kwargs) + + def GetBitmap(*args, **kwargs): + """GetBitmap(self) -> Bitmap""" + return _core_.MenuItem_GetBitmap(*args, **kwargs) + def SetFont(*args, **kwargs): """SetFont(self, Font font)""" return _core_.MenuItem_SetFont(*args, **kwargs) @@ -10932,14 +10974,6 @@ class MenuItem(Object): """ResetOwnerDrawn(self)""" return _core_.MenuItem_ResetOwnerDrawn(*args, **kwargs) - def SetBitmap(*args, **kwargs): - """SetBitmap(self, Bitmap bitmap)""" - return _core_.MenuItem_SetBitmap(*args, **kwargs) - - def GetBitmap(*args, **kwargs): - """GetBitmap(self) -> Bitmap""" - return _core_.MenuItem_GetBitmap(*args, **kwargs) - class MenuItemPtr(MenuItem): def __init__(self, this): @@ -11565,6 +11599,14 @@ class SizerItem(Object): """ return _core_.SizerItem_GetUserData(*args, **kwargs) + def SetUserData(*args, **kwargs): + """ + SetUserData(self, PyObject userData) + + Associate a Python object with this sizer item. + """ + return _core_.SizerItem_SetUserData(*args, **kwargs) + class SizerItemPtr(SizerItem): def __init__(self, this): @@ -13594,3 +13636,4 @@ _core_._wxPyFixStockObjects() #---------------------------------------------------------------------------- + diff --git a/wxPython/src/mac/_core_wrap.cpp b/wxPython/src/mac/_core_wrap.cpp index fe8ca72c84..811ef6bcd5 100644 --- a/wxPython/src/mac/_core_wrap.cpp +++ b/wxPython/src/mac/_core_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -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,138 +1431,142 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxLayoutConstraints swig_types[0] -#define SWIGTYPE_p_wxRealPoint swig_types[1] -#define SWIGTYPE_p_wxSizerItem swig_types[2] -#define SWIGTYPE_p_wxGBSizerItem swig_types[3] -#define SWIGTYPE_p_wxScrollEvent swig_types[4] -#define SWIGTYPE_p_wxEventLoop swig_types[5] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6] -#define SWIGTYPE_p_wxSizer swig_types[7] -#define SWIGTYPE_p_wxBoxSizer swig_types[8] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[9] -#define SWIGTYPE_p_wxGridBagSizer swig_types[10] -#define SWIGTYPE_p_wxAcceleratorEntry swig_types[11] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[12] -#define SWIGTYPE_p_wxEvent swig_types[13] -#define SWIGTYPE_p_buffer swig_types[14] -#define SWIGTYPE_p_wxMenu swig_types[15] -#define SWIGTYPE_p_wxGridSizer swig_types[16] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[17] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[18] -#define SWIGTYPE_p_wxItemContainer swig_types[19] -#define SWIGTYPE_p_wxPaintEvent swig_types[20] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[21] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25] -#define SWIGTYPE_p_wxControl swig_types[26] -#define SWIGTYPE_p_wxFont swig_types[27] -#define SWIGTYPE_p_wxMenuBarBase swig_types[28] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[29] -#define SWIGTYPE_p_wxFSFile swig_types[30] -#define SWIGTYPE_p_wxCaret swig_types[31] -#define SWIGTYPE_ptrdiff_t swig_types[32] -#define SWIGTYPE_std__ptrdiff_t swig_types[33] -#define SWIGTYPE_p_wxRegion swig_types[34] -#define SWIGTYPE_p_wxPoint2D swig_types[35] -#define SWIGTYPE_p_wxImage_HSVValue swig_types[36] -#define SWIGTYPE_p_int swig_types[37] -#define SWIGTYPE_p_wxSize swig_types[38] -#define SWIGTYPE_p_wxDC swig_types[39] -#define SWIGTYPE_p_wxPySizer swig_types[40] -#define SWIGTYPE_p_wxVisualAttributes swig_types[41] -#define SWIGTYPE_p_wxImage_RGBValue swig_types[42] -#define SWIGTYPE_p_wxNotifyEvent swig_types[43] -#define SWIGTYPE_p_wxPyEvent swig_types[44] -#define SWIGTYPE_p_wxPropagationDisabler swig_types[45] -#define SWIGTYPE_p_form_ops_t swig_types[46] -#define SWIGTYPE_p_wxAppTraits swig_types[47] -#define SWIGTYPE_p_wxArrayString swig_types[48] -#define SWIGTYPE_p_wxShowEvent swig_types[49] -#define SWIGTYPE_p_wxToolTip swig_types[50] -#define SWIGTYPE_p_wxMoveEvent swig_types[51] -#define SWIGTYPE_p_wxSizeEvent swig_types[52] -#define SWIGTYPE_p_wxActivateEvent swig_types[53] -#define SWIGTYPE_p_wxIconizeEvent swig_types[54] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[55] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[56] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[57] -#define SWIGTYPE_p_wxIdleEvent swig_types[58] -#define SWIGTYPE_p_wxDateEvent swig_types[59] -#define SWIGTYPE_p_wxMenuItem swig_types[60] -#define SWIGTYPE_p_wxStaticBox swig_types[61] -#define SWIGTYPE_p_long swig_types[62] -#define SWIGTYPE_p_wxDuplexMode swig_types[63] -#define SWIGTYPE_p_wxTIFFHandler swig_types[64] -#define SWIGTYPE_p_wxXPMHandler swig_types[65] -#define SWIGTYPE_p_wxPNMHandler swig_types[66] -#define SWIGTYPE_p_wxJPEGHandler swig_types[67] -#define SWIGTYPE_p_wxPCXHandler swig_types[68] -#define SWIGTYPE_p_wxGIFHandler swig_types[69] -#define SWIGTYPE_p_wxPNGHandler swig_types[70] -#define SWIGTYPE_p_wxANIHandler swig_types[71] -#define SWIGTYPE_p_wxPyImageHandler swig_types[72] -#define SWIGTYPE_p_wxMemoryFSHandler swig_types[73] -#define SWIGTYPE_p_wxZipFSHandler swig_types[74] -#define SWIGTYPE_p_wxInternetFSHandler swig_types[75] -#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[76] -#define SWIGTYPE_p_wxEvtHandler swig_types[77] -#define SWIGTYPE_p_wxCURHandler swig_types[78] -#define SWIGTYPE_p_wxICOHandler swig_types[79] -#define SWIGTYPE_p_wxBMPHandler swig_types[80] -#define SWIGTYPE_p_wxImageHandler swig_types[81] -#define SWIGTYPE_p_wxFileSystemHandler swig_types[82] -#define SWIGTYPE_p_wxRect swig_types[83] -#define SWIGTYPE_p_wxButton swig_types[84] -#define SWIGTYPE_p_wxGBSpan swig_types[85] -#define SWIGTYPE_p_wxPropagateOnce swig_types[86] -#define SWIGTYPE_p_wxAcceleratorTable swig_types[87] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[88] -#define SWIGTYPE_p_char swig_types[89] -#define SWIGTYPE_p_wxGBPosition swig_types[90] -#define SWIGTYPE_p_wxImage swig_types[91] -#define SWIGTYPE_p_wxFrame swig_types[92] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[93] -#define SWIGTYPE_p_wxPaperSize swig_types[94] -#define SWIGTYPE_p_wxImageHistogram swig_types[95] -#define SWIGTYPE_p_wxPoint swig_types[96] -#define SWIGTYPE_p_wxCursor swig_types[97] -#define SWIGTYPE_p_wxObject swig_types[98] -#define SWIGTYPE_p_wxInputStream swig_types[99] -#define SWIGTYPE_p_wxOutputStream swig_types[100] -#define SWIGTYPE_p_wxPyInputStream swig_types[101] -#define SWIGTYPE_p_wxDateTime swig_types[102] -#define SWIGTYPE_p_wxKeyEvent swig_types[103] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[105] -#define SWIGTYPE_p_unsigned_long swig_types[106] -#define SWIGTYPE_p_wxWindow swig_types[107] -#define SWIGTYPE_p_wxMenuBar swig_types[108] -#define SWIGTYPE_p_wxFileSystem swig_types[109] -#define SWIGTYPE_p_wxBitmap swig_types[110] -#define SWIGTYPE_unsigned_int swig_types[111] -#define SWIGTYPE_p_unsigned_int swig_types[112] -#define SWIGTYPE_p_wxMenuEvent swig_types[113] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[114] -#define SWIGTYPE_p_unsigned_char swig_types[115] -#define SWIGTYPE_p_wxMouseEvent swig_types[116] -#define SWIGTYPE_p_wxEraseEvent swig_types[117] -#define SWIGTYPE_p_wxCloseEvent swig_types[118] -#define SWIGTYPE_p_wxPyApp swig_types[119] -#define SWIGTYPE_p_wxCommandEvent swig_types[120] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[121] -#define SWIGTYPE_p_wxPyDropTarget swig_types[122] -#define SWIGTYPE_p_wxQuantize swig_types[123] -#define SWIGTYPE_p_wxFocusEvent swig_types[124] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[125] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[126] -#define SWIGTYPE_p_wxControlWithItems swig_types[127] -#define SWIGTYPE_p_wxColour swig_types[128] -#define SWIGTYPE_p_wxValidator swig_types[129] -#define SWIGTYPE_p_wxPyValidator swig_types[130] -static swig_type_info *swig_types[132]; +#define SWIGTYPE_p_buffer swig_types[0] +#define SWIGTYPE_p_char swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_long swig_types[4] +#define SWIGTYPE_p_unsigned_char swig_types[5] +#define SWIGTYPE_p_unsigned_int swig_types[6] +#define SWIGTYPE_p_unsigned_long swig_types[7] +#define SWIGTYPE_p_wxANIHandler swig_types[8] +#define SWIGTYPE_p_wxAcceleratorEntry swig_types[9] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[10] +#define SWIGTYPE_p_wxActivateEvent swig_types[11] +#define SWIGTYPE_p_wxAppTraits swig_types[12] +#define SWIGTYPE_p_wxArrayString swig_types[13] +#define SWIGTYPE_p_wxBMPHandler swig_types[14] +#define SWIGTYPE_p_wxBitmap swig_types[15] +#define SWIGTYPE_p_wxBoxSizer swig_types[16] +#define SWIGTYPE_p_wxButton swig_types[17] +#define SWIGTYPE_p_wxCURHandler swig_types[18] +#define SWIGTYPE_p_wxCaret swig_types[19] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[20] +#define SWIGTYPE_p_wxCloseEvent swig_types[21] +#define SWIGTYPE_p_wxColour swig_types[22] +#define SWIGTYPE_p_wxCommandEvent swig_types[23] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[24] +#define SWIGTYPE_p_wxControl swig_types[25] +#define SWIGTYPE_p_wxControlWithItems swig_types[26] +#define SWIGTYPE_p_wxCursor swig_types[27] +#define SWIGTYPE_p_wxDC swig_types[28] +#define SWIGTYPE_p_wxDateEvent swig_types[29] +#define SWIGTYPE_p_wxDateTime swig_types[30] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[32] +#define SWIGTYPE_p_wxDuplexMode swig_types[33] +#define SWIGTYPE_p_wxEraseEvent swig_types[34] +#define SWIGTYPE_p_wxEvent swig_types[35] +#define SWIGTYPE_p_wxEventLoop swig_types[36] +#define SWIGTYPE_p_wxEventLoopActivator swig_types[37] +#define SWIGTYPE_p_wxEvtHandler swig_types[38] +#define SWIGTYPE_p_wxFSFile swig_types[39] +#define SWIGTYPE_p_wxFileSystem swig_types[40] +#define SWIGTYPE_p_wxFileSystemHandler swig_types[41] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[42] +#define SWIGTYPE_p_wxFocusEvent swig_types[43] +#define SWIGTYPE_p_wxFont swig_types[44] +#define SWIGTYPE_p_wxFrame swig_types[45] +#define SWIGTYPE_p_wxGBPosition swig_types[46] +#define SWIGTYPE_p_wxGBSizerItem swig_types[47] +#define SWIGTYPE_p_wxGBSpan swig_types[48] +#define SWIGTYPE_p_wxGIFHandler swig_types[49] +#define SWIGTYPE_p_wxGridBagSizer swig_types[50] +#define SWIGTYPE_p_wxGridSizer swig_types[51] +#define SWIGTYPE_p_wxICOHandler swig_types[52] +#define SWIGTYPE_p_wxIconizeEvent swig_types[53] +#define SWIGTYPE_p_wxIdleEvent swig_types[54] +#define SWIGTYPE_p_wxImage swig_types[55] +#define SWIGTYPE_p_wxImageHandler swig_types[56] +#define SWIGTYPE_p_wxImageHistogram swig_types[57] +#define SWIGTYPE_p_wxImage_HSVValue swig_types[58] +#define SWIGTYPE_p_wxImage_RGBValue swig_types[59] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[61] +#define SWIGTYPE_p_wxInputStream swig_types[62] +#define SWIGTYPE_p_wxInternetFSHandler swig_types[63] +#define SWIGTYPE_p_wxItemContainer swig_types[64] +#define SWIGTYPE_p_wxJPEGHandler swig_types[65] +#define SWIGTYPE_p_wxKeyEvent swig_types[66] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[67] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[68] +#define SWIGTYPE_p_wxMemoryFSHandler swig_types[69] +#define SWIGTYPE_p_wxMenu swig_types[70] +#define SWIGTYPE_p_wxMenuBar swig_types[71] +#define SWIGTYPE_p_wxMenuBarBase swig_types[72] +#define SWIGTYPE_p_wxMenuEvent swig_types[73] +#define SWIGTYPE_p_wxMenuItem swig_types[74] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75] +#define SWIGTYPE_p_wxMouseEvent swig_types[76] +#define SWIGTYPE_p_wxMoveEvent swig_types[77] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[79] +#define SWIGTYPE_p_wxNotifyEvent swig_types[80] +#define SWIGTYPE_p_wxObject swig_types[81] +#define SWIGTYPE_p_wxOutputStream swig_types[82] +#define SWIGTYPE_p_wxPCXHandler swig_types[83] +#define SWIGTYPE_p_wxPNGHandler swig_types[84] +#define SWIGTYPE_p_wxPNMHandler swig_types[85] +#define SWIGTYPE_p_wxPaintEvent swig_types[86] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87] +#define SWIGTYPE_p_wxPaperSize swig_types[88] +#define SWIGTYPE_p_wxPoint swig_types[89] +#define SWIGTYPE_p_wxPoint2D swig_types[90] +#define SWIGTYPE_p_wxPropagateOnce swig_types[91] +#define SWIGTYPE_p_wxPropagationDisabler swig_types[92] +#define SWIGTYPE_p_wxPyApp swig_types[93] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[94] +#define SWIGTYPE_p_wxPyDropTarget swig_types[95] +#define SWIGTYPE_p_wxPyEvent swig_types[96] +#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97] +#define SWIGTYPE_p_wxPyImageHandler swig_types[98] +#define SWIGTYPE_p_wxPyInputStream swig_types[99] +#define SWIGTYPE_p_wxPySizer swig_types[100] +#define SWIGTYPE_p_wxPyValidator swig_types[101] +#define SWIGTYPE_p_wxQuantize swig_types[102] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103] +#define SWIGTYPE_p_wxRealPoint swig_types[104] +#define SWIGTYPE_p_wxRect swig_types[105] +#define SWIGTYPE_p_wxRegion swig_types[106] +#define SWIGTYPE_p_wxScrollEvent swig_types[107] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[108] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[109] +#define SWIGTYPE_p_wxShowEvent swig_types[110] +#define SWIGTYPE_p_wxSize swig_types[111] +#define SWIGTYPE_p_wxSizeEvent swig_types[112] +#define SWIGTYPE_p_wxSizer swig_types[113] +#define SWIGTYPE_p_wxSizerItem swig_types[114] +#define SWIGTYPE_p_wxStaticBox swig_types[115] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[116] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118] +#define SWIGTYPE_p_wxTIFFHandler swig_types[119] +#define SWIGTYPE_p_wxToolTip swig_types[120] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[121] +#define SWIGTYPE_p_wxValidator swig_types[122] +#define SWIGTYPE_p_wxVisualAttributes swig_types[123] +#define SWIGTYPE_p_wxWindow swig_types[124] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[125] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126] +#define SWIGTYPE_p_wxXPMHandler swig_types[127] +#define SWIGTYPE_p_wxZipFSHandler swig_types[128] +#define SWIGTYPE_ptrdiff_t swig_types[129] +#define SWIGTYPE_std__ptrdiff_t swig_types[130] +#define SWIGTYPE_unsigned_int swig_types[131] +static swig_type_info *swig_types[133]; +static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0}; +#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) +#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) /* -------- TYPES TABLE (END) -------- */ @@ -1492,7 +1588,7 @@ static swig_type_info *swig_types[132]; // in the wrapper code. #include -WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap ); + WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap ); // Maintains a hashmap of className to swig_type_info pointers. Given the @@ -1698,7 +1794,7 @@ static wxPyCoreAPI API = { #endif - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_int PyInt_FromLong /*@@*/ @@ -1763,7 +1859,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; @@ -1777,7 +1873,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1785,7 +1881,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1799,7 +1895,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1828,7 +1924,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -1842,14 +1938,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 /*@@*/ @@ -1866,7 +1962,7 @@ static PyObject *wxRealPoint_Get(wxRealPoint *self){ return tup; } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1880,7 +1976,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1986,19 +2082,19 @@ static wxPyInputStream *new_wxPyInputStream(PyObject *p){ return NULL; } -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_char(char c) { return PyString_FromStringAndSize(&c,1); } -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_unsigned_SS_long(unsigned long value) { return (value > LONG_MAX) ? PyLong_FromUnsignedLong(value) - : PyInt_FromLong((long)(value)); + : PyInt_FromLong(static_cast(value)); } @@ -2068,7 +2164,7 @@ SWIGINTERN int long v; if (SWIG_AsVal_long(obj, &v)) { if (SWIG_CheckLongInRange(v, CHAR_MIN,CHAR_MAX, errmsg)) { - if (val) *val = (char)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2080,7 +2176,7 @@ SWIGINTERN int } -SWIGINTERNSHORT char +SWIGINTERNINLINE char SWIG_As_char(PyObject* obj) { char v; @@ -2094,14 +2190,14 @@ SWIG_As_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_char(PyObject* obj) { return SWIG_AsVal_char(obj, (char*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ @@ -2185,7 +2281,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -2199,13 +2295,13 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -static wxString FileSystem_URLToFileName(wxString const &url){ +static wxString wxFileSystem_URLToFileName(wxString const &url){ wxFileName fname = wxFileSystem::URLToFileName(url); return fname.GetFullPath(); } @@ -2255,7 +2351,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -2279,7 +2375,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) { - if (val) *val = (unsigned char)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2294,7 +2390,7 @@ SWIGINTERN int } -SWIGINTERNSHORT unsigned char +SWIGINTERNINLINE unsigned char SWIG_As_unsigned_SS_char(PyObject* obj) { unsigned char v; @@ -2308,20 +2404,20 @@ SWIG_As_unsigned_SS_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_char(PyObject* obj) { return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_char PyInt_FromLong /*@@*/ -SWIGINTERNSHORT unsigned long +SWIGINTERNINLINE unsigned long SWIG_As_unsigned_SS_long(PyObject* obj) { unsigned long v; @@ -2335,7 +2431,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -2521,7 +2617,7 @@ static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,byte red,byte green,by #include -static bool Quantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){ +static bool wxQuantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){ return wxQuantize::Quantize(src, dest, //NULL, // palette desiredNoColours, @@ -2575,11 +2671,11 @@ static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){ } #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif @@ -2593,7 +2689,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -2605,7 +2701,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -2613,7 +2709,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -2627,7 +2723,7 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); @@ -2660,7 +2756,7 @@ static wxPyApp *new_wxPyApp(){ wxPythonApp = new wxPyApp(); return wxPythonApp; } -static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; } +static int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; } void wxApp_CleanUp() { __wxPyCleanup(); @@ -2670,7 +2766,7 @@ static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; } wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsCharPtr(PyObject *obj, char **val) { if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) { @@ -2690,7 +2786,7 @@ SWIG_FromCharPtr(const char* cptr) if (cptr) { size_t size = strlen(cptr); if (size > INT_MAX) { - return SWIG_NewPointerObj((char*)(cptr), + return SWIG_NewPointerObj(const_cast(cptr), SWIG_TypeQuery("char *"), 0); } else { if (size != 0) { @@ -2705,7 +2801,7 @@ SWIG_FromCharPtr(const char* cptr) } -#ifdef __WXMAC__ +#if 0 // #ifdef __WXMAC__ // A dummy class that raises an exception if used... class wxEventLoop @@ -2821,12 +2917,12 @@ static void wxMenuItem_SetTextColour(wxMenuItem *self,wxColour const &colText){} static wxColour wxMenuItem_GetTextColour(wxMenuItem *self){ return wxNullColour; } static void wxMenuItem_SetBackgroundColour(wxMenuItem *self,wxColour const &colBack){} static wxColour wxMenuItem_GetBackgroundColour(wxMenuItem *self){ return wxNullColour; } -static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){} +static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){ self->SetBitmap( bmpChecked ); } static void wxMenuItem_SetDisabledBitmap(wxMenuItem *self,wxBitmap const &bmpDisabled){} static wxBitmap const &wxMenuItem_GetDisabledBitmap(wxMenuItem const *self){ return wxNullBitmap; } static void wxMenuItem_SetMarginWidth(wxMenuItem *self,int nWidth){} static int wxMenuItem_GetMarginWidth(wxMenuItem *self){ return 0; } -static int MenuItem_GetDefaultMarginWidth(){ return 0; } +static int wxMenuItem_GetDefaultMarginWidth(){ return 0; } static bool wxMenuItem_IsOwnerDrawn(wxMenuItem *self){ return false; } static void wxMenuItem_SetOwnerDrawn(wxMenuItem *self,bool ownerDrawn=true){} static void wxMenuItem_ResetOwnerDrawn(wxMenuItem *self){} @@ -2920,7 +3016,7 @@ SWIGINTERN int double v; if (SWIG_AsVal_double(obj, &v)) { if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { - if (val) *val = (float)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2935,7 +3031,7 @@ SWIGINTERN int } -SWIGINTERNSHORT float +SWIGINTERNINLINE float SWIG_As_float(PyObject* obj) { float v; @@ -2949,14 +3045,14 @@ SWIG_As_float(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_float(PyObject* obj) { return SWIG_AsVal_float(obj, (float*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_float PyFloat_FromDouble /*@@*/ @@ -2970,6 +3066,15 @@ static PyObject *wxSizerItem_GetUserData(wxSizerItem *self){ return Py_None; } } +static void wxSizerItem_SetUserData(wxSizerItem *self,PyObject *userData){ + wxPyUserData* data = NULL; + if ( userData ) { + wxPyBlock_t blocked = wxPyBeginBlockThreads(); + data = new wxPyUserData(userData); + wxPyEndBlockThreads(blocked); + } + self->SetUserData(data); + } // Figure out the type of the sizer item @@ -3293,7 +3398,7 @@ static int _wrap_EmptyString_set(PyObject *) { static PyObject *_wrap_EmptyString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3307,7 +3412,7 @@ static PyObject *_wrap_EmptyString_get(void) { static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3339,7 +3444,7 @@ static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3371,7 +3476,7 @@ static PyObject * Object_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3384,7 +3489,7 @@ static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -3397,7 +3502,7 @@ static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3411,7 +3516,7 @@ static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwar result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3420,7 +3525,7 @@ static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3433,7 +3538,7 @@ static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -3446,7 +3551,7 @@ static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3460,7 +3565,7 @@ static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3469,7 +3574,7 @@ static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxSize *result; @@ -3482,13 +3587,13 @@ static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3507,7 +3612,7 @@ static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3532,7 +3637,7 @@ static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; bool result; @@ -3567,7 +3672,7 @@ static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; bool result; @@ -3602,7 +3707,7 @@ static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -3629,7 +3734,7 @@ static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3639,7 +3744,7 @@ static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -3666,7 +3771,7 @@ static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3676,7 +3781,7 @@ static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3708,7 +3813,7 @@ static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3740,7 +3845,7 @@ static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; int arg3 ; @@ -3755,11 +3860,11 @@ static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3777,7 +3882,7 @@ static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3790,7 +3895,7 @@ static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3808,7 +3913,7 @@ static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3821,7 +3926,7 @@ static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3839,7 +3944,7 @@ static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3858,7 +3963,7 @@ static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3867,7 +3972,7 @@ static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3886,7 +3991,7 @@ static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3895,7 +4000,7 @@ static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3923,7 +4028,7 @@ static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3955,7 +4060,7 @@ static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -3988,7 +4093,7 @@ static PyObject * Size_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -4001,7 +4106,7 @@ static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -4014,7 +4119,7 @@ static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double result; PyObject * obj0 = 0 ; @@ -4028,7 +4133,7 @@ static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwa result = (double) ((arg1)->x); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -4037,7 +4142,7 @@ static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -4050,7 +4155,7 @@ static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -4063,7 +4168,7 @@ static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double result; PyObject * obj0 = 0 ; @@ -4077,7 +4182,7 @@ static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwa result = (double) ((arg1)->y); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -4086,7 +4191,7 @@ static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; wxRealPoint *result; @@ -4099,13 +4204,13 @@ static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4124,7 +4229,7 @@ static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4149,7 +4254,7 @@ static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; bool result; @@ -4184,7 +4289,7 @@ static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; bool result; @@ -4219,7 +4324,7 @@ static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; wxRealPoint result; @@ -4246,7 +4351,7 @@ static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *k } { wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &)(result)); + resultptr = new wxRealPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1); } return resultobj; @@ -4256,7 +4361,7 @@ static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; wxRealPoint result; @@ -4283,7 +4388,7 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *k } { wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &)(result)); + resultptr = new wxRealPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1); } return resultobj; @@ -4293,7 +4398,7 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; double arg3 ; @@ -4308,11 +4413,11 @@ static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4330,7 +4435,7 @@ static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4363,7 +4468,7 @@ static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4376,7 +4481,7 @@ static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -4389,7 +4494,7 @@ static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4403,7 +4508,7 @@ static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4412,7 +4517,7 @@ static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4425,7 +4530,7 @@ static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -4438,7 +4543,7 @@ static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4452,7 +4557,7 @@ static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4461,7 +4566,7 @@ static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxPoint *result; @@ -4474,13 +4579,13 @@ static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4499,7 +4604,7 @@ static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4524,7 +4629,7 @@ static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -4559,7 +4664,7 @@ static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -4594,7 +4699,7 @@ static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -4621,7 +4726,7 @@ static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwarg } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -4631,7 +4736,7 @@ static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -4658,7 +4763,7 @@ static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwarg } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -4668,7 +4773,7 @@ static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint *result; @@ -4704,7 +4809,7 @@ static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint *result; @@ -4740,7 +4845,7 @@ static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; long arg2 ; long arg3 ; @@ -4755,11 +4860,11 @@ static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4777,7 +4882,7 @@ static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4810,7 +4915,7 @@ static PyObject * Point_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -4827,25 +4932,25 @@ static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -4864,7 +4969,7 @@ static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxPoint *arg2 = 0 ; wxRect *result; @@ -4900,7 +5005,7 @@ static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxSize *arg2 = 0 ; wxRect *result; @@ -4936,7 +5041,7 @@ static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = 0 ; wxRect *result; wxSize temp1 ; @@ -4965,7 +5070,7 @@ static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4990,7 +5095,7 @@ static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5009,7 +5114,7 @@ static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5018,7 +5123,7 @@ static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5031,7 +5136,7 @@ static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5049,7 +5154,7 @@ static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5068,7 +5173,7 @@ static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5077,7 +5182,7 @@ static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5090,7 +5195,7 @@ static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5108,7 +5213,7 @@ static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5127,7 +5232,7 @@ static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5136,7 +5241,7 @@ static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5149,7 +5254,7 @@ static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5167,7 +5272,7 @@ static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5186,7 +5291,7 @@ static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5195,7 +5300,7 @@ static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5208,7 +5313,7 @@ static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5226,7 +5331,7 @@ static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5246,7 +5351,7 @@ static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kw } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5256,7 +5361,7 @@ static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5288,7 +5393,7 @@ static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -5308,7 +5413,7 @@ static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -5318,7 +5423,7 @@ static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -5350,7 +5455,7 @@ static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5378,7 +5483,7 @@ static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5398,7 +5503,7 @@ static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwa } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5408,7 +5513,7 @@ static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5440,7 +5545,7 @@ static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5460,7 +5565,7 @@ static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5470,7 +5575,7 @@ static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5502,7 +5607,7 @@ static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5521,7 +5626,7 @@ static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5530,7 +5635,7 @@ static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5549,7 +5654,7 @@ static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5558,7 +5663,7 @@ static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5577,7 +5682,7 @@ static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5586,7 +5691,7 @@ static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5605,7 +5710,7 @@ static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5614,7 +5719,7 @@ static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5627,7 +5732,7 @@ static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5645,7 +5750,7 @@ static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5658,7 +5763,7 @@ static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5676,7 +5781,7 @@ static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5689,7 +5794,7 @@ static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5707,7 +5812,7 @@ static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5720,7 +5825,7 @@ static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5738,7 +5843,7 @@ static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5754,11 +5859,11 @@ static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5779,7 +5884,7 @@ static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5795,11 +5900,11 @@ static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5820,7 +5925,7 @@ static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5835,11 +5940,11 @@ static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5857,7 +5962,7 @@ static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5889,7 +5994,7 @@ static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5916,7 +6021,7 @@ static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwar } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5926,7 +6031,7 @@ static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5953,7 +6058,7 @@ static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5963,7 +6068,7 @@ static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5990,7 +6095,7 @@ static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -6000,7 +6105,7 @@ static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect *result; @@ -6036,7 +6141,7 @@ static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6071,7 +6176,7 @@ static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6106,7 +6211,7 @@ static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -6122,11 +6227,11 @@ static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6146,7 +6251,7 @@ static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -6181,7 +6286,7 @@ static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6216,7 +6321,7 @@ static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6229,7 +6334,7 @@ static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -6242,7 +6347,7 @@ static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6256,7 +6361,7 @@ static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6265,7 +6370,7 @@ static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6278,7 +6383,7 @@ static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -6291,7 +6396,7 @@ static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6305,7 +6410,7 @@ static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6314,7 +6419,7 @@ static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6327,7 +6432,7 @@ static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->width = arg2; @@ -6340,7 +6445,7 @@ static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6354,7 +6459,7 @@ static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwar result = (int) ((arg1)->width); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6363,7 +6468,7 @@ static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6376,7 +6481,7 @@ static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->height = arg2; @@ -6389,7 +6494,7 @@ static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6403,7 +6508,7 @@ static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->height); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6412,7 +6517,7 @@ static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -6432,25 +6537,25 @@ static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -6469,7 +6574,7 @@ static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -6502,7 +6607,7 @@ static PyObject * Rect_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = (wxRect *) 0 ; PyObject *result; @@ -6533,7 +6638,7 @@ static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; wxPoint2D *result; @@ -6546,13 +6651,13 @@ static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -6571,7 +6676,7 @@ static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = 0 ; wxPoint2D *result; wxPoint2D temp1 ; @@ -6600,7 +6705,7 @@ static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxPoint2D *result; wxPoint temp1 ; @@ -6629,7 +6734,7 @@ static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6666,7 +6771,7 @@ static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6703,7 +6808,7 @@ static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -6722,7 +6827,7 @@ static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6731,7 +6836,7 @@ static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -6750,7 +6855,7 @@ static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6759,7 +6864,7 @@ static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -6772,7 +6877,7 @@ static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6790,7 +6895,7 @@ static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -6803,7 +6908,7 @@ static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6821,7 +6926,7 @@ static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6847,7 +6952,7 @@ static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6856,7 +6961,7 @@ static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6882,7 +6987,7 @@ static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6891,7 +6996,7 @@ static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyO static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6917,7 +7022,7 @@ static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6926,7 +7031,7 @@ static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6952,7 +7057,7 @@ static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6961,7 +7066,7 @@ static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D result; PyObject * obj0 = 0 ; @@ -6981,7 +7086,7 @@ static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwa } { wxPoint2D * resultptr; - resultptr = new wxPoint2D((wxPoint2D &)(result)); + resultptr = new wxPoint2D(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1); } return resultobj; @@ -6991,7 +7096,7 @@ static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7027,7 +7132,7 @@ static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7063,7 +7168,7 @@ static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7099,7 +7204,7 @@ static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7135,7 +7240,7 @@ static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; bool result; @@ -7170,7 +7275,7 @@ static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; bool result; @@ -7205,7 +7310,7 @@ static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -7218,7 +7323,7 @@ static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -7231,7 +7336,7 @@ static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -7245,7 +7350,7 @@ static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwarg result = (double) ((arg1)->m_x); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7254,7 +7359,7 @@ static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -7267,7 +7372,7 @@ static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -7280,7 +7385,7 @@ static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -7294,7 +7399,7 @@ static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwarg result = (double) ((arg1)->m_y); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7303,7 +7408,7 @@ static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 = (double) 0 ; double arg3 = (double) 0 ; @@ -7319,13 +7424,13 @@ static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7344,7 +7449,7 @@ static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -7383,7 +7488,7 @@ static int _wrap_DefaultPosition_set(PyObject *) { static PyObject *_wrap_DefaultPosition_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0); return pyobj; @@ -7397,7 +7502,7 @@ static int _wrap_DefaultSize_set(PyObject *) { static PyObject *_wrap_DefaultSize_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0); return pyobj; @@ -7405,7 +7510,7 @@ static PyObject *_wrap_DefaultSize_get(void) { static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxPyInputStream *result; PyObject * obj0 = 0 ; @@ -7430,7 +7535,7 @@ static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7455,7 +7560,7 @@ static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7480,7 +7585,7 @@ static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7505,7 +7610,7 @@ static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7533,7 +7638,7 @@ static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7548,7 +7653,7 @@ static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7567,7 +7672,7 @@ static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7582,7 +7687,7 @@ static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7601,7 +7706,7 @@ static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7616,7 +7721,7 @@ static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7635,7 +7740,7 @@ static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 ; int arg3 = (int) 0 ; @@ -7650,12 +7755,12 @@ static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7674,7 +7779,7 @@ static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7693,7 +7798,7 @@ static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7702,7 +7807,7 @@ static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char result; PyObject * obj0 = 0 ; @@ -7721,7 +7826,7 @@ static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_char((char)(result)); + resultobj = SWIG_From_char(static_cast(result)); } return resultobj; fail: @@ -7730,7 +7835,7 @@ static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char result; PyObject * obj0 = 0 ; @@ -7749,7 +7854,7 @@ static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_char((char)(result)); + resultobj = SWIG_From_char(static_cast(result)); } return resultobj; fail: @@ -7758,7 +7863,7 @@ static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -7777,7 +7882,7 @@ static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -7786,7 +7891,7 @@ static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7814,7 +7919,7 @@ static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7842,7 +7947,7 @@ static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char arg2 ; bool result; @@ -7856,7 +7961,7 @@ static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (char)(SWIG_As_char(obj1)); + arg2 = static_cast(SWIG_As_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7876,7 +7981,7 @@ static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; long arg2 ; wxSeekMode arg3 = (wxSeekMode) wxFromStart ; @@ -7892,24 +7997,24 @@ static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxSeekMode)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3); + result = (long)(arg1)->SeekI(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7918,7 +8023,7 @@ static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; long result; PyObject * obj0 = 0 ; @@ -7937,7 +8042,7 @@ static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7953,7 +8058,7 @@ static PyObject * InputStream_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxOutputStream *arg1 = (wxOutputStream *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -7988,7 +8093,7 @@ static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = (wxInputStream *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -8087,7 +8192,7 @@ static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8112,7 +8217,7 @@ static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -8145,7 +8250,7 @@ static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8180,7 +8285,7 @@ static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8215,7 +8320,7 @@ static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8250,7 +8355,7 @@ static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -8270,7 +8375,7 @@ static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, Py } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -8294,7 +8399,7 @@ static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *result; char *kwnames[] = { NULL @@ -8316,7 +8421,7 @@ static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8347,7 +8452,7 @@ static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject * static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8391,7 +8496,7 @@ static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -8445,7 +8550,7 @@ static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -8468,7 +8573,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8501,7 +8606,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, P static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8533,7 +8638,7 @@ static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8581,7 +8686,7 @@ static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8629,7 +8734,7 @@ static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *a static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8677,7 +8782,7 @@ static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, P static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8725,7 +8830,7 @@ static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject * static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8780,7 +8885,7 @@ static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *result; char *kwnames[] = { NULL @@ -8804,7 +8909,7 @@ static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8829,7 +8934,7 @@ static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -8851,7 +8956,7 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8878,7 +8983,7 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8910,7 +9015,7 @@ static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; wxFSFile *result; @@ -8954,7 +9059,7 @@ static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -8977,7 +9082,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9010,7 +9115,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9042,7 +9147,7 @@ static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9067,7 +9172,7 @@ static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9088,7 +9193,7 @@ static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -9132,7 +9237,7 @@ static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -9149,7 +9254,7 @@ static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyOb } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = FileSystem_URLToFileName((wxString const &)*arg1); + result = wxFileSystem_URLToFileName((wxString const &)*arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9183,7 +9288,7 @@ static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *result; char *kwnames[] = { NULL @@ -9205,7 +9310,7 @@ static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9249,7 +9354,7 @@ static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyO static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9310,7 +9415,7 @@ static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *result; char *kwnames[] = { NULL @@ -9332,7 +9437,7 @@ static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9376,7 +9481,7 @@ static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9430,7 +9535,7 @@ static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -9453,7 +9558,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9486,7 +9591,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9525,7 +9630,7 @@ static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxImage *arg2 = 0 ; long arg3 ; @@ -9552,7 +9657,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9578,7 +9683,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBitmap *arg2 = 0 ; long arg3 ; @@ -9605,7 +9710,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9631,7 +9736,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; PyObject *arg2 = (PyObject *) 0 ; bool temp1 = false ; @@ -9671,7 +9776,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *ar static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *result; char *kwnames[] = { NULL @@ -9693,7 +9798,7 @@ static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9730,7 +9835,7 @@ static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, Py static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9774,7 +9879,7 @@ static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9828,7 +9933,7 @@ static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -9851,7 +9956,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9884,7 +9989,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyO static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9923,7 +10028,7 @@ static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9955,7 +10060,7 @@ static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9987,7 +10092,7 @@ static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyO static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; long result; PyObject * obj0 = 0 ; @@ -10006,7 +10111,7 @@ static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -10015,7 +10120,7 @@ static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10047,7 +10152,7 @@ static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -10091,7 +10196,7 @@ static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10132,7 +10237,7 @@ static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10173,7 +10278,7 @@ static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyO static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -10186,7 +10291,7 @@ static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10204,7 +10309,7 @@ static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10252,7 +10357,7 @@ static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyImageHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyImageHandler *result; char *kwnames[] = { NULL @@ -10274,7 +10379,7 @@ static PyObject *_wrap_new_PyImageHandler(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyImageHandler__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyImageHandler *arg1 = (wxPyImageHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -10309,7 +10414,7 @@ static PyObject * PyImageHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *result; char *kwnames[] = { NULL @@ -10331,7 +10436,7 @@ static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; byte arg1 ; byte arg2 ; byte arg3 ; @@ -10345,15 +10450,15 @@ static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (byte)(SWIG_As_unsigned_SS_char(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_char(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10364,7 +10469,7 @@ static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10373,7 +10478,7 @@ static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; byte *arg2 = (byte *) 0 ; byte *arg3 = (byte *) 0 ; @@ -10404,19 +10509,19 @@ static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj2) { { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj3) { { - arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -10443,7 +10548,7 @@ static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; unsigned long arg2 ; unsigned long result; @@ -10457,7 +10562,7 @@ static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10468,7 +10573,7 @@ static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10477,7 +10582,7 @@ static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; byte arg2 ; byte arg3 ; @@ -10495,15 +10600,15 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -10514,7 +10619,7 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10523,7 +10628,7 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; wxColour *arg2 = 0 ; unsigned long result; @@ -10549,7 +10654,7 @@ static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10565,7 +10670,7 @@ static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; byte arg1 = (byte) 0 ; byte arg2 = (byte) 0 ; byte arg3 = (byte) 0 ; @@ -10580,19 +10685,19 @@ static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_RGBValue",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (byte)(SWIG_As_unsigned_SS_char(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_char(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10611,7 +10716,7 @@ static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte arg2 ; PyObject * obj0 = 0 ; @@ -10624,7 +10729,7 @@ static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->red = arg2; @@ -10637,7 +10742,7 @@ static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -10651,7 +10756,7 @@ static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObje result = (byte) ((arg1)->red); { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -10660,7 +10765,7 @@ static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte arg2 ; PyObject * obj0 = 0 ; @@ -10673,7 +10778,7 @@ static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->green = arg2; @@ -10686,7 +10791,7 @@ static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -10700,7 +10805,7 @@ static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyOb result = (byte) ((arg1)->green); { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -10709,7 +10814,7 @@ static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte arg2 ; PyObject * obj0 = 0 ; @@ -10722,7 +10827,7 @@ static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->blue = arg2; @@ -10735,7 +10840,7 @@ static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Image_RGBValue_blue_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -10749,7 +10854,7 @@ static PyObject *_wrap_Image_RGBValue_blue_get(PyObject *, PyObject *args, PyObj result = (byte) ((arg1)->blue); { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -10765,7 +10870,7 @@ static PyObject * Image_RGBValue_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; double arg3 = (double) 0.0 ; @@ -10780,19 +10885,19 @@ static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_HSVValue",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10811,7 +10916,7 @@ static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -10824,7 +10929,7 @@ static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->hue = arg2; @@ -10837,7 +10942,7 @@ static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double result; PyObject * obj0 = 0 ; @@ -10851,7 +10956,7 @@ static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObje result = (double) ((arg1)->hue); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -10860,7 +10965,7 @@ static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -10873,7 +10978,7 @@ static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->saturation = arg2; @@ -10886,7 +10991,7 @@ static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double result; PyObject * obj0 = 0 ; @@ -10900,7 +11005,7 @@ static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, result = (double) ((arg1)->saturation); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -10909,7 +11014,7 @@ static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -10922,7 +11027,7 @@ static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->value = arg2; @@ -10935,7 +11040,7 @@ static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_HSVValue_value_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; double result; PyObject * obj0 = 0 ; @@ -10949,7 +11054,7 @@ static PyObject *_wrap_Image_HSVValue_value_get(PyObject *, PyObject *args, PyOb result = (double) ((arg1)->value); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -10965,7 +11070,7 @@ static PyObject * Image_HSVValue_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; @@ -10986,13 +11091,13 @@ static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11019,7 +11124,7 @@ static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11044,7 +11149,7 @@ static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -11071,7 +11176,7 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *k } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11106,7 +11211,7 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; @@ -11137,13 +11242,13 @@ static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11168,7 +11273,7 @@ static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -11205,7 +11310,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11238,7 +11343,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObj static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; bool arg3 = (bool) true ; @@ -11253,19 +11358,19 @@ static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11284,7 +11389,7 @@ static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxImage *result; PyObject * obj0 = 0 ; @@ -11317,7 +11422,7 @@ static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; buffer arg3 ; @@ -11332,11 +11437,11 @@ static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11357,7 +11462,7 @@ static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; buffer arg3 ; @@ -11375,11 +11480,11 @@ static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11403,7 +11508,7 @@ static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, Py static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11420,16 +11525,16 @@ static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -11448,7 +11553,7 @@ static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11473,7 +11578,7 @@ static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11489,11 +11594,11 @@ static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11505,7 +11610,7 @@ static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -11515,7 +11620,7 @@ static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11531,11 +11636,11 @@ static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11547,7 +11652,7 @@ static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwar } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -11557,7 +11662,7 @@ static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11573,11 +11678,11 @@ static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11598,7 +11703,7 @@ static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -11631,19 +11736,19 @@ static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -11665,7 +11770,7 @@ static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11686,23 +11791,23 @@ static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj5)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -11720,7 +11825,7 @@ static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxRect *arg2 = 0 ; byte arg3 ; @@ -11744,15 +11849,15 @@ static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kw if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -11770,7 +11875,7 @@ static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11786,11 +11891,11 @@ static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11801,7 +11906,7 @@ static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11810,7 +11915,7 @@ static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11826,11 +11931,11 @@ static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11841,7 +11946,7 @@ static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11850,7 +11955,7 @@ static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11866,11 +11971,11 @@ static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11881,7 +11986,7 @@ static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11890,7 +11995,7 @@ static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11907,15 +12012,15 @@ static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -11933,7 +12038,7 @@ static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11949,11 +12054,11 @@ static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11964,7 +12069,7 @@ static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11973,7 +12078,7 @@ static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12001,7 +12106,7 @@ static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12026,7 +12131,7 @@ static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -12044,16 +12149,16 @@ static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (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 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12074,7 +12179,7 @@ static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte *arg2 = (byte *) 0 ; byte *arg3 = (byte *) 0 ; @@ -12105,19 +12210,19 @@ static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, P if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj2) { { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj3) { { - arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -12144,7 +12249,7 @@ static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, P static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 = (byte) wxIMAGE_ALPHA_THRESHOLD ; bool result; @@ -12159,7 +12264,7 @@ static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -12180,7 +12285,7 @@ static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -12198,15 +12303,15 @@ static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -12226,7 +12331,7 @@ static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, Py static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImage *arg2 = 0 ; byte arg3 ; @@ -12254,15 +12359,15 @@ static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -12282,7 +12387,7 @@ static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -12322,7 +12427,7 @@ static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int result; @@ -12341,7 +12446,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -12353,7 +12458,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -12370,7 +12475,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) wxBITMAP_TYPE_ANY ; @@ -12395,13 +12500,13 @@ static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12430,7 +12535,7 @@ static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12461,7 +12566,7 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject * } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12498,7 +12603,7 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -12520,7 +12625,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwar temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -12548,7 +12653,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12608,7 +12713,7 @@ static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; bool result; wxPyInputStream *temp1 ; @@ -12656,7 +12761,7 @@ static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxInputStream *arg2 = 0 ; long arg3 = (long) wxBITMAP_TYPE_ANY ; @@ -12691,13 +12796,13 @@ static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12724,7 +12829,7 @@ static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxInputStream *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12765,7 +12870,7 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12800,7 +12905,7 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12828,7 +12933,7 @@ static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12847,7 +12952,7 @@ static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12856,7 +12961,7 @@ static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12875,7 +12980,7 @@ static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12884,7 +12989,7 @@ static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -12904,7 +13009,7 @@ static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -12914,7 +13019,7 @@ static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxRect *arg2 = 0 ; SwigValueWrapper result; @@ -12941,7 +13046,7 @@ static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *k } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -12951,7 +13056,7 @@ static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -12984,19 +13089,19 @@ static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -13009,7 +13114,7 @@ static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13019,7 +13124,7 @@ static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -13039,7 +13144,7 @@ static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13049,7 +13154,7 @@ static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImage *arg2 = 0 ; int arg3 ; @@ -13074,11 +13179,11 @@ static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13096,7 +13201,7 @@ static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -13122,7 +13227,7 @@ static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -13153,7 +13258,7 @@ static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -13179,7 +13284,7 @@ static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -13210,7 +13315,7 @@ static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -13236,7 +13341,7 @@ static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -13267,7 +13372,7 @@ static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -13293,7 +13398,7 @@ static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -13324,7 +13429,7 @@ static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -13341,15 +13446,15 @@ static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13367,7 +13472,7 @@ static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte *arg2 = (byte *) 0 ; byte *arg3 = (byte *) 0 ; @@ -13410,7 +13515,7 @@ static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyO static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -13429,7 +13534,7 @@ static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -13438,7 +13543,7 @@ static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -13457,7 +13562,7 @@ static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -13466,7 +13571,7 @@ static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -13485,7 +13590,7 @@ static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -13494,7 +13599,7 @@ static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -13508,7 +13613,7 @@ static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13527,7 +13632,7 @@ static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13555,7 +13660,7 @@ static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; double arg2 ; wxPoint *arg3 = 0 ; @@ -13576,7 +13681,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13585,7 +13690,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13602,7 +13707,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13612,7 +13717,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; SwigValueWrapper result; @@ -13627,7 +13732,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13640,7 +13745,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwar } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13650,7 +13755,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; SwigValueWrapper result; @@ -13665,7 +13770,7 @@ static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13678,7 +13783,7 @@ static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13688,7 +13793,7 @@ static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -13711,27 +13816,27 @@ static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj5)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (byte)(SWIG_As_unsigned_SS_char(obj6)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -13748,8 +13853,62 @@ static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwarg } +static PyObject *_wrap_Image_ConvertToGreyscale(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage *arg1 = (wxImage *) 0 ; + double arg2 = (double) 0.299 ; + double arg3 = (double) 0.587 ; + double arg4 = (double) 0.114 ; + SwigValueWrapper result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = static_cast(SWIG_As_double(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_double(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_double(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxImage const *)arg1)->ConvertToGreyscale(arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxImage * resultptr; + resultptr = new wxImage(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); + } + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -13767,15 +13926,15 @@ static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13787,7 +13946,7 @@ static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13797,7 +13956,7 @@ static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -13854,7 +14013,7 @@ static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -13875,7 +14034,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject * temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13901,7 +14060,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -13949,7 +14108,7 @@ static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int result; @@ -13976,7 +14135,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -13993,7 +14152,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; bool result; @@ -14037,7 +14196,7 @@ static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; unsigned long arg2 = (unsigned long) (unsigned long) -1 ; unsigned long result; @@ -14052,7 +14211,7 @@ static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -14064,7 +14223,7 @@ static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -14073,7 +14232,7 @@ static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImageHistogram *arg2 = 0 ; unsigned long result; @@ -14102,7 +14261,7 @@ static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -14111,7 +14270,7 @@ static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14136,7 +14295,7 @@ static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14161,7 +14320,7 @@ static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -14201,7 +14360,7 @@ static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -14229,7 +14388,7 @@ static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyO static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 = (int) -1 ; wxBitmap result; @@ -14244,7 +14403,7 @@ static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -14258,7 +14417,7 @@ static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObjec } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -14268,7 +14427,7 @@ static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte arg2 ; byte arg3 ; @@ -14286,15 +14445,15 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -14307,7 +14466,7 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -14317,7 +14476,7 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO static PyObject *_wrap_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -14330,7 +14489,7 @@ static PyObject *_wrap_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14348,7 +14507,7 @@ static PyObject *_wrap_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_RGBValue arg1 ; wxImage_HSVValue result; PyObject * obj0 = 0 ; @@ -14376,7 +14535,7 @@ static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwar } { wxImage_HSVValue * resultptr; - resultptr = new wxImage_HSVValue((wxImage_HSVValue &)(result)); + resultptr = new wxImage_HSVValue(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_HSVValue, 1); } return resultobj; @@ -14386,7 +14545,7 @@ static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_HSVtoRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage_HSVValue arg1 ; wxImage_RGBValue result; PyObject * obj0 = 0 ; @@ -14414,7 +14573,7 @@ static PyObject *_wrap_Image_HSVtoRGB(PyObject *, PyObject *args, PyObject *kwar } { wxImage_RGBValue * resultptr; - resultptr = new wxImage_RGBValue((wxImage_RGBValue &)(result)); + resultptr = new wxImage_RGBValue(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_RGBValue, 1); } return resultobj; @@ -14437,7 +14596,7 @@ static int _wrap_NullImage_set(PyObject *) { static PyObject *_wrap_NullImage_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0); return pyobj; @@ -14451,7 +14610,7 @@ static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_FILENAME_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14471,7 +14630,7 @@ static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14491,7 +14650,7 @@ static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14511,7 +14670,7 @@ static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14531,7 +14690,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14551,7 +14710,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14571,7 +14730,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14591,7 +14750,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14611,7 +14770,7 @@ static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14631,7 +14790,7 @@ static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14651,7 +14810,7 @@ static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14671,7 +14830,7 @@ static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_COMPRESSION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14691,7 +14850,7 @@ static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14711,7 +14870,7 @@ static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14731,7 +14890,7 @@ static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14745,7 +14904,7 @@ static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) { static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBMPHandler *result; char *kwnames[] = { NULL @@ -14774,7 +14933,7 @@ static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxICOHandler *result; char *kwnames[] = { NULL @@ -14803,7 +14962,7 @@ static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCURHandler *result; char *kwnames[] = { NULL @@ -14832,7 +14991,7 @@ static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxANIHandler *result; char *kwnames[] = { NULL @@ -14861,7 +15020,7 @@ static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPNGHandler *result; char *kwnames[] = { NULL @@ -14890,7 +15049,7 @@ static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFHandler *result; char *kwnames[] = { NULL @@ -14919,7 +15078,7 @@ static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPCXHandler *result; char *kwnames[] = { NULL @@ -14948,7 +15107,7 @@ static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJPEGHandler *result; char *kwnames[] = { NULL @@ -14977,7 +15136,7 @@ static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPNMHandler *result; char *kwnames[] = { NULL @@ -15006,7 +15165,7 @@ static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXPMHandler *result; char *kwnames[] = { NULL @@ -15035,7 +15194,7 @@ static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTIFFHandler *result; char *kwnames[] = { NULL @@ -15064,7 +15223,7 @@ static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = 0 ; wxImage *arg2 = 0 ; int arg3 = (int) 236 ; @@ -15097,19 +15256,19 @@ static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *k } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4); + result = (bool)wxQuantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -15131,7 +15290,7 @@ static PyObject * Quantize_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *result; char *kwnames[] = { NULL @@ -15153,7 +15312,7 @@ static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -15181,7 +15340,7 @@ static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -15209,7 +15368,7 @@ static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -15238,7 +15397,7 @@ static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -15267,7 +15426,7 @@ static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15295,7 +15454,7 @@ static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15308,7 +15467,7 @@ static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15326,7 +15485,7 @@ static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; bool result; @@ -15364,7 +15523,7 @@ static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -15399,7 +15558,7 @@ static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, Py static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15424,7 +15583,7 @@ static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; int arg2 ; int arg3 ; @@ -15443,15 +15602,15 @@ static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } arg5 = obj4; @@ -15470,7 +15629,7 @@ static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; int arg2 ; int arg3 = (int) -1 ; @@ -15488,18 +15647,18 @@ static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxEventType)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -15520,7 +15679,7 @@ static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool arg3 = (bool) true ; @@ -15537,7 +15696,7 @@ static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObje arg2 = obj1; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -15563,7 +15722,7 @@ static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType result; char *kwnames[] = { NULL @@ -15578,7 +15737,7 @@ static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15587,7 +15746,7 @@ static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15612,7 +15771,7 @@ static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEventType arg2 ; PyObject * obj0 = 0 ; @@ -15625,7 +15784,7 @@ static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15643,7 +15802,7 @@ static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEventType result; PyObject * obj0 = 0 ; @@ -15662,7 +15821,7 @@ static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15671,7 +15830,7 @@ static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxObject *result; PyObject * obj0 = 0 ; @@ -15699,7 +15858,7 @@ static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxObject *arg2 = (wxObject *) 0 ; PyObject * obj0 = 0 ; @@ -15728,7 +15887,7 @@ static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -15747,7 +15906,7 @@ static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -15756,7 +15915,7 @@ static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; long arg2 = (long) 0 ; PyObject * obj0 = 0 ; @@ -15770,7 +15929,7 @@ static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15789,7 +15948,7 @@ static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15808,7 +15967,7 @@ static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15817,7 +15976,7 @@ static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15830,7 +15989,7 @@ static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15848,7 +16007,7 @@ static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15876,7 +16035,7 @@ static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -15890,7 +16049,7 @@ static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15909,7 +16068,7 @@ static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15937,7 +16096,7 @@ static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15965,7 +16124,7 @@ static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15984,7 +16143,7 @@ static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15993,7 +16152,7 @@ static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16006,7 +16165,7 @@ static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16024,7 +16183,7 @@ static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -16057,7 +16216,7 @@ static PyObject * Event_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = 0 ; wxPropagationDisabler *result; PyObject * obj0 = 0 ; @@ -16089,7 +16248,7 @@ static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObj static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16121,7 +16280,7 @@ static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = 0 ; wxPropagateOnce *result; PyObject * obj0 = 0 ; @@ -16153,7 +16312,7 @@ static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16185,7 +16344,7 @@ static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxCommandEvent *result; @@ -16198,13 +16357,13 @@ static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16223,7 +16382,7 @@ static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16242,7 +16401,7 @@ static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16251,7 +16410,7 @@ static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16292,7 +16451,7 @@ static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -16324,7 +16483,7 @@ static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16352,7 +16511,7 @@ static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16380,7 +16539,7 @@ static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -16393,7 +16552,7 @@ static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16411,7 +16570,7 @@ static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -16430,7 +16589,7 @@ static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -16439,7 +16598,7 @@ static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16452,7 +16611,7 @@ static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16470,7 +16629,7 @@ static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -16489,7 +16648,7 @@ static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -16498,7 +16657,7 @@ static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -16531,7 +16690,7 @@ static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxNotifyEvent *result; @@ -16544,13 +16703,13 @@ static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16569,7 +16728,7 @@ static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16594,7 +16753,7 @@ static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16619,7 +16778,7 @@ static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16654,7 +16813,7 @@ static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -16671,25 +16830,25 @@ static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -16708,7 +16867,7 @@ static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16727,7 +16886,7 @@ static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16736,7 +16895,7 @@ static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16755,7 +16914,7 @@ static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16764,7 +16923,7 @@ static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16777,7 +16936,7 @@ static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16795,7 +16954,7 @@ static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16808,7 +16967,7 @@ static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16833,7 +16992,7 @@ static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -16848,19 +17007,19 @@ static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -16879,7 +17038,7 @@ static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16898,7 +17057,7 @@ static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16907,7 +17066,7 @@ static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16926,7 +17085,7 @@ static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16935,7 +17094,7 @@ static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16948,7 +17107,7 @@ static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16966,7 +17125,7 @@ static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16979,7 +17138,7 @@ static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17004,7 +17163,7 @@ static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; wxMouseEvent *result; PyObject * obj0 = 0 ; @@ -17015,7 +17174,7 @@ static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -17036,7 +17195,7 @@ static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17064,7 +17223,7 @@ static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -17079,7 +17238,7 @@ static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17100,7 +17259,7 @@ static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -17115,7 +17274,7 @@ static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17136,7 +17295,7 @@ static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -17151,7 +17310,7 @@ static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17172,7 +17331,7 @@ static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; bool result; @@ -17186,7 +17345,7 @@ static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17206,7 +17365,7 @@ static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; bool result; @@ -17220,7 +17379,7 @@ static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17240,7 +17399,7 @@ static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17259,7 +17418,7 @@ static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17268,7 +17427,7 @@ static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17296,7 +17455,7 @@ static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17324,7 +17483,7 @@ static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17352,7 +17511,7 @@ static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17380,7 +17539,7 @@ static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17408,7 +17567,7 @@ static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17436,7 +17595,7 @@ static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17464,7 +17623,7 @@ static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17492,7 +17651,7 @@ static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17520,7 +17679,7 @@ static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17548,7 +17707,7 @@ static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17576,7 +17735,7 @@ static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17604,7 +17763,7 @@ static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17632,7 +17791,7 @@ static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17660,7 +17819,7 @@ static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17688,7 +17847,7 @@ static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17716,7 +17875,7 @@ static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17744,7 +17903,7 @@ static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17772,7 +17931,7 @@ static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17800,7 +17959,7 @@ static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17828,7 +17987,7 @@ static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17856,7 +18015,7 @@ static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -17876,7 +18035,7 @@ static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObje } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -17886,7 +18045,7 @@ static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -17923,7 +18082,7 @@ static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; wxDC *arg2 = 0 ; wxPoint result; @@ -17953,7 +18112,7 @@ static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -17963,7 +18122,7 @@ static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17982,7 +18141,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17991,7 +18150,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18010,7 +18169,7 @@ static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18019,7 +18178,7 @@ static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18038,7 +18197,7 @@ static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18047,7 +18206,7 @@ static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18066,7 +18225,7 @@ static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18075,7 +18234,7 @@ static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18094,7 +18253,7 @@ static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18103,7 +18262,7 @@ static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18131,7 +18290,7 @@ static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18144,7 +18303,7 @@ static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -18157,7 +18316,7 @@ static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18171,7 +18330,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject * result = (int) ((arg1)->m_x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18180,7 +18339,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18193,7 +18352,7 @@ static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -18206,7 +18365,7 @@ static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18220,7 +18379,7 @@ static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject * result = (int) ((arg1)->m_y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18229,7 +18388,7 @@ static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18242,7 +18401,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_leftDown = arg2; @@ -18255,7 +18414,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18278,7 +18437,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18291,7 +18450,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_middleDown = arg2; @@ -18304,7 +18463,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18327,7 +18486,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18340,7 +18499,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rightDown = arg2; @@ -18353,7 +18512,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18376,7 +18535,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18389,7 +18548,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_controlDown = arg2; @@ -18402,7 +18561,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18425,7 +18584,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18438,7 +18597,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_shiftDown = arg2; @@ -18451,7 +18610,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18474,7 +18633,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18487,7 +18646,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_altDown = arg2; @@ -18500,7 +18659,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18523,7 +18682,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18536,7 +18695,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_metaDown = arg2; @@ -18549,7 +18708,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18572,7 +18731,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18585,7 +18744,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_wheelRotation = arg2; @@ -18598,7 +18757,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18612,7 +18771,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args result = (int) ((arg1)->m_wheelRotation); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18621,7 +18780,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18634,7 +18793,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_wheelDelta = arg2; @@ -18647,7 +18806,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18661,7 +18820,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, P result = (int) ((arg1)->m_wheelDelta); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18670,7 +18829,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18683,7 +18842,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_linesPerAction = arg2; @@ -18696,7 +18855,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *arg static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18710,7 +18869,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *arg result = (int) ((arg1)->m_linesPerAction); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18726,7 +18885,7 @@ static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxSetCursorEvent *result; @@ -18739,13 +18898,13 @@ static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -18764,7 +18923,7 @@ static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18783,7 +18942,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18792,7 +18951,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18811,7 +18970,7 @@ static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18820,7 +18979,7 @@ static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; wxCursor *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -18855,7 +19014,7 @@ static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; wxCursor *result; PyObject * obj0 = 0 ; @@ -18887,7 +19046,7 @@ static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18922,7 +19081,7 @@ static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; wxKeyEvent *result; PyObject * obj0 = 0 ; @@ -18933,7 +19092,7 @@ static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -18952,7 +19111,7 @@ static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18980,7 +19139,7 @@ static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19008,7 +19167,7 @@ static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19036,7 +19195,7 @@ static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19064,7 +19223,7 @@ static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19092,7 +19251,7 @@ static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19120,7 +19279,7 @@ static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19139,7 +19298,7 @@ static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19148,7 +19307,7 @@ static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19167,7 +19326,7 @@ static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19176,7 +19335,7 @@ static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19195,7 +19354,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19204,7 +19363,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19223,7 +19382,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19232,7 +19391,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -19252,7 +19411,7 @@ static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -19262,7 +19421,7 @@ static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -19299,7 +19458,7 @@ static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyO static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19318,7 +19477,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19327,7 +19486,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19346,7 +19505,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19355,7 +19514,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -19368,7 +19527,7 @@ static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -19381,7 +19540,7 @@ static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19395,7 +19554,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kw result = (int) ((arg1)->m_x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19404,7 +19563,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -19417,7 +19576,7 @@ static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -19430,7 +19589,7 @@ static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19444,7 +19603,7 @@ static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kw result = (int) ((arg1)->m_y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19453,7 +19612,7 @@ static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -19466,7 +19625,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_keyCode = arg2; @@ -19479,7 +19638,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -19493,7 +19652,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObje result = (long) ((arg1)->m_keyCode); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -19502,7 +19661,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19515,7 +19674,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_controlDown = arg2; @@ -19528,7 +19687,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19551,7 +19710,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19564,7 +19723,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_shiftDown = arg2; @@ -19577,7 +19736,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19600,7 +19759,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19613,7 +19772,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_altDown = arg2; @@ -19626,7 +19785,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19649,7 +19808,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19662,7 +19821,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_metaDown = arg2; @@ -19675,7 +19834,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19698,7 +19857,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19711,7 +19870,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_scanCode = arg2; @@ -19724,7 +19883,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19747,7 +19906,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -19760,7 +19919,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rawCode = arg2; @@ -19773,7 +19932,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19787,7 +19946,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObje result = (unsigned int) ((arg1)->m_rawCode); { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19796,7 +19955,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -19809,7 +19968,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rawFlags = arg2; @@ -19822,7 +19981,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19836,7 +19995,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObj result = (unsigned int) ((arg1)->m_rawFlags); { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19852,7 +20011,7 @@ static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize const &arg1_defvalue = wxDefaultSize ; wxSize *arg1 = (wxSize *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -19873,7 +20032,7 @@ static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwarg } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -19892,7 +20051,7 @@ static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19912,7 +20071,7 @@ static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19922,7 +20081,7 @@ static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -19942,7 +20101,7 @@ static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -19952,7 +20111,7 @@ static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect arg2 ; PyObject * obj0 = 0 ; @@ -19989,7 +20148,7 @@ static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize arg2 ; PyObject * obj0 = 0 ; @@ -20026,7 +20185,7 @@ static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize *arg2 = (wxSize *) 0 ; PyObject * obj0 = 0 ; @@ -20050,7 +20209,7 @@ static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -20071,7 +20230,7 @@ static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect *arg2 = (wxRect *) 0 ; PyObject * obj0 = 0 ; @@ -20095,7 +20254,7 @@ static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect *result; PyObject * obj0 = 0 ; @@ -20123,7 +20282,7 @@ static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint const &arg1_defvalue = wxDefaultPosition ; wxPoint *arg1 = (wxPoint *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -20144,7 +20303,7 @@ static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwarg } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20163,7 +20322,7 @@ static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -20183,7 +20342,7 @@ static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -20193,7 +20352,7 @@ static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -20213,7 +20372,7 @@ static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -20223,7 +20382,7 @@ static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -20255,7 +20414,7 @@ static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -20294,7 +20453,7 @@ static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxPaintEvent *result; PyObject * obj0 = 0 ; @@ -20305,7 +20464,7 @@ static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20331,7 +20490,7 @@ static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxNcPaintEvent *result; PyObject * obj0 = 0 ; @@ -20342,7 +20501,7 @@ static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20368,7 +20527,7 @@ static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxDC *arg2 = (wxDC *) NULL ; wxEraseEvent *result; @@ -20381,7 +20540,7 @@ static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20404,7 +20563,7 @@ static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEraseEvent *arg1 = (wxEraseEvent *) 0 ; wxDC *result; PyObject * obj0 = 0 ; @@ -20439,7 +20598,7 @@ static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxFocusEvent *result; @@ -20452,13 +20611,13 @@ static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20477,7 +20636,7 @@ static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFocusEvent *arg1 = (wxFocusEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -20505,7 +20664,7 @@ static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFocusEvent *arg1 = (wxFocusEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -20541,7 +20700,7 @@ static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxChildFocusEvent *result; PyObject * obj0 = 0 ; @@ -20569,7 +20728,7 @@ static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -20604,7 +20763,7 @@ static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; bool arg2 = (bool) true ; int arg3 = (int) 0 ; @@ -20619,19 +20778,19 @@ static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -20650,7 +20809,7 @@ static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxActivateEvent *arg1 = (wxActivateEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20685,7 +20844,7 @@ static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxInitDialogEvent *result; PyObject * obj0 = 0 ; @@ -20696,7 +20855,7 @@ static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20722,7 +20881,7 @@ static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxMenu *arg3 = (wxMenu *) NULL ; @@ -20737,13 +20896,13 @@ static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20766,7 +20925,7 @@ static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20785,7 +20944,7 @@ static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20794,7 +20953,7 @@ static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20822,7 +20981,7 @@ static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -20857,7 +21016,7 @@ static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxCloseEvent *result; @@ -20870,13 +21029,13 @@ static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20895,7 +21054,7 @@ static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20908,7 +21067,7 @@ static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20926,7 +21085,7 @@ static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20954,7 +21113,7 @@ static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -20968,7 +21127,7 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20987,7 +21146,7 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21015,7 +21174,7 @@ static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21028,7 +21187,7 @@ static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21046,7 +21205,7 @@ static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21081,7 +21240,7 @@ static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; bool arg2 = (bool) false ; wxShowEvent *result; @@ -21094,13 +21253,13 @@ static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21119,7 +21278,7 @@ static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShowEvent *arg1 = (wxShowEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21132,7 +21291,7 @@ static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21150,7 +21309,7 @@ static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShowEvent *arg1 = (wxShowEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21185,7 +21344,7 @@ static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; bool arg2 = (bool) true ; wxIconizeEvent *result; @@ -21198,13 +21357,13 @@ static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21223,7 +21382,7 @@ static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21258,7 +21417,7 @@ static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxMaximizeEvent *result; PyObject * obj0 = 0 ; @@ -21269,7 +21428,7 @@ static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21295,7 +21454,7 @@ static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -21315,7 +21474,7 @@ static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, Py } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -21325,7 +21484,7 @@ static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -21344,7 +21503,7 @@ static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -21353,7 +21512,7 @@ static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *arg static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -21386,7 +21545,7 @@ static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxUpdateUIEvent *result; PyObject * obj0 = 0 ; @@ -21397,7 +21556,7 @@ static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21416,7 +21575,7 @@ static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21444,7 +21603,7 @@ static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21472,7 +21631,7 @@ static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -21504,7 +21663,7 @@ static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21532,7 +21691,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21560,7 +21719,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, P static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21588,7 +21747,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, P static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21601,7 +21760,7 @@ static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21619,7 +21778,7 @@ static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21632,7 +21791,7 @@ static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21650,7 +21809,7 @@ static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -21691,7 +21850,7 @@ static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21700,7 +21859,7 @@ static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -21718,7 +21877,7 @@ static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *arg static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -21733,7 +21892,7 @@ static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -21742,7 +21901,7 @@ static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *arg static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21770,7 +21929,7 @@ static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObj static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -21791,7 +21950,7 @@ static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIMode arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21800,12 +21959,12 @@ static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail; { - arg1 = (wxUpdateUIMode)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1); + wxUpdateUIEvent::SetMode(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21818,7 +21977,7 @@ static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIMode result; char *kwnames[] = { NULL @@ -21847,7 +22006,7 @@ static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSysColourChangedEvent *result; char *kwnames[] = { NULL @@ -21876,7 +22035,7 @@ static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxMouseCaptureChangedEvent *result; @@ -21889,7 +22048,7 @@ static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21912,7 +22071,7 @@ static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21947,7 +22106,7 @@ static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *ar return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplayChangedEvent *result; char *kwnames[] = { NULL @@ -21976,7 +22135,7 @@ static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxPaletteChangedEvent *result; PyObject * obj0 = 0 ; @@ -21987,7 +22146,7 @@ static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -22006,7 +22165,7 @@ static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -22035,7 +22194,7 @@ static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -22070,7 +22229,7 @@ static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxQueryNewPaletteEvent *result; PyObject * obj0 = 0 ; @@ -22081,7 +22240,7 @@ static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -22100,7 +22259,7 @@ static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22113,7 +22272,7 @@ static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22131,7 +22290,7 @@ static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObj static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22166,7 +22325,7 @@ static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *result; char *kwnames[] = { NULL @@ -22188,7 +22347,7 @@ static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22216,7 +22375,7 @@ static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *arg static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22229,7 +22388,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22247,7 +22406,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *arg static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22275,7 +22434,7 @@ static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *a static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22288,7 +22447,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22306,7 +22465,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject * static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22334,7 +22493,7 @@ static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22347,7 +22506,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22365,7 +22524,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -22378,7 +22537,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22396,7 +22555,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, P static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -22424,7 +22583,7 @@ static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject * static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -22460,7 +22619,7 @@ static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowCreateEvent *result; PyObject * obj0 = 0 ; @@ -22488,7 +22647,7 @@ static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -22523,7 +22682,7 @@ static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowDestroyEvent *result; PyObject * obj0 = 0 ; @@ -22551,7 +22710,7 @@ static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -22586,7 +22745,7 @@ static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -22603,13 +22762,13 @@ static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22634,7 +22793,7 @@ static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -22663,7 +22822,7 @@ static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -22702,7 +22861,7 @@ static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *result; char *kwnames[] = { NULL @@ -22724,7 +22883,7 @@ static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -22738,7 +22897,7 @@ static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22757,7 +22916,7 @@ static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22785,7 +22944,7 @@ static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObj static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleMode arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22794,12 +22953,12 @@ static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail; { - arg1 = (wxIdleMode)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxIdleEvent::SetMode((wxIdleMode )arg1); + wxIdleEvent::SetMode(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -22812,7 +22971,7 @@ static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleMode result; char *kwnames[] = { NULL @@ -22834,7 +22993,7 @@ static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22869,7 +23028,7 @@ static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxEventType arg2 = (wxEventType) wxEVT_NULL ; wxPyEvent *result; @@ -22882,13 +23041,13 @@ static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22907,7 +23066,7 @@ static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22932,7 +23091,7 @@ static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -22960,7 +23119,7 @@ static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -22993,7 +23152,7 @@ static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPyCommandEvent *result; @@ -23006,13 +23165,13 @@ static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -23031,7 +23190,7 @@ static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23056,7 +23215,7 @@ static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -23084,7 +23243,7 @@ static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -23117,7 +23276,7 @@ static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDateTime *arg2 = 0 ; wxEventType arg3 ; @@ -23141,7 +23300,7 @@ static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (wxEventType)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -23159,7 +23318,7 @@ static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateEvent *arg1 = (wxDateEvent *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -23188,7 +23347,7 @@ static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateEvent *arg1 = (wxDateEvent *) 0 ; wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -23230,7 +23389,7 @@ static PyObject * DateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *result; char *kwnames[] = { NULL @@ -23252,7 +23411,7 @@ static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23277,7 +23436,7 @@ static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -23296,7 +23455,7 @@ static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObje arg2 = obj1; arg3 = obj2; { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -23314,7 +23473,7 @@ static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -23346,7 +23505,7 @@ static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -23387,7 +23546,7 @@ static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -23419,7 +23578,7 @@ static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -23460,7 +23619,7 @@ static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -23495,7 +23654,7 @@ static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -23536,7 +23695,7 @@ static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxAppTraits *result; PyObject * obj0 = 0 ; @@ -23562,7 +23721,7 @@ static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23587,7 +23746,7 @@ static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 = (bool) false ; bool result; @@ -23602,7 +23761,7 @@ static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -23623,7 +23782,7 @@ static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23648,7 +23807,7 @@ static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -23672,7 +23831,7 @@ static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23691,7 +23850,7 @@ static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23700,7 +23859,7 @@ static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23725,7 +23884,7 @@ static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23750,7 +23909,7 @@ static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23778,7 +23937,7 @@ static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23806,7 +23965,7 @@ static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23834,7 +23993,7 @@ static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxIdleEvent *arg3 = 0 ; @@ -23876,7 +24035,7 @@ static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23904,7 +24063,7 @@ static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -23933,7 +24092,7 @@ static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -23961,7 +24120,7 @@ static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23974,7 +24133,7 @@ static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23992,7 +24151,7 @@ static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24020,7 +24179,7 @@ static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -24033,7 +24192,7 @@ static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24051,7 +24210,7 @@ static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24079,7 +24238,7 @@ static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -24092,7 +24251,7 @@ static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24110,7 +24269,7 @@ static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24129,7 +24288,7 @@ static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24138,7 +24297,7 @@ static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -24151,7 +24310,7 @@ static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24169,7 +24328,7 @@ static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24188,7 +24347,7 @@ static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24197,7 +24356,7 @@ static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -24221,7 +24380,7 @@ static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject * static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -24236,7 +24395,7 @@ static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -24245,7 +24404,7 @@ static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, P static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -24260,7 +24419,7 @@ static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -24269,7 +24428,7 @@ static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *a static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -24284,7 +24443,7 @@ static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -24293,7 +24452,7 @@ static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -24321,7 +24480,7 @@ static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24330,7 +24489,7 @@ static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24348,7 +24507,7 @@ static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject * static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24357,7 +24516,7 @@ static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, P if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24375,7 +24534,7 @@ static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, P static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24384,7 +24543,7 @@ static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24402,7 +24561,7 @@ static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *a static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24411,7 +24570,7 @@ static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24429,7 +24588,7 @@ static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -24466,7 +24625,7 @@ static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24491,7 +24650,7 @@ static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -24500,13 +24659,13 @@ static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)PyApp_GetComCtl32Version(); + result = (int)wxPyApp_GetComCtl32Version(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24522,7 +24681,7 @@ static PyObject * PyApp_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -24543,7 +24702,7 @@ static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -24567,7 +24726,7 @@ static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -24591,7 +24750,7 @@ static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; bool arg2 = (bool) false ; bool result; @@ -24608,7 +24767,7 @@ static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -24629,7 +24788,7 @@ static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -24650,7 +24809,7 @@ static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -24685,7 +24844,7 @@ static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -24706,7 +24865,7 @@ static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *result; char *kwnames[] = { NULL @@ -24730,7 +24889,7 @@ static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *arg1 = (char *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24756,7 +24915,7 @@ static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *result; char *kwnames[] = { NULL @@ -24778,7 +24937,7 @@ static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *result; char *kwnames[] = { NULL @@ -24800,7 +24959,7 @@ static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24825,7 +24984,7 @@ static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24844,7 +25003,7 @@ static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24853,7 +25012,7 @@ static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; int arg2 = (int) 0 ; PyObject * obj0 = 0 ; @@ -24867,7 +25026,7 @@ static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -24886,7 +25045,7 @@ static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24914,7 +25073,7 @@ static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24942,7 +25101,7 @@ static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24970,7 +25129,7 @@ static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *result; char *kwnames[] = { NULL @@ -24992,7 +25151,7 @@ static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25023,8 +25182,66 @@ static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } +static PyObject *_wrap_new_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxEventLoop *arg1 = (wxEventLoop *) 0 ; + wxEventLoopActivator *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "evtLoop", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_EventLoopActivator",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxEventLoopActivator *)new wxEventLoopActivator(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoopActivator, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxEventLoopActivator *arg1 = (wxEventLoopActivator *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoopActivator",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoopActivator, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject * EventLoopActivator_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxEventLoopActivator, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -25039,19 +25256,19 @@ static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25070,7 +25287,7 @@ static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25095,7 +25312,7 @@ static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObj static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int arg2 ; int arg3 ; @@ -25112,15 +25329,15 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -25138,7 +25355,7 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25157,7 +25374,7 @@ static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25166,7 +25383,7 @@ static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyO static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25185,7 +25402,7 @@ static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25194,7 +25411,7 @@ static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, P static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25213,7 +25430,7 @@ static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25229,7 +25446,7 @@ static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; wxAcceleratorTable *result; @@ -25265,7 +25482,7 @@ static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25290,7 +25507,7 @@ static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObj static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25331,7 +25548,7 @@ static int _wrap_NullAcceleratorTable_set(PyObject *) { static PyObject *_wrap_NullAcceleratorTable_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0); return pyobj; @@ -25339,7 +25556,7 @@ static PyObject *_wrap_NullAcceleratorTable_get(void) { static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxAcceleratorEntry *result; bool temp1 = false ; @@ -25383,7 +25600,7 @@ static int _wrap_PanelNameStr_set(PyObject *) { static PyObject *_wrap_PanelNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -25397,7 +25614,7 @@ static PyObject *_wrap_PanelNameStr_get(void) { static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *result; char *kwnames[] = { NULL @@ -25419,7 +25636,7 @@ static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25444,7 +25661,7 @@ static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObj static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxFont *arg2 = (wxFont *) 0 ; PyObject * obj0 = 0 ; @@ -25468,7 +25685,7 @@ static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -25489,7 +25706,7 @@ static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *arg2 = (wxColour *) 0 ; PyObject * obj0 = 0 ; @@ -25513,7 +25730,7 @@ static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -25534,7 +25751,7 @@ static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *arg2 = (wxColour *) 0 ; PyObject * obj0 = 0 ; @@ -25558,7 +25775,7 @@ static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -25586,7 +25803,7 @@ static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -25615,7 +25832,7 @@ static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -25633,7 +25850,7 @@ static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -25668,7 +25885,7 @@ static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -25691,7 +25908,7 @@ static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -25724,7 +25941,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25742,7 +25959,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -25778,7 +25995,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) false ; bool result; @@ -25793,7 +26010,7 @@ static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -25814,7 +26031,7 @@ static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25842,7 +26059,7 @@ static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25870,7 +26087,7 @@ static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25898,7 +26115,7 @@ static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -25939,7 +26156,7 @@ static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -25971,7 +26188,7 @@ static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -26012,7 +26229,7 @@ static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -26044,7 +26261,7 @@ static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowVariant arg2 ; PyObject * obj0 = 0 ; @@ -26057,12 +26274,12 @@ static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxWindowVariant)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetWindowVariant((wxWindowVariant )arg2); + (arg1)->SetWindowVariant(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26075,7 +26292,7 @@ static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowVariant result; PyObject * obj0 = 0 ; @@ -26101,7 +26318,7 @@ static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -26114,7 +26331,7 @@ static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26132,7 +26349,7 @@ static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26151,7 +26368,7 @@ static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26160,7 +26377,7 @@ static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -26175,7 +26392,7 @@ static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26184,7 +26401,7 @@ static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -26194,7 +26411,7 @@ static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -26205,7 +26422,7 @@ static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26214,7 +26431,7 @@ static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -26224,7 +26441,7 @@ static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -26235,7 +26452,7 @@ static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26244,7 +26461,7 @@ static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -26276,7 +26493,7 @@ static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26297,24 +26514,24 @@ static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -26333,7 +26550,7 @@ static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; int arg3 = (int) wxSIZE_AUTO ; @@ -26354,7 +26571,7 @@ static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -26373,7 +26590,7 @@ static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26388,11 +26605,11 @@ static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -26410,7 +26627,7 @@ static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; int arg3 = (int) wxSIZE_USE_EXISTING ; @@ -26431,7 +26648,7 @@ static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -26450,7 +26667,7 @@ static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26467,16 +26684,16 @@ static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -26495,7 +26712,7 @@ static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize const &arg2_defvalue = wxDefaultSize ; wxSize *arg2 = (wxSize *) &arg2_defvalue ; @@ -26530,7 +26747,7 @@ static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26555,7 +26772,7 @@ static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26580,7 +26797,7 @@ static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -26612,7 +26829,7 @@ static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26627,11 +26844,11 @@ static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -26649,7 +26866,7 @@ static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -26681,7 +26898,7 @@ static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -26701,7 +26918,7 @@ static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject * } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -26711,7 +26928,7 @@ static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26748,7 +26965,7 @@ static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26768,7 +26985,7 @@ static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26778,7 +26995,7 @@ static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26815,7 +27032,7 @@ static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -26835,7 +27052,7 @@ static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwar } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -26845,7 +27062,7 @@ static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26865,7 +27082,7 @@ static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26875,7 +27092,7 @@ static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26912,7 +27129,7 @@ static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -26932,7 +27149,7 @@ static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, Py } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -26942,7 +27159,7 @@ static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -26962,7 +27179,7 @@ static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -26972,7 +27189,7 @@ static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26992,7 +27209,7 @@ static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject * } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27002,7 +27219,7 @@ static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -27039,7 +27256,7 @@ static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27064,7 +27281,7 @@ static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_CacheBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27096,7 +27313,7 @@ static PyObject *_wrap_Window_CacheBestSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27116,7 +27333,7 @@ static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27126,7 +27343,7 @@ static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27146,7 +27363,7 @@ static PyObject *_wrap_Window_GetAdjustedBestSize(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; @@ -27156,7 +27373,7 @@ static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -27170,7 +27387,7 @@ static PyObject *_wrap_Window_Center(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; } } @@ -27189,7 +27406,7 @@ static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -27203,7 +27420,7 @@ static PyObject *_wrap_Window_CenterOnScreen(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; } } @@ -27222,7 +27439,7 @@ static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -27236,7 +27453,7 @@ static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -27255,7 +27472,7 @@ static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27280,7 +27497,7 @@ static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27305,7 +27522,7 @@ static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -27328,34 +27545,34 @@ static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -27374,7 +27591,7 @@ static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize const &arg3_defvalue = wxDefaultSize ; @@ -27426,7 +27643,7 @@ static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -27445,22 +27662,22 @@ static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -27479,7 +27696,7 @@ static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize const &arg3_defvalue = wxDefaultSize ; @@ -27521,7 +27738,7 @@ static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27541,7 +27758,7 @@ static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27551,7 +27768,7 @@ static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27571,7 +27788,7 @@ static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27581,7 +27798,7 @@ static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27613,7 +27830,7 @@ static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27645,7 +27862,7 @@ static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27664,7 +27881,7 @@ static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27673,7 +27890,7 @@ static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27692,7 +27909,7 @@ static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27701,7 +27918,7 @@ static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27720,7 +27937,7 @@ static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27729,7 +27946,7 @@ static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27748,7 +27965,7 @@ static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27757,7 +27974,7 @@ static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27789,7 +28006,7 @@ static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -27804,11 +28021,11 @@ static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -27826,7 +28043,7 @@ static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27846,7 +28063,7 @@ static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObjec } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27856,7 +28073,7 @@ static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -27893,7 +28110,7 @@ static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27913,7 +28130,7 @@ static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27923,7 +28140,7 @@ static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; bool result; @@ -27938,7 +28155,7 @@ static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -27959,7 +28176,7 @@ static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27987,7 +28204,7 @@ static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; bool result; @@ -28002,7 +28219,7 @@ static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28023,7 +28240,7 @@ static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28051,7 +28268,7 @@ static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28079,7 +28296,7 @@ static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28107,7 +28324,7 @@ static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -28120,7 +28337,7 @@ static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28138,7 +28355,7 @@ static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -28157,7 +28374,7 @@ static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -28166,7 +28383,7 @@ static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -28180,7 +28397,7 @@ static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28200,7 +28417,7 @@ static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28228,7 +28445,7 @@ static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -28241,7 +28458,7 @@ static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28259,7 +28476,7 @@ static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -28278,7 +28495,7 @@ static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -28287,7 +28504,7 @@ static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -28301,7 +28518,7 @@ static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28320,7 +28537,7 @@ static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -28333,7 +28550,7 @@ static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28351,7 +28568,7 @@ static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28379,7 +28596,7 @@ static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -28404,7 +28621,7 @@ static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -28429,7 +28646,7 @@ static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -28454,7 +28671,7 @@ static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28482,7 +28699,7 @@ static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28510,7 +28727,7 @@ static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *arg static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28538,7 +28755,7 @@ static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxWindow *result; @@ -28570,7 +28787,7 @@ static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28599,7 +28816,7 @@ static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxNavigationKeyEvent::IsForward ; bool result; @@ -28614,7 +28831,7 @@ static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28635,7 +28852,7 @@ static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28664,7 +28881,7 @@ static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28693,7 +28910,7 @@ static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, P static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -28719,7 +28936,7 @@ static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28747,7 +28964,7 @@ static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28775,7 +28992,7 @@ static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28803,7 +29020,7 @@ static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -28835,7 +29052,7 @@ static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28864,7 +29081,7 @@ static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28893,7 +29110,7 @@ static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; wxWindow *result; @@ -28907,7 +29124,7 @@ static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28927,7 +29144,7 @@ static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxWindow *result; @@ -28971,7 +29188,7 @@ static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -28999,7 +29216,7 @@ static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -29028,7 +29245,7 @@ static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -29057,7 +29274,7 @@ static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) false ; wxEvtHandler *result; @@ -29072,7 +29289,7 @@ static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -29093,7 +29310,7 @@ static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; bool result; @@ -29125,7 +29342,7 @@ static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxValidator *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -29160,7 +29377,7 @@ static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxValidator *result; PyObject * obj0 = 0 ; @@ -29188,7 +29405,7 @@ static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29216,7 +29433,7 @@ static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29244,7 +29461,7 @@ static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, P static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29272,7 +29489,7 @@ static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29297,7 +29514,7 @@ static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxAcceleratorTable *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -29332,7 +29549,7 @@ static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxAcceleratorTable *result; PyObject * obj0 = 0 ; @@ -29358,7 +29575,7 @@ static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -29376,15 +29593,15 @@ static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -29404,7 +29621,7 @@ static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -29418,7 +29635,7 @@ static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -29438,7 +29655,7 @@ static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -29465,7 +29682,7 @@ static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *a } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -29475,7 +29692,7 @@ static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *a static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -29502,7 +29719,7 @@ static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *ar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -29512,7 +29729,7 @@ static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *ar static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -29539,7 +29756,7 @@ static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -29549,7 +29766,7 @@ static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -29576,7 +29793,7 @@ static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -29586,7 +29803,7 @@ static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -29613,7 +29830,7 @@ static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *ar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -29623,7 +29840,7 @@ static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *ar static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -29650,7 +29867,7 @@ static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *arg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -29660,7 +29877,7 @@ static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *arg static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -29675,11 +29892,11 @@ static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -29697,7 +29914,7 @@ static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29722,7 +29939,7 @@ static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29747,7 +29964,7 @@ static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -29772,7 +29989,7 @@ static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29800,7 +30017,7 @@ static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; wxRect *arg3 = (wxRect *) NULL ; @@ -29816,7 +30033,7 @@ static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -29839,7 +30056,7 @@ static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; bool arg3 = (bool) true ; @@ -29860,7 +30077,7 @@ static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject * } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -29879,7 +30096,7 @@ static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29904,7 +30121,7 @@ static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29929,7 +30146,7 @@ static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29954,7 +30171,7 @@ static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29979,7 +30196,7 @@ static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDC *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30014,7 +30231,7 @@ static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRegion *result; PyObject * obj0 = 0 ; @@ -30043,7 +30260,7 @@ static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -30063,7 +30280,7 @@ static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, Py } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -30073,7 +30290,7 @@ static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -30093,22 +30310,22 @@ static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -30129,7 +30346,7 @@ static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -30164,7 +30381,7 @@ static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -30199,7 +30416,7 @@ static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -30219,7 +30436,7 @@ static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, P } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -30229,7 +30446,7 @@ static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, P static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -30240,21 +30457,21 @@ static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxWindow::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -30264,7 +30481,7 @@ static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *ar static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -30299,7 +30516,7 @@ static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -30331,7 +30548,7 @@ static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -30366,7 +30583,7 @@ static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -30398,7 +30615,7 @@ static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -30418,7 +30635,7 @@ static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, Py } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -30428,7 +30645,7 @@ static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -30448,7 +30665,7 @@ static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, Py } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -30458,7 +30675,7 @@ static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30486,7 +30703,7 @@ static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *arg static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30514,7 +30731,7 @@ static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBackgroundStyle arg2 ; bool result; @@ -30528,12 +30745,12 @@ static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxBackgroundStyle)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2); + result = (bool)(arg1)->SetBackgroundStyle(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -30548,7 +30765,7 @@ static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBackgroundStyle result; PyObject * obj0 = 0 ; @@ -30574,7 +30791,7 @@ static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30602,7 +30819,7 @@ static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *arg static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor *arg2 = 0 ; bool result; @@ -30640,7 +30857,7 @@ static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor result; PyObject * obj0 = 0 ; @@ -30660,7 +30877,7 @@ static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kw } { wxCursor * resultptr; - resultptr = new wxCursor((wxCursor &)(result)); + resultptr = new wxCursor(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); } return resultobj; @@ -30670,7 +30887,7 @@ static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont *arg2 = 0 ; bool result; @@ -30708,7 +30925,7 @@ static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30743,7 +30960,7 @@ static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -30763,7 +30980,7 @@ static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwar } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -30773,7 +30990,7 @@ static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCaret *arg2 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; @@ -30802,7 +31019,7 @@ static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCaret *result; PyObject * obj0 = 0 ; @@ -30828,7 +31045,7 @@ static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30847,7 +31064,7 @@ static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30856,7 +31073,7 @@ static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30875,7 +31092,7 @@ static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30884,7 +31101,7 @@ static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -30937,7 +31154,7 @@ static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -31008,7 +31225,7 @@ static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -31061,7 +31278,7 @@ static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -31114,7 +31331,7 @@ static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -31141,7 +31358,7 @@ static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -31151,7 +31368,7 @@ static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -31178,7 +31395,7 @@ static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -31188,7 +31405,7 @@ static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31204,11 +31421,11 @@ static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -31226,7 +31443,7 @@ static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxHitTest result; @@ -31259,7 +31476,7 @@ static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; wxBorder result; @@ -31270,7 +31487,7 @@ static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31288,7 +31505,7 @@ static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBorder result; PyObject * obj0 = 0 ; @@ -31359,7 +31576,7 @@ static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) { static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 = (long) wxUPDATE_UI_NONE ; PyObject * obj0 = 0 ; @@ -31373,7 +31590,7 @@ static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -31392,7 +31609,7 @@ static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; int arg3 = (int) -1 ; @@ -31413,13 +31630,13 @@ static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -31440,7 +31657,7 @@ static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -31482,7 +31699,7 @@ static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -31501,7 +31718,7 @@ static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -31510,7 +31727,7 @@ static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -31523,7 +31740,7 @@ static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31541,7 +31758,7 @@ static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31566,7 +31783,7 @@ static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31580,7 +31797,7 @@ static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31600,7 +31817,7 @@ static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31621,24 +31838,24 @@ static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -31657,7 +31874,7 @@ static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31674,16 +31891,16 @@ static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -31702,7 +31919,7 @@ static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31716,7 +31933,7 @@ static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31727,7 +31944,7 @@ static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31736,7 +31953,7 @@ static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31750,7 +31967,7 @@ static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31761,7 +31978,7 @@ static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31770,7 +31987,7 @@ static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31784,7 +32001,7 @@ static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31795,7 +32012,7 @@ static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31804,7 +32021,7 @@ static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31821,11 +32038,11 @@ static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -31847,7 +32064,7 @@ static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31861,7 +32078,7 @@ static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31881,7 +32098,7 @@ static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31895,7 +32112,7 @@ static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31915,7 +32132,7 @@ static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31943,7 +32160,7 @@ static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31971,7 +32188,7 @@ static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31999,7 +32216,7 @@ static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32027,7 +32244,7 @@ static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -32068,7 +32285,7 @@ static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -32109,7 +32326,7 @@ static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -32141,7 +32358,7 @@ static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -32182,7 +32399,7 @@ static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxToolTip *arg2 = (wxToolTip *) 0 ; PyObject * obj0 = 0 ; @@ -32211,7 +32428,7 @@ static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxToolTip *result; PyObject * obj0 = 0 ; @@ -32239,7 +32456,7 @@ static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; @@ -32268,7 +32485,7 @@ static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPyDropTarget *result; PyObject * obj0 = 0 ; @@ -32294,7 +32511,7 @@ static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -32307,7 +32524,7 @@ static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32325,7 +32542,7 @@ static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ; PyObject * obj0 = 0 ; @@ -32354,7 +32571,7 @@ static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxLayoutConstraints *result; PyObject * obj0 = 0 ; @@ -32380,7 +32597,7 @@ static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -32393,7 +32610,7 @@ static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32411,7 +32628,7 @@ static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32439,7 +32656,7 @@ static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32467,7 +32684,7 @@ static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; bool arg3 = (bool) true ; @@ -32485,7 +32702,7 @@ static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -32504,7 +32721,7 @@ static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; bool arg3 = (bool) true ; @@ -32522,7 +32739,7 @@ static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObjec 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; } } @@ -32541,7 +32758,7 @@ static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -32569,7 +32786,7 @@ static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; @@ -32598,7 +32815,7 @@ static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -32626,7 +32843,7 @@ static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -32651,7 +32868,7 @@ static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32686,7 +32903,7 @@ static PyObject * Window_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32698,7 +32915,7 @@ static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { @@ -32723,7 +32940,7 @@ static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32770,7 +32987,7 @@ static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32817,7 +33034,7 @@ static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; unsigned long arg2 ; wxWindow *result; @@ -32831,7 +33048,7 @@ static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32851,7 +33068,7 @@ static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *result; char *kwnames[] = { NULL @@ -32873,7 +33090,7 @@ static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *result; char *kwnames[] = { NULL @@ -32895,7 +33112,7 @@ static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxValidator *result; PyObject * obj0 = 0 ; @@ -32923,7 +33140,7 @@ static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -32955,7 +33172,7 @@ static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32983,7 +33200,7 @@ static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, Py static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -33011,7 +33228,7 @@ static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -33039,7 +33256,7 @@ static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -33068,7 +33285,7 @@ static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -33092,7 +33309,7 @@ static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) true ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33102,7 +33319,7 @@ static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -33128,7 +33345,7 @@ static PyObject * Validator_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyValidator *result; char *kwnames[] = { NULL @@ -33150,7 +33367,7 @@ static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyValidator *arg1 = (wxPyValidator *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -33170,7 +33387,7 @@ static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -33202,7 +33419,7 @@ static int _wrap_DefaultValidator_set(PyObject *) { static PyObject *_wrap_DefaultValidator_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0); return pyobj; @@ -33210,7 +33427,7 @@ static PyObject *_wrap_DefaultValidator_get(void) { static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; long arg2 = (long) 0 ; @@ -33232,7 +33449,7 @@ static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -33260,7 +33477,7 @@ static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33283,7 +33500,7 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33300,13 +33517,13 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5); + result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33337,7 +33554,7 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *result; PyObject * obj0 = 0 ; @@ -33365,7 +33582,7 @@ static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33386,7 +33603,7 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33434,7 +33651,7 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33455,7 +33672,7 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33503,7 +33720,7 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33526,7 +33743,7 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33576,7 +33793,7 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -33608,7 +33825,7 @@ static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33633,7 +33850,7 @@ static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *arg3 = (wxMenuItem *) 0 ; @@ -33649,7 +33866,7 @@ static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); @@ -33671,7 +33888,7 @@ static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33696,11 +33913,11 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33717,13 +33934,13 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) } if (obj5) { { - arg6 = (wxItemKind)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6); + result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -33754,7 +33971,7 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *result; @@ -33768,7 +33985,7 @@ static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33788,7 +34005,7 @@ static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33811,11 +34028,11 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33863,7 +34080,7 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33886,11 +34103,11 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33938,7 +34155,7 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33963,11 +34180,11 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34017,7 +34234,7 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -34049,7 +34266,7 @@ static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34072,7 +34289,7 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34089,13 +34306,13 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5); + result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -34126,7 +34343,7 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *result; PyObject * obj0 = 0 ; @@ -34154,7 +34371,7 @@ static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34175,7 +34392,7 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34223,7 +34440,7 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34244,7 +34461,7 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34292,7 +34509,7 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34315,7 +34532,7 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34365,7 +34582,7 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxMenuItem *result; @@ -34379,7 +34596,7 @@ static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34399,7 +34616,7 @@ static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -34431,7 +34648,7 @@ static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34445,7 +34662,7 @@ static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34465,7 +34682,7 @@ static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; bool result; @@ -34497,7 +34714,7 @@ static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -34522,7 +34739,7 @@ static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34536,7 +34753,7 @@ static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34556,7 +34773,7 @@ static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; bool result; @@ -34588,7 +34805,7 @@ static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -34607,7 +34824,7 @@ static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -34616,7 +34833,7 @@ static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -34642,7 +34859,7 @@ static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; int result; @@ -34669,7 +34886,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -34686,7 +34903,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxMenuItem *result; @@ -34700,7 +34917,7 @@ static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34720,7 +34937,7 @@ static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *result; @@ -34734,7 +34951,7 @@ static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34754,7 +34971,7 @@ static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool arg3 ; @@ -34769,11 +34986,11 @@ static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34791,7 +35008,7 @@ static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34805,7 +35022,7 @@ static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34825,7 +35042,7 @@ static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool arg3 ; @@ -34840,11 +35057,11 @@ static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34862,7 +35079,7 @@ static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34876,7 +35093,7 @@ static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34896,7 +35113,7 @@ static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34912,7 +35129,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34943,7 +35160,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString result; @@ -34957,7 +35174,7 @@ static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34981,7 +35198,7 @@ static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34997,7 +35214,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35028,7 +35245,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString result; @@ -35042,7 +35259,7 @@ static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35066,7 +35283,7 @@ static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -35107,7 +35324,7 @@ static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -35139,7 +35356,7 @@ static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -35168,7 +35385,7 @@ static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -35196,7 +35413,7 @@ static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -35225,7 +35442,7 @@ static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -35253,7 +35470,7 @@ static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; long result; PyObject * obj0 = 0 ; @@ -35272,7 +35489,7 @@ static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -35281,7 +35498,7 @@ static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) NULL ; PyObject * obj0 = 0 ; @@ -35312,7 +35529,7 @@ static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -35340,7 +35557,7 @@ static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ; PyObject * obj0 = 0 ; @@ -35369,7 +35586,7 @@ static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -35394,7 +35611,7 @@ static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -35422,7 +35639,7 @@ static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -35451,7 +35668,7 @@ static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -35486,7 +35703,7 @@ static PyObject * Menu_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 = (long) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -35497,7 +35714,7 @@ static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -35517,7 +35734,7 @@ static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; wxString *arg3 = 0 ; @@ -35565,7 +35782,7 @@ static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *arg3 = (wxMenu *) 0 ; @@ -35584,7 +35801,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -35619,7 +35836,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -35638,7 +35855,7 @@ static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -35647,7 +35864,7 @@ static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *result; @@ -35661,7 +35878,7 @@ static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35681,7 +35898,7 @@ static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *arg3 = (wxMenu *) 0 ; @@ -35700,7 +35917,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -35735,7 +35952,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *result; @@ -35749,7 +35966,7 @@ static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35769,7 +35986,7 @@ static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; bool arg3 ; @@ -35784,11 +36001,11 @@ static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -35806,7 +36023,7 @@ static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; bool result; @@ -35820,7 +36037,7 @@ static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35840,7 +36057,7 @@ static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -35856,7 +36073,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35887,7 +36104,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString result; @@ -35901,7 +36118,7 @@ static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35925,7 +36142,7 @@ static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -35960,7 +36177,7 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -35985,7 +36202,7 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxMenuItem *result; @@ -35999,7 +36216,7 @@ static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36019,7 +36236,7 @@ static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; int result; @@ -36046,7 +36263,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -36063,7 +36280,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool arg3 ; @@ -36078,11 +36295,11 @@ static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -36100,7 +36317,7 @@ static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool arg3 ; @@ -36115,11 +36332,11 @@ static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -36137,7 +36354,7 @@ static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool result; @@ -36151,7 +36368,7 @@ static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36171,7 +36388,7 @@ static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool result; @@ -36185,7 +36402,7 @@ static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36205,7 +36422,7 @@ static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -36221,7 +36438,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36252,7 +36469,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString result; @@ -36266,7 +36483,7 @@ static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36290,7 +36507,7 @@ static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -36306,7 +36523,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36337,7 +36554,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString result; @@ -36351,7 +36568,7 @@ static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36375,7 +36592,7 @@ static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -36403,7 +36620,7 @@ static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36431,7 +36648,7 @@ static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; PyObject * obj0 = 0 ; @@ -36460,7 +36677,7 @@ static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -36485,7 +36702,7 @@ static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -36494,7 +36711,7 @@ static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -36512,7 +36729,7 @@ static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyO static PyObject *_wrap_MenuBar_GetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -36543,7 +36760,7 @@ static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) NULL ; int arg2 = (int) wxID_ANY ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -36572,7 +36789,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -36592,7 +36809,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -36602,7 +36819,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6); + result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -36633,7 +36850,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -36661,7 +36878,7 @@ static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -36690,7 +36907,7 @@ static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -36703,7 +36920,7 @@ static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36721,7 +36938,7 @@ static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -36740,7 +36957,7 @@ static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -36749,7 +36966,7 @@ static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36777,7 +36994,7 @@ static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -36818,7 +37035,7 @@ static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -36850,7 +37067,7 @@ static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -36885,7 +37102,7 @@ static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -36929,7 +37146,7 @@ static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyO static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxItemKind result; PyObject * obj0 = 0 ; @@ -36955,7 +37172,7 @@ static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxItemKind arg2 ; PyObject * obj0 = 0 ; @@ -36968,12 +37185,12 @@ static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxItemKind)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetKind((wxItemKind )arg2); + (arg1)->SetKind(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -36986,7 +37203,7 @@ static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -36999,7 +37216,7 @@ static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -37017,7 +37234,7 @@ static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37045,7 +37262,7 @@ static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37073,7 +37290,7 @@ static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -37102,7 +37319,7 @@ static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -37130,7 +37347,7 @@ static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -37144,7 +37361,7 @@ static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -37163,7 +37380,7 @@ static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37191,7 +37408,7 @@ static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -37205,7 +37422,7 @@ static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -37224,7 +37441,7 @@ static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37252,7 +37469,7 @@ static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -37277,7 +37494,7 @@ static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -37318,7 +37535,7 @@ static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -37353,7 +37570,7 @@ static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxAcceleratorEntry *result; PyObject * obj0 = 0 ; @@ -37379,7 +37596,7 @@ static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; PyObject * obj0 = 0 ; @@ -37407,8 +37624,75 @@ static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *k } +static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMenuItem *arg1 = (wxMenuItem *) 0 ; + wxBitmap *arg2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "bitmap", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxBitmap"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetBitmap((wxBitmap const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMenuItem *arg1 = (wxMenuItem *) 0 ; + wxBitmap *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxBitmap const &_result_ref = (arg1)->GetBitmap(); + result = (wxBitmap *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxBitmap* resultptr = new wxBitmap(*result); + resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); + } + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -37443,7 +37727,7 @@ static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -37463,7 +37747,7 @@ static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kw } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -37473,7 +37757,7 @@ static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -37505,7 +37789,7 @@ static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -37525,7 +37809,7 @@ static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -37535,7 +37819,7 @@ static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -37567,7 +37851,7 @@ static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -37587,7 +37871,7 @@ static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -37597,7 +37881,7 @@ static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -37645,7 +37929,7 @@ static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -37680,7 +37964,7 @@ static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -37712,7 +37996,7 @@ static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -37725,7 +38009,7 @@ static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -37743,7 +38027,7 @@ static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -37762,7 +38046,7 @@ static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -37771,7 +38055,7 @@ static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -37780,13 +38064,13 @@ static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)MenuItem_GetDefaultMarginWidth(); + result = (int)wxMenuItem_GetDefaultMarginWidth(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -37795,7 +38079,7 @@ static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37823,7 +38107,7 @@ static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -37837,7 +38121,7 @@ static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -37856,7 +38140,7 @@ static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -37880,73 +38164,6 @@ static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxMenuItem *arg1 = (wxMenuItem *) 0 ; - wxBitmap *arg2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "bitmap", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(2)) SWIG_fail; - if (arg2 == NULL) { - SWIG_null_ref("wxBitmap"); - } - if (SWIG_arg_fail(2)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetBitmap((wxBitmap const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxMenuItem *arg1 = (wxMenuItem *) 0 ; - wxBitmap *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - { - wxBitmap const &_result_ref = (arg1)->GetBitmap(); - result = (wxBitmap *) &_result_ref; - } - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxBitmap* resultptr = new wxBitmap(*result); - resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); - } - return resultobj; - fail: - return NULL; -} - - static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -37961,7 +38178,7 @@ static int _wrap_ControlNameStr_set(PyObject *) { static PyObject *_wrap_ControlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -37975,7 +38192,7 @@ static PyObject *_wrap_ControlNameStr_get(void) { static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -38007,7 +38224,7 @@ static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -38025,7 +38242,7 @@ static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -38070,7 +38287,7 @@ static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *result; char *kwnames[] = { NULL @@ -38093,7 +38310,7 @@ static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -38129,7 +38346,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -38147,7 +38364,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -38193,7 +38410,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxCommandEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -38228,7 +38445,7 @@ static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -38260,7 +38477,7 @@ static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -38301,7 +38518,7 @@ static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -38312,21 +38529,21 @@ static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxControl::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -38343,7 +38560,7 @@ static PyObject * Control_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; PyObject *arg3 = (PyObject *) NULL ; @@ -38375,7 +38592,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -38392,7 +38609,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxArrayString *arg2 = 0 ; bool temp2 = false ; @@ -38443,7 +38660,7 @@ static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyO static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -38467,7 +38684,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -38481,7 +38698,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -38498,7 +38715,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -38523,7 +38740,7 @@ static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38536,7 +38753,7 @@ static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38554,7 +38771,7 @@ static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject *result; @@ -38568,7 +38785,7 @@ static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38586,7 +38803,7 @@ static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, P static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -38601,7 +38818,7 @@ static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } arg3 = obj2; @@ -38620,7 +38837,7 @@ static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, P static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -38639,7 +38856,7 @@ static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -38648,7 +38865,7 @@ static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -38676,7 +38893,7 @@ static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString result; @@ -38690,7 +38907,7 @@ static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38714,7 +38931,7 @@ static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxArrayString result; PyObject * obj0 = 0 ; @@ -38742,7 +38959,7 @@ static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -38758,7 +38975,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38789,7 +39006,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int result; @@ -38816,7 +39033,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -38833,7 +39050,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38846,7 +39063,7 @@ static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38864,7 +39081,7 @@ static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -38883,7 +39100,7 @@ static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -38892,7 +39109,7 @@ static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; bool result; @@ -38936,7 +39153,7 @@ static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *ar static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -38968,7 +39185,7 @@ static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *ar static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38981,7 +39198,7 @@ static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39013,7 +39230,7 @@ static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *result; char *kwnames[] = { NULL @@ -39035,7 +39252,7 @@ static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -39055,15 +39272,15 @@ static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { @@ -39084,7 +39301,7 @@ static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 ; @@ -39104,23 +39321,23 @@ static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -39141,7 +39358,7 @@ static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; int arg3 ; @@ -39161,15 +39378,15 @@ static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { @@ -39190,7 +39407,7 @@ static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -39215,7 +39432,7 @@ static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -39240,7 +39457,7 @@ static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39260,7 +39477,7 @@ static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -39270,7 +39487,7 @@ static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39290,7 +39507,7 @@ static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -39300,7 +39517,7 @@ static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxPoint arg2 ; wxSize arg3 ; @@ -39349,7 +39566,7 @@ static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39369,7 +39586,7 @@ static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -39379,7 +39596,7 @@ static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39399,7 +39616,7 @@ static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -39409,7 +39626,7 @@ static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; int arg3 ; @@ -39424,11 +39641,11 @@ static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -39446,7 +39663,7 @@ static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; int arg3 ; @@ -39461,11 +39678,11 @@ static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -39483,7 +39700,7 @@ static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -39515,7 +39732,7 @@ static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; float arg2 ; PyObject * obj0 = 0 ; @@ -39528,7 +39745,7 @@ static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (float)(SWIG_As_float(obj1)); + arg2 = static_cast(SWIG_As_float(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39546,7 +39763,7 @@ static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; float result; PyObject * obj0 = 0 ; @@ -39565,7 +39782,7 @@ static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_float((float)(result)); + resultobj = SWIG_From_float(static_cast(result)); } return resultobj; fail: @@ -39574,7 +39791,7 @@ static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -39594,7 +39811,7 @@ static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -39604,7 +39821,7 @@ static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39632,7 +39849,7 @@ static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39660,7 +39877,7 @@ static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39688,7 +39905,7 @@ static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39701,7 +39918,7 @@ static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39719,7 +39936,7 @@ static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39738,7 +39955,7 @@ static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39747,7 +39964,7 @@ static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39760,7 +39977,7 @@ static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39778,7 +39995,7 @@ static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39797,7 +40014,7 @@ static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39806,7 +40023,7 @@ static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39819,7 +40036,7 @@ static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39837,7 +40054,7 @@ static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39856,7 +40073,7 @@ static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39865,7 +40082,7 @@ static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -39893,7 +40110,7 @@ static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -39922,7 +40139,7 @@ static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -39950,7 +40167,7 @@ static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; @@ -39979,7 +40196,7 @@ static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -40008,7 +40225,7 @@ static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -40040,7 +40257,7 @@ static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -40053,7 +40270,7 @@ static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -40071,7 +40288,7 @@ static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -40099,7 +40316,7 @@ static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -40119,7 +40336,7 @@ static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -40129,7 +40346,7 @@ static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -40154,6 +40371,34 @@ static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObjec } +static PyObject *_wrap_SizerItem_SetUserData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxSizerItem *arg1 = (wxSizerItem *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "userData", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetUserData",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + arg2 = obj1; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxSizerItem_SetUserData(arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -40162,7 +40407,7 @@ static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -40190,7 +40435,7 @@ static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; int arg3 = (int) 0 ; @@ -40214,19 +40459,19 @@ static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { arg2 = obj1; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -40248,7 +40493,7 @@ static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -40272,25 +40517,25 @@ static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -40312,7 +40557,7 @@ static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; int arg3 = (int) 0 ; @@ -40336,19 +40581,19 @@ static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwarg arg2 = obj1; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -40370,7 +40615,7 @@ static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -40401,7 +40646,7 @@ static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -40432,7 +40677,7 @@ static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxSizerItem *result; @@ -40461,7 +40706,7 @@ static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxSize *arg3 = 0 ; @@ -40496,7 +40741,7 @@ static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSizerItem *arg2 = (wxSizerItem *) 0 ; wxSizerItem *result; @@ -40526,7 +40771,7 @@ static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; size_t arg2 ; wxSizerItem *arg3 = (wxSizerItem *) 0 ; @@ -40542,7 +40787,7 @@ static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); @@ -40562,7 +40807,7 @@ static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSizerItem *arg2 = (wxSizerItem *) 0 ; wxSizerItem *result; @@ -40592,7 +40837,7 @@ static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; int arg3 ; @@ -40611,19 +40856,19 @@ static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -40641,7 +40886,7 @@ static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -40673,7 +40918,7 @@ static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40693,7 +40938,7 @@ static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40703,7 +40948,7 @@ static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -40723,7 +40968,7 @@ static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *k } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -40733,7 +40978,7 @@ static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40753,7 +40998,7 @@ static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kw } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40763,7 +41008,7 @@ static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -40788,7 +41033,7 @@ static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40808,7 +41053,7 @@ static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40818,7 +41063,7 @@ static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -40843,7 +41088,7 @@ static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxSize result; @@ -40867,7 +41112,7 @@ static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40877,7 +41122,7 @@ static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40906,7 +41151,7 @@ static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40935,7 +41180,7 @@ static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40964,7 +41209,7 @@ static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyO static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; bool arg2 = (bool) false ; PyObject * obj0 = 0 ; @@ -40978,7 +41223,7 @@ static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -40997,7 +41242,7 @@ static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -41022,7 +41267,7 @@ static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -41048,7 +41293,7 @@ static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool arg3 = (bool) true ; @@ -41068,13 +41313,13 @@ static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) arg2 = obj1; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -41095,7 +41340,7 @@ static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -41126,7 +41371,7 @@ static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -41139,7 +41384,7 @@ static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41164,7 +41409,7 @@ static PyObject * Sizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPySizer *result; char *kwnames[] = { NULL @@ -41186,7 +41431,7 @@ static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPySizer *arg1 = (wxPySizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -41224,7 +41469,7 @@ static PyObject * PySizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxHORIZONTAL ; wxBoxSizer *result; PyObject * obj0 = 0 ; @@ -41235,7 +41480,7 @@ static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -41254,7 +41499,7 @@ static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBoxSizer *arg1 = (wxBoxSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41273,7 +41518,7 @@ static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41282,7 +41527,7 @@ static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBoxSizer *arg1 = (wxBoxSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41295,7 +41540,7 @@ static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41320,7 +41565,7 @@ static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBox *arg1 = (wxStaticBox *) 0 ; int arg2 = (int) wxHORIZONTAL ; wxStaticBoxSizer *result; @@ -41335,7 +41580,7 @@ static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -41354,7 +41599,7 @@ static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ; wxStaticBox *result; PyObject * obj0 = 0 ; @@ -41389,7 +41634,7 @@ static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -41406,25 +41651,25 @@ static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -41443,7 +41688,7 @@ static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41456,7 +41701,7 @@ static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41474,7 +41719,7 @@ static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41487,7 +41732,7 @@ static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41505,7 +41750,7 @@ static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41518,7 +41763,7 @@ static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41536,7 +41781,7 @@ static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41549,7 +41794,7 @@ static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41567,7 +41812,7 @@ static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41586,7 +41831,7 @@ static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41595,7 +41840,7 @@ static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41614,7 +41859,7 @@ static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41623,7 +41868,7 @@ static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41642,7 +41887,7 @@ static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41651,7 +41896,7 @@ static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41670,7 +41915,7 @@ static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41686,7 +41931,7 @@ static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -41703,25 +41948,25 @@ static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -41740,7 +41985,7 @@ static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; int arg3 = (int) 0 ; @@ -41755,12 +42000,12 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -41779,7 +42024,7 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -41792,7 +42037,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41810,7 +42055,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *arg static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; int arg3 = (int) 0 ; @@ -41825,12 +42070,12 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -41849,7 +42094,7 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -41862,7 +42107,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41880,7 +42125,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *arg static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41893,7 +42138,7 @@ static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41911,7 +42156,7 @@ static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject * static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41930,7 +42175,7 @@ static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41939,7 +42184,7 @@ static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject * static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxFlexSizerGrowMode arg2 ; PyObject * obj0 = 0 ; @@ -41952,12 +42197,12 @@ static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFlexSizerGrowMode)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2); + (arg1)->SetNonFlexibleGrowMode(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -41970,7 +42215,7 @@ static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxFlexSizerGrowMode result; PyObject * obj0 = 0 ; @@ -41996,7 +42241,7 @@ static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -42033,7 +42278,7 @@ static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, P static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -42077,7 +42322,7 @@ static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *result; char *kwnames[] = { NULL @@ -42099,7 +42344,7 @@ static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -42128,7 +42373,7 @@ static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -42153,7 +42398,7 @@ static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -42182,7 +42427,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyO static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -42211,7 +42456,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObje static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -42240,7 +42485,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42268,7 +42513,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyO static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42296,7 +42541,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42324,7 +42569,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObje static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42352,7 +42597,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -42387,7 +42632,7 @@ static PyObject * StdDialogButtonSizer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGBPosition *result; @@ -42400,13 +42645,13 @@ static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -42425,7 +42670,7 @@ static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42444,7 +42689,7 @@ static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42453,7 +42698,7 @@ static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42472,7 +42717,7 @@ static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42481,7 +42726,7 @@ static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42494,7 +42739,7 @@ static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42512,7 +42757,7 @@ static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42525,7 +42770,7 @@ static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42543,7 +42788,7 @@ static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -42578,7 +42823,7 @@ static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -42613,7 +42858,7 @@ static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -42629,13 +42874,13 @@ static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -42654,7 +42899,7 @@ static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -42687,7 +42932,7 @@ static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 1 ; wxGBSpan *result; @@ -42700,13 +42945,13 @@ static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -42725,7 +42970,7 @@ static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42744,7 +42989,7 @@ static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42753,7 +42998,7 @@ static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42772,7 +43017,7 @@ static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42781,7 +43026,7 @@ static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42794,7 +43039,7 @@ static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42812,7 +43057,7 @@ static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42825,7 +43070,7 @@ static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42843,7 +43088,7 @@ static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42878,7 +43123,7 @@ static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42913,7 +43158,7 @@ static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 = (int) 1 ; int arg3 = (int) 1 ; @@ -42929,13 +43174,13 @@ static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -42954,7 +43199,7 @@ static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -42993,7 +43238,7 @@ static int _wrap_DefaultSpan_set(PyObject *) { static PyObject *_wrap_DefaultSpan_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0); return pyobj; @@ -43001,7 +43246,7 @@ static PyObject *_wrap_DefaultSpan_get(void) { static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *result; char *kwnames[] = { NULL @@ -43023,7 +43268,7 @@ static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -43055,11 +43300,11 @@ static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObjec if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -43080,7 +43325,7 @@ static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -43112,11 +43357,11 @@ static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -43137,7 +43382,7 @@ static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; wxGBPosition *arg3 = 0 ; @@ -43161,11 +43406,11 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -43177,11 +43422,11 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } if (obj6) { @@ -43202,7 +43447,7 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; @@ -43222,7 +43467,7 @@ static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject * } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43232,7 +43477,7 @@ static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSpan result; PyObject * obj0 = 0 ; @@ -43252,7 +43497,7 @@ static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -43262,7 +43507,7 @@ static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -43297,7 +43542,7 @@ static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -43332,7 +43577,7 @@ static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSizerItem *arg2 = 0 ; bool result; @@ -43370,7 +43615,7 @@ static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -43412,7 +43657,7 @@ static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyO static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; @@ -43432,7 +43677,7 @@ static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObjec } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43442,7 +43687,7 @@ static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGridBagSizer *result; PyObject * obj0 = 0 ; @@ -43468,7 +43713,7 @@ static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ; PyObject * obj0 = 0 ; @@ -43504,7 +43749,7 @@ static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGridBagSizer *result; @@ -43517,13 +43762,13 @@ static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -43542,7 +43787,7 @@ static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxGBPosition *arg3 = 0 ; @@ -43581,13 +43826,13 @@ static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kw } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -43609,7 +43854,7 @@ static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ; wxGBSizerItem *result; @@ -43639,7 +43884,7 @@ static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; int arg2 ; int arg3 ; @@ -43655,11 +43900,11 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -43671,7 +43916,7 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -43681,7 +43926,7 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -43701,7 +43946,7 @@ static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -43711,7 +43956,7 @@ static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -43743,7 +43988,7 @@ static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBPosition result; @@ -43764,7 +44009,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43774,7 +44019,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBPosition result; @@ -43795,7 +44040,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43805,7 +44050,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBPosition result; @@ -43816,7 +44061,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -43828,7 +44073,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43923,7 +44168,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBPosition *arg3 = 0 ; @@ -43959,7 +44204,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBPosition *arg3 = 0 ; @@ -43995,7 +44240,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBPosition *arg3 = 0 ; @@ -44009,7 +44254,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44133,7 +44378,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSpan result; @@ -44154,7 +44399,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -44164,7 +44409,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSpan result; @@ -44185,7 +44430,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -44195,7 +44440,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBSpan result; @@ -44206,7 +44451,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44218,7 +44463,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -44313,7 +44558,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSpan *arg3 = 0 ; @@ -44349,7 +44594,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSpan *arg3 = 0 ; @@ -44385,7 +44630,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBSpan *arg3 = 0 ; @@ -44399,7 +44644,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44523,7 +44768,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSizerItem *result; @@ -44550,7 +44795,7 @@ static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSizerItem *result; @@ -44644,7 +44889,7 @@ static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) { static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSizerItem *result; @@ -44677,7 +44922,7 @@ static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *arg static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxPoint *arg2 = 0 ; wxGBSizerItem *result; @@ -44710,7 +44955,7 @@ static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ; wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ; @@ -44748,7 +44993,7 @@ static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *a static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -44803,7 +45048,7 @@ static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -44824,30 +45069,30 @@ static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxRelationship)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(3)) SWIG_fail; { - arg4 = (wxEdge)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6); + (arg1)->Set(arg2,arg3,arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -44860,7 +45105,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44878,7 +45123,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *a if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -44897,7 +45142,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *a static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44915,7 +45160,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject * if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -44934,7 +45179,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44952,7 +45197,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *ar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -44971,7 +45216,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *ar static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44989,7 +45234,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *ar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -45008,7 +45253,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *ar static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxEdge arg3 ; @@ -45027,18 +45272,18 @@ static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (wxEdge)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SameAs(arg2,(wxEdge )arg3,arg4); + (arg1)->SameAs(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -45051,7 +45296,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *a static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxEdge arg3 ; @@ -45070,16 +45315,16 @@ static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (wxEdge)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4); + (arg1)->PercentOf(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -45092,7 +45337,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -45105,7 +45350,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -45123,7 +45368,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -45148,7 +45393,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyOb static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -45173,7 +45418,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *arg static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -45201,7 +45446,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyO static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge result; PyObject * obj0 = 0 ; @@ -45227,7 +45472,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge arg2 ; PyObject * obj0 = 0 ; @@ -45240,12 +45485,12 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEdge)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetEdge((wxEdge )arg2); + (arg1)->SetEdge(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -45258,7 +45503,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -45271,7 +45516,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -45289,7 +45534,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -45308,7 +45553,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45317,7 +45562,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -45330,7 +45575,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -45348,7 +45593,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -45367,7 +45612,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45376,7 +45621,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -45395,7 +45640,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45404,7 +45649,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObjec static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -45423,7 +45668,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45432,7 +45677,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObj static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -45460,7 +45705,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -45473,7 +45718,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -45491,7 +45736,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship result; PyObject * obj0 = 0 ; @@ -45517,7 +45762,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, Py static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship arg2 ; PyObject * obj0 = 0 ; @@ -45530,12 +45775,12 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxRelationship)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetRelationship((wxRelationship )arg2); + (arg1)->SetRelationship(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -45548,7 +45793,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, Py static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -45580,7 +45825,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObjec static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -45616,7 +45861,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -45634,7 +45879,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEdge)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -45643,13 +45888,13 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject * if (SWIG_arg_fail(4)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4); + result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -45665,7 +45910,7 @@ static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject * return Py_BuildValue((char *)""); } static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45686,7 +45931,7 @@ static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, Py static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45707,7 +45952,7 @@ static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45728,7 +45973,7 @@ static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, P static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45749,7 +45994,7 @@ static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45770,7 +46015,7 @@ static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, P static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45791,7 +46036,7 @@ static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45812,7 +46057,7 @@ static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45833,7 +46078,7 @@ static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *result; char *kwnames[] = { NULL @@ -45855,7 +46100,7 @@ static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int *arg3 = (int *) 0 ; @@ -45893,7 +46138,7 @@ static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -46239,6 +46484,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ConvertToGreyscale", (PyCFunction) _wrap_Image_ConvertToGreyscale, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -46654,6 +46900,9 @@ static PyMethodDef SwigMethods[] = { { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL}, + { (char *)"new_EventLoopActivator", (PyCFunction) _wrap_new_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_EventLoopActivator", (PyCFunction) _wrap_delete_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister, METH_VARARGS, NULL}, { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -47015,6 +47264,8 @@ static PyMethodDef SwigMethods[] = { { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -47030,8 +47281,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL}, { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -47097,6 +47346,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetUserData", (PyCFunction) _wrap_SizerItem_SetUserData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL}, { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -47777,271 +48027,540 @@ static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { return (void *)((wxValidator *) ((wxPyValidator *) x)); } -static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEventLoop[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_buffer[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage_HSVValue[] = {{"_p_wxImage_HSVValue", 0, "wxImage_HSVValue *", 0, 0, 0, 0},{"_p_wxImage_HSVValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage_RGBValue[] = {{"_p_wxImage_RGBValue", 0, "wxImage_RGBValue *", 0, 0, 0, 0},{"_p_wxImage_RGBValue", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyImageHandler[] = {{"_p_wxPyImageHandler", 0, "wxPyImageHandler *", 0, 0, 0, 0},{"_p_wxPyImageHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|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_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxQuantize[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxLayoutConstraints, -_swigt__p_wxRealPoint, -_swigt__p_wxSizerItem, -_swigt__p_wxGBSizerItem, -_swigt__p_wxScrollEvent, -_swigt__p_wxEventLoop, -_swigt__p_wxIndividualLayoutConstraint, -_swigt__p_wxSizer, -_swigt__p_wxBoxSizer, -_swigt__p_wxStaticBoxSizer, -_swigt__p_wxGridBagSizer, -_swigt__p_wxAcceleratorEntry, -_swigt__p_wxUpdateUIEvent, -_swigt__p_wxEvent, -_swigt__p_buffer, -_swigt__p_wxMenu, -_swigt__p_wxGridSizer, -_swigt__p_wxFlexGridSizer, -_swigt__p_wxInitDialogEvent, -_swigt__p_wxItemContainer, -_swigt__p_wxPaintEvent, -_swigt__p_wxNcPaintEvent, -_swigt__p_wxSysColourChangedEvent, -_swigt__p_wxMouseCaptureChangedEvent, -_swigt__p_wxDisplayChangedEvent, -_swigt__p_wxPaletteChangedEvent, -_swigt__p_wxControl, -_swigt__p_wxFont, -_swigt__p_wxMenuBarBase, -_swigt__p_wxSetCursorEvent, -_swigt__p_wxFSFile, -_swigt__p_wxCaret, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxRegion, -_swigt__p_wxPoint2D, -_swigt__p_wxImage_HSVValue, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxDC, -_swigt__p_wxPySizer, -_swigt__p_wxVisualAttributes, -_swigt__p_wxImage_RGBValue, -_swigt__p_wxNotifyEvent, -_swigt__p_wxPyEvent, -_swigt__p_wxPropagationDisabler, -_swigt__p_form_ops_t, -_swigt__p_wxAppTraits, -_swigt__p_wxArrayString, -_swigt__p_wxShowEvent, -_swigt__p_wxToolTip, -_swigt__p_wxMoveEvent, -_swigt__p_wxSizeEvent, -_swigt__p_wxActivateEvent, -_swigt__p_wxIconizeEvent, -_swigt__p_wxMaximizeEvent, -_swigt__p_wxQueryNewPaletteEvent, -_swigt__p_wxWindowCreateEvent, -_swigt__p_wxIdleEvent, -_swigt__p_wxDateEvent, -_swigt__p_wxMenuItem, -_swigt__p_wxStaticBox, -_swigt__p_long, -_swigt__p_wxDuplexMode, -_swigt__p_wxTIFFHandler, -_swigt__p_wxXPMHandler, -_swigt__p_wxPNMHandler, -_swigt__p_wxJPEGHandler, -_swigt__p_wxPCXHandler, -_swigt__p_wxGIFHandler, -_swigt__p_wxPNGHandler, -_swigt__p_wxANIHandler, -_swigt__p_wxPyImageHandler, -_swigt__p_wxMemoryFSHandler, -_swigt__p_wxZipFSHandler, -_swigt__p_wxInternetFSHandler, -_swigt__p_wxPyFileSystemHandler, -_swigt__p_wxEvtHandler, -_swigt__p_wxCURHandler, -_swigt__p_wxICOHandler, -_swigt__p_wxBMPHandler, -_swigt__p_wxImageHandler, -_swigt__p_wxFileSystemHandler, -_swigt__p_wxRect, -_swigt__p_wxButton, -_swigt__p_wxGBSpan, -_swigt__p_wxPropagateOnce, -_swigt__p_wxAcceleratorTable, -_swigt__p_wxStdDialogButtonSizer, -_swigt__p_char, -_swigt__p_wxGBPosition, -_swigt__p_wxImage, -_swigt__p_wxFrame, -_swigt__p_wxScrollWinEvent, -_swigt__p_wxPaperSize, -_swigt__p_wxImageHistogram, -_swigt__p_wxPoint, -_swigt__p_wxCursor, -_swigt__p_wxObject, -_swigt__p_wxInputStream, -_swigt__p_wxOutputStream, -_swigt__p_wxPyInputStream, -_swigt__p_wxDateTime, -_swigt__p_wxKeyEvent, -_swigt__p_wxNavigationKeyEvent, -_swigt__p_wxWindowDestroyEvent, -_swigt__p_unsigned_long, -_swigt__p_wxWindow, -_swigt__p_wxMenuBar, -_swigt__p_wxFileSystem, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_wxMenuEvent, -_swigt__p_wxContextMenuEvent, -_swigt__p_unsigned_char, -_swigt__p_wxMouseEvent, -_swigt__p_wxEraseEvent, -_swigt__p_wxCloseEvent, -_swigt__p_wxPyApp, -_swigt__p_wxCommandEvent, -_swigt__p_wxPyCommandEvent, -_swigt__p_wxPyDropTarget, -_swigt__p_wxQuantize, -_swigt__p_wxFocusEvent, -_swigt__p_wxChildFocusEvent, -_swigt__p_wxDropFilesEvent, -_swigt__p_wxControlWithItems, -_swigt__p_wxColour, -_swigt__p_wxValidator, -_swigt__p_wxPyValidator, -0 +static swig_type_info _swigt__p_buffer = {"_p_buffer", "buffer *", 0, 0, 0}; +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", "wxANIHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorEntry = {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, 0}; +static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAppTraits = {"_p_wxAppTraits", "wxAppTraits *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", "wxCURHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", "wxDateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEventLoop = {"_p_wxEventLoop", "wxEventLoop *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEventLoopActivator = {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", "wxFSFile *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystemHandler = {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBPosition = {"_p_wxGBPosition", "wxGBPosition *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSpan = {"_p_wxGBSpan", "wxGBSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", "wxGridSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", "wxICOHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", "wxImageHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHistogram = {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage_HSVValue = {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage_RGBValue = {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInternetFSHandler = {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBarBase = {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", "wxMenuItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint2D = {"_p_wxPoint2D", "wxPoint2D *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPropagateOnce = {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPropagationDisabler = {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", "wxPyApp *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", "wxPyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyFileSystemHandler = {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyInputStream = {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", "wxPySizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", "wxPyValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxQuantize = {"_p_wxQuantize", "wxQuantize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRealPoint = {"_p_wxRealPoint", "wxRealPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", "wxShowEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxZipFSHandler = {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; + +static swig_type_info *swig_type_initial[] = { + &_swigt__p_buffer, + &_swigt__p_char, + &_swigt__p_form_ops_t, + &_swigt__p_int, + &_swigt__p_long, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorEntry, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxAppTraits, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxButton, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCaret, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDateTime, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEventLoop, + &_swigt__p_wxEventLoopActivator, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFileSystemHandler, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFrame, + &_swigt__p_wxGBPosition, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGBSpan, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageHistogram, + &_swigt__p_wxImage_HSVValue, + &_swigt__p_wxImage_RGBValue, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxInputStream, + &_swigt__p_wxInternetFSHandler, + &_swigt__p_wxItemContainer, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryFSHandler, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuBarBase, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxOutputStream, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPoint2D, + &_swigt__p_wxPropagateOnce, + &_swigt__p_wxPropagationDisabler, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyDropTarget, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyFileSystemHandler, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyInputStream, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQuantize, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRealPoint, + &_swigt__p_wxRect, + &_swigt__p_wxRegion, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBox, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxToolTip, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVisualAttributes, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxXPMHandler, + &_swigt__p_wxZipFSHandler, + &_swigt__ptrdiff_t, + &_swigt__std__ptrdiff_t, + &_swigt__unsigned_int, +}; + +static swig_cast_info _swigc__p_buffer[] = { {&_swigt__p_buffer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxANIHandler[] = { {&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorEntry[] = { {&_swigt__p_wxAcceleratorEntry, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = { {&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxActivateEvent[] = { {&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAppTraits[] = { {&_swigt__p_wxAppTraits, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = { {&_swigt__p_wxBMPHandler, 0, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBoxSizer[] = { {&_swigt__p_wxBoxSizer, 0, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCURHandler[] = { {&_swigt__p_wxCURHandler, 0, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxCURHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = { {&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCloseEvent[] = { {&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = { {&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateEvent[] = { {&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = { {&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = { {&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = { {&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEventLoop[] = { {&_swigt__p_wxEventLoop, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEventLoopActivator[] = { {&_swigt__p_wxEventLoopActivator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFSFile[] = { {&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystemHandler[] = { {&_swigt__p_wxFileSystemHandler, 0, 0, 0}, {&_swigt__p_wxPyFileSystemHandler, _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxInternetFSHandler, _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxZipFSHandler, _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxMemoryFSHandler, _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFlexGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = { {&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBPosition[] = { {&_swigt__p_wxGBPosition, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSizerItem[] = { {&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSpan[] = { {&_swigt__p_wxGBSpan, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFHandler[] = { {&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridBagSizer[] = { {&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0}, {&_swigt__p_wxGridSizer, 0, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = { {&_swigt__p_wxICOHandler, 0, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxICOHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxICOHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconizeEvent[] = { {&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIdleEvent[] = { {&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = { {&_swigt__p_wxImageHandler, 0, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHistogram[] = { {&_swigt__p_wxImageHistogram, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage_HSVValue[] = { {&_swigt__p_wxImage_HSVValue, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage_RGBValue[] = { {&_swigt__p_wxImage_RGBValue, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = { {&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInitDialogEvent[] = { {&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInputStream[] = { {&_swigt__p_wxInputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInternetFSHandler[] = { {&_swigt__p_wxInternetFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJPEGHandler[] = { {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLayoutConstraints[] = { {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMaximizeEvent[] = { {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryFSHandler[] = { {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBarBase[] = { {&_swigt__p_wxMenuBarBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = { {&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuItem[] = { {&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = { {&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMoveEvent[] = { {&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = { {&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNcPaintEvent[] = { {&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPCXHandler[] = { {&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNGHandler[] = { {&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = { {&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaintEvent[] = { {&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = { {&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint2D[] = { {&_swigt__p_wxPoint2D, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPropagateOnce[] = { {&_swigt__p_wxPropagateOnce, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPropagationDisabler[] = { {&_swigt__p_wxPropagationDisabler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = { {&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = { {&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyEvent[] = { {&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyFileSystemHandler[] = { {&_swigt__p_wxPyFileSystemHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = { {&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyInputStream[] = { {&_swigt__p_wxPyInputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPySizer[] = { {&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = { {&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQuantize[] = { {&_swigt__p_wxQuantize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = { {&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRealPoint[] = { {&_swigt__p_wxRealPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollEvent[] = { {&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSetCursorEvent[] = { {&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = { {&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizeEvent[] = { {&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizer[] = { {&_swigt__p_wxSizer, 0, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxSizer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizerItem[] = { {&_swigt__p_wxSizerItem, 0, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBoxSizer[] = { {&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = { {&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = { {&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxUpdateUIEvent[] = { {&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowCreateEvent[] = { {&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = { {&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = { {&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxZipFSHandler[] = { {&_swigt__p_wxZipFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_buffer, + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_long, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorEntry, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxAppTraits, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxButton, + _swigc__p_wxCURHandler, + _swigc__p_wxCaret, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDateTime, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEventLoop, + _swigc__p_wxEventLoopActivator, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFileSystemHandler, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFrame, + _swigc__p_wxGBPosition, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGBSpan, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageHistogram, + _swigc__p_wxImage_HSVValue, + _swigc__p_wxImage_RGBValue, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxInputStream, + _swigc__p_wxInternetFSHandler, + _swigc__p_wxItemContainer, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryFSHandler, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuBarBase, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxOutputStream, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPoint2D, + _swigc__p_wxPropagateOnce, + _swigc__p_wxPropagationDisabler, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyDropTarget, + _swigc__p_wxPyEvent, + _swigc__p_wxPyFileSystemHandler, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyInputStream, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQuantize, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRealPoint, + _swigc__p_wxRect, + _swigc__p_wxRegion, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBox, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxToolTip, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVisualAttributes, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__p_wxZipFSHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -48053,6 +48572,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 @@ -48070,7 +48800,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; @@ -48080,13 +48810,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; @@ -48099,7 +48829,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -48112,7 +48842,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) { @@ -48125,72 +48855,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; } @@ -48199,11 +48946,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); @@ -48240,7 +48987,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, @@ -48252,7 +48999,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]); @@ -48265,14 +49012,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; + } + } } } } @@ -48282,69 +49033,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 @@ -48353,42 +49041,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); @@ -48401,2003 +49068,2003 @@ SWIGEXPORT(void) SWIG_init(void) { #endif { - PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND))); + PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int(static_cast(wxNOT_FOUND))); } { - PyDict_SetItemString(d,"VSCROLL", SWIG_From_int((int)(wxVSCROLL))); + PyDict_SetItemString(d,"VSCROLL", SWIG_From_int(static_cast(wxVSCROLL))); } { - PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)(wxHSCROLL))); + PyDict_SetItemString(d,"HSCROLL", SWIG_From_int(static_cast(wxHSCROLL))); } { - PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)(wxCAPTION))); + PyDict_SetItemString(d,"CAPTION", SWIG_From_int(static_cast(wxCAPTION))); } { - PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER))); + PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int(static_cast(wxDOUBLE_BORDER))); } { - PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER))); + PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int(static_cast(wxSUNKEN_BORDER))); } { - PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER))); + PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int(static_cast(wxRAISED_BORDER))); } { - PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)(wxBORDER))); + PyDict_SetItemString(d,"BORDER", SWIG_From_int(static_cast(wxBORDER))); } { - PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER))); + PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int(static_cast(wxSIMPLE_BORDER))); } { - PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER))); + PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int(static_cast(wxSTATIC_BORDER))); } { - PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW))); + PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int(static_cast(wxTRANSPARENT_WINDOW))); } { - PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER))); + PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int(static_cast(wxNO_BORDER))); } { - PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER))); + PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int(static_cast(wxDEFAULT_CONTROL_BORDER))); } { - PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE))); + PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int(static_cast(wxDEFAULT_STATUSBAR_STYLE))); } { - PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL))); + PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int(static_cast(wxTAB_TRAVERSAL))); } { - PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS))); + PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int(static_cast(wxWANTS_CHARS))); } { - PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW))); + PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int(static_cast(wxPOPUP_WINDOW))); } { - PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME))); + PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int(static_cast(wxCENTER_FRAME))); } { - PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN))); + PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int(static_cast(wxCENTRE_ON_SCREEN))); } { - PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN))); + PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int(static_cast(wxCENTER_ON_SCREEN))); } { - PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN))); + PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int(static_cast(wxCLIP_CHILDREN))); } { - PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS))); + PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int(static_cast(wxCLIP_SIBLINGS))); } { - PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB))); + PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int(static_cast(wxALWAYS_SHOW_SB))); } { - PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)(wxRETAINED))); + PyDict_SetItemString(d,"RETAINED", SWIG_From_int(static_cast(wxRETAINED))); } { - PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE))); + PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int(static_cast(wxBACKINGSTORE))); } { - PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)(wxCOLOURED))); + PyDict_SetItemString(d,"COLOURED", SWIG_From_int(static_cast(wxCOLOURED))); } { - PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH))); + PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int(static_cast(wxFIXED_LENGTH))); } { - PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB))); + PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int(static_cast(wxLB_NEEDED_SB))); } { - PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB))); + PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int(static_cast(wxLB_ALWAYS_SB))); } { - PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)(wxLB_SORT))); + PyDict_SetItemString(d,"LB_SORT", SWIG_From_int(static_cast(wxLB_SORT))); } { - PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE))); + PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int(static_cast(wxLB_SINGLE))); } { - PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE))); + PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int(static_cast(wxLB_MULTIPLE))); } { - PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED))); + PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int(static_cast(wxLB_EXTENDED))); } { - PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW))); + PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int(static_cast(wxLB_OWNERDRAW))); } { - PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL))); + PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int(static_cast(wxLB_HSCROLL))); } { - PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER))); + PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int(static_cast(wxPROCESS_ENTER))); } { - PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)(wxPASSWORD))); + PyDict_SetItemString(d,"PASSWORD", SWIG_From_int(static_cast(wxPASSWORD))); } { - PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE))); + PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int(static_cast(wxCB_SIMPLE))); } { - PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN))); + PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int(static_cast(wxCB_DROPDOWN))); } { - PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)(wxCB_SORT))); + PyDict_SetItemString(d,"CB_SORT", SWIG_From_int(static_cast(wxCB_SORT))); } { - PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY))); + PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int(static_cast(wxCB_READONLY))); } { - PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL))); + PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int(static_cast(wxRA_HORIZONTAL))); } { - PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL))); + PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int(static_cast(wxRA_VERTICAL))); } { - PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS))); + PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int(static_cast(wxRA_SPECIFY_ROWS))); } { - PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS))); + PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int(static_cast(wxRA_SPECIFY_COLS))); } { - PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX))); + PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int(static_cast(wxRA_USE_CHECKBOX))); } { - PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP))); + PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int(static_cast(wxRB_GROUP))); } { - PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE))); + PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int(static_cast(wxRB_SINGLE))); } { - PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL))); + PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int(static_cast(wxSB_HORIZONTAL))); } { - PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL))); + PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int(static_cast(wxSB_VERTICAL))); } { - PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX))); + PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int(static_cast(wxRB_USE_CHECKBOX))); } { - PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP))); + PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int(static_cast(wxST_SIZEGRIP))); } { - PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE))); + PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int(static_cast(wxST_NO_AUTORESIZE))); } { - PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE))); + PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int(static_cast(wxFLOOD_SURFACE))); } { - PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER))); + PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int(static_cast(wxFLOOD_BORDER))); } { - PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE))); + PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int(static_cast(wxODDEVEN_RULE))); } { - PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE))); + PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int(static_cast(wxWINDING_RULE))); } { - PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP))); + PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int(static_cast(wxTOOL_TOP))); } { - PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM))); + PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int(static_cast(wxTOOL_BOTTOM))); } { - PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT))); + PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int(static_cast(wxTOOL_LEFT))); } { - PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT))); + PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int(static_cast(wxTOOL_RIGHT))); } { - PyDict_SetItemString(d,"OK", SWIG_From_int((int)(wxOK))); + PyDict_SetItemString(d,"OK", SWIG_From_int(static_cast(wxOK))); } { - PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)(wxYES_NO))); + PyDict_SetItemString(d,"YES_NO", SWIG_From_int(static_cast(wxYES_NO))); } { - PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)(wxCANCEL))); + PyDict_SetItemString(d,"CANCEL", SWIG_From_int(static_cast(wxCANCEL))); } { - PyDict_SetItemString(d,"YES", SWIG_From_int((int)(wxYES))); + PyDict_SetItemString(d,"YES", SWIG_From_int(static_cast(wxYES))); } { - PyDict_SetItemString(d,"NO", SWIG_From_int((int)(wxNO))); + PyDict_SetItemString(d,"NO", SWIG_From_int(static_cast(wxNO))); } { - PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT))); + PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int(static_cast(wxNO_DEFAULT))); } { - PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT))); + PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int(static_cast(wxYES_DEFAULT))); } { - PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION))); + PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int(static_cast(wxICON_EXCLAMATION))); } { - PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND))); + PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int(static_cast(wxICON_HAND))); } { - PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION))); + PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int(static_cast(wxICON_QUESTION))); } { - PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION))); + PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int(static_cast(wxICON_INFORMATION))); } { - PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP))); + PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int(static_cast(wxICON_STOP))); } { - PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK))); + PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int(static_cast(wxICON_ASTERISK))); } { - PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK))); + PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int(static_cast(wxICON_MASK))); } { - PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING))); + PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int(static_cast(wxICON_WARNING))); } { - PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR))); + PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int(static_cast(wxICON_ERROR))); } { - PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)(wxFORWARD))); + PyDict_SetItemString(d,"FORWARD", SWIG_From_int(static_cast(wxFORWARD))); } { - PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)(wxBACKWARD))); + PyDict_SetItemString(d,"BACKWARD", SWIG_From_int(static_cast(wxBACKWARD))); } { - PyDict_SetItemString(d,"RESET", SWIG_From_int((int)(wxRESET))); + PyDict_SetItemString(d,"RESET", SWIG_From_int(static_cast(wxRESET))); } { - PyDict_SetItemString(d,"HELP", SWIG_From_int((int)(wxHELP))); + PyDict_SetItemString(d,"HELP", SWIG_From_int(static_cast(wxHELP))); } { - PyDict_SetItemString(d,"MORE", SWIG_From_int((int)(wxMORE))); + PyDict_SetItemString(d,"MORE", SWIG_From_int(static_cast(wxMORE))); } { - PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)(wxSETUP))); + PyDict_SetItemString(d,"SETUP", SWIG_From_int(static_cast(wxSETUP))); } { - PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH))); + PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int(static_cast(wxSIZE_AUTO_WIDTH))); } { - PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT))); + PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int(static_cast(wxSIZE_AUTO_HEIGHT))); } { - PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO))); + PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int(static_cast(wxSIZE_AUTO))); } { - PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING))); + PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int(static_cast(wxSIZE_USE_EXISTING))); } { - PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE))); + PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int(static_cast(wxSIZE_ALLOW_MINUS_ONE))); } { - PyDict_SetItemString(d,"SIZE_FORCE", SWIG_From_int((int)(wxSIZE_FORCE))); + PyDict_SetItemString(d,"SIZE_FORCE", SWIG_From_int(static_cast(wxSIZE_FORCE))); } { - PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT))); + PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int(static_cast(wxPORTRAIT))); } { - PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE))); + PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int(static_cast(wxLANDSCAPE))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH))); + PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int(static_cast(wxPRINT_QUALITY_HIGH))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM))); + PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int(static_cast(wxPRINT_QUALITY_MEDIUM))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW))); + PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int(static_cast(wxPRINT_QUALITY_LOW))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT))); + PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int(static_cast(wxPRINT_QUALITY_DRAFT))); } { - PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)(wxID_ANY))); + PyDict_SetItemString(d,"ID_ANY", SWIG_From_int(static_cast(wxID_ANY))); } { - PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR))); + PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int(static_cast(wxID_SEPARATOR))); } { - PyDict_SetItemString(d,"ID_NONE", SWIG_From_int((int)(wxID_NONE))); + PyDict_SetItemString(d,"ID_NONE", SWIG_From_int(static_cast(wxID_NONE))); } { - PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST))); + PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int(static_cast(wxID_LOWEST))); } { - PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN))); + PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int(static_cast(wxID_OPEN))); } { - PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE))); + PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int(static_cast(wxID_CLOSE))); } { - PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)(wxID_NEW))); + PyDict_SetItemString(d,"ID_NEW", SWIG_From_int(static_cast(wxID_NEW))); } { - PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE))); + PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int(static_cast(wxID_SAVE))); } { - PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS))); + PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int(static_cast(wxID_SAVEAS))); } { - PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT))); + PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int(static_cast(wxID_REVERT))); } { - PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT))); + PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int(static_cast(wxID_EXIT))); } { - PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO))); + PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int(static_cast(wxID_UNDO))); } { - PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)(wxID_REDO))); + PyDict_SetItemString(d,"ID_REDO", SWIG_From_int(static_cast(wxID_REDO))); } { - PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)(wxID_HELP))); + PyDict_SetItemString(d,"ID_HELP", SWIG_From_int(static_cast(wxID_HELP))); } { - PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT))); + PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int(static_cast(wxID_PRINT))); } { - PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP))); + PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int(static_cast(wxID_PRINT_SETUP))); } { - PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW))); + PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int(static_cast(wxID_PREVIEW))); } { - PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT))); + PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int(static_cast(wxID_ABOUT))); } { - PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS))); + PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int(static_cast(wxID_HELP_CONTENTS))); } { - PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS))); + PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int(static_cast(wxID_HELP_COMMANDS))); } { - PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES))); + PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int(static_cast(wxID_HELP_PROCEDURES))); } { - PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT))); + PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int(static_cast(wxID_HELP_CONTEXT))); } { - PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL))); + PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int(static_cast(wxID_CLOSE_ALL))); } { - PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES))); + PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int(static_cast(wxID_PREFERENCES))); } { - PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)(wxID_CUT))); + PyDict_SetItemString(d,"ID_CUT", SWIG_From_int(static_cast(wxID_CUT))); } { - PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)(wxID_COPY))); + PyDict_SetItemString(d,"ID_COPY", SWIG_From_int(static_cast(wxID_COPY))); } { - PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE))); + PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int(static_cast(wxID_PASTE))); } { - PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR))); + PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int(static_cast(wxID_CLEAR))); } { - PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)(wxID_FIND))); + PyDict_SetItemString(d,"ID_FIND", SWIG_From_int(static_cast(wxID_FIND))); } { - PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE))); + PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int(static_cast(wxID_DUPLICATE))); } { - PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL))); + PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int(static_cast(wxID_SELECTALL))); } { - PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE))); + PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int(static_cast(wxID_DELETE))); } { - PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE))); + PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int(static_cast(wxID_REPLACE))); } { - PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL))); + PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int(static_cast(wxID_REPLACE_ALL))); } { - PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES))); + PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int(static_cast(wxID_PROPERTIES))); } { - PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS))); + PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int(static_cast(wxID_VIEW_DETAILS))); } { - PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS))); + PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int(static_cast(wxID_VIEW_LARGEICONS))); } { - PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS))); + PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int(static_cast(wxID_VIEW_SMALLICONS))); } { - PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST))); + PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int(static_cast(wxID_VIEW_LIST))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE))); + PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int(static_cast(wxID_VIEW_SORTDATE))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME))); + PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int(static_cast(wxID_VIEW_SORTNAME))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE))); + PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int(static_cast(wxID_VIEW_SORTSIZE))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE))); + PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int(static_cast(wxID_VIEW_SORTTYPE))); } { - PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1))); + PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int(static_cast(wxID_FILE1))); } { - PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2))); + PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int(static_cast(wxID_FILE2))); } { - PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3))); + PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int(static_cast(wxID_FILE3))); } { - PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4))); + PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int(static_cast(wxID_FILE4))); } { - PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5))); + PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int(static_cast(wxID_FILE5))); } { - PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6))); + PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int(static_cast(wxID_FILE6))); } { - PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7))); + PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int(static_cast(wxID_FILE7))); } { - PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8))); + PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int(static_cast(wxID_FILE8))); } { - PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9))); + PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int(static_cast(wxID_FILE9))); } { - PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)(wxID_OK))); + PyDict_SetItemString(d,"ID_OK", SWIG_From_int(static_cast(wxID_OK))); } { - PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL))); + PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int(static_cast(wxID_CANCEL))); } { - PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY))); + PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int(static_cast(wxID_APPLY))); } { - PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)(wxID_YES))); + PyDict_SetItemString(d,"ID_YES", SWIG_From_int(static_cast(wxID_YES))); } { - PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)(wxID_NO))); + PyDict_SetItemString(d,"ID_NO", SWIG_From_int(static_cast(wxID_NO))); } { - PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC))); + PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int(static_cast(wxID_STATIC))); } { - PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD))); + PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int(static_cast(wxID_FORWARD))); } { - PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD))); + PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int(static_cast(wxID_BACKWARD))); } { - PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT))); + PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int(static_cast(wxID_DEFAULT))); } { - PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)(wxID_MORE))); + PyDict_SetItemString(d,"ID_MORE", SWIG_From_int(static_cast(wxID_MORE))); } { - PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP))); + PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int(static_cast(wxID_SETUP))); } { - PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)(wxID_RESET))); + PyDict_SetItemString(d,"ID_RESET", SWIG_From_int(static_cast(wxID_RESET))); } { - PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP))); + PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int(static_cast(wxID_CONTEXT_HELP))); } { - PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL))); + PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int(static_cast(wxID_YESTOALL))); } { - PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL))); + PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int(static_cast(wxID_NOTOALL))); } { - PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT))); + PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int(static_cast(wxID_ABORT))); } { - PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY))); + PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int(static_cast(wxID_RETRY))); } { - PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE))); + PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int(static_cast(wxID_IGNORE))); } { - PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)(wxID_ADD))); + PyDict_SetItemString(d,"ID_ADD", SWIG_From_int(static_cast(wxID_ADD))); } { - PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE))); + PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int(static_cast(wxID_REMOVE))); } { - PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)(wxID_UP))); + PyDict_SetItemString(d,"ID_UP", SWIG_From_int(static_cast(wxID_UP))); } { - PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN))); + PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int(static_cast(wxID_DOWN))); } { - PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)(wxID_HOME))); + PyDict_SetItemString(d,"ID_HOME", SWIG_From_int(static_cast(wxID_HOME))); } { - PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH))); + PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int(static_cast(wxID_REFRESH))); } { - PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)(wxID_STOP))); + PyDict_SetItemString(d,"ID_STOP", SWIG_From_int(static_cast(wxID_STOP))); } { - PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX))); + PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int(static_cast(wxID_INDEX))); } { - PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD))); + PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int(static_cast(wxID_BOLD))); } { - PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC))); + PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int(static_cast(wxID_ITALIC))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER))); + PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int(static_cast(wxID_JUSTIFY_CENTER))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL))); + PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int(static_cast(wxID_JUSTIFY_FILL))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT))); + PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int(static_cast(wxID_JUSTIFY_RIGHT))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT))); + PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int(static_cast(wxID_JUSTIFY_LEFT))); } { - PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE))); + PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int(static_cast(wxID_UNDERLINE))); } { - PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT))); + PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int(static_cast(wxID_INDENT))); } { - PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT))); + PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int(static_cast(wxID_UNINDENT))); } { - PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100))); + PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int(static_cast(wxID_ZOOM_100))); } { - PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT))); + PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int(static_cast(wxID_ZOOM_FIT))); } { - PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN))); + PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int(static_cast(wxID_ZOOM_IN))); } { - PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT))); + PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int(static_cast(wxID_ZOOM_OUT))); } { - PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE))); + PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int(static_cast(wxID_UNDELETE))); } { - PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED))); + PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int(static_cast(wxID_REVERT_TO_SAVED))); } { - PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST))); + PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int(static_cast(wxID_HIGHEST))); } { - PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)(wxOPEN))); + PyDict_SetItemString(d,"OPEN", SWIG_From_int(static_cast(wxOPEN))); } { - PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)(wxSAVE))); + PyDict_SetItemString(d,"SAVE", SWIG_From_int(static_cast(wxSAVE))); } { - PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY))); + PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int(static_cast(wxHIDE_READONLY))); } { - PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT))); + PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int(static_cast(wxOVERWRITE_PROMPT))); } { - PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST))); + PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int(static_cast(wxFILE_MUST_EXIST))); } { - PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE))); + PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int(static_cast(wxMULTIPLE))); } { - PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR))); + PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int(static_cast(wxCHANGE_DIR))); } { - PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT))); + PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int(static_cast(wxACCEL_ALT))); } { - PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL))); + PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int(static_cast(wxACCEL_CTRL))); } { - PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT))); + PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int(static_cast(wxACCEL_SHIFT))); } { - PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL))); + PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int(static_cast(wxACCEL_NORMAL))); } { - PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE))); + PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int(static_cast(wxPD_AUTO_HIDE))); } { - PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL))); + PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int(static_cast(wxPD_APP_MODAL))); } { - PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT))); + PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int(static_cast(wxPD_CAN_ABORT))); } { - PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME))); + PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int(static_cast(wxPD_ELAPSED_TIME))); } { - PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME))); + PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int(static_cast(wxPD_ESTIMATED_TIME))); } { - PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME))); + PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int(static_cast(wxPD_REMAINING_TIME))); } { - PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH))); + PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int(static_cast(wxPD_SMOOTH))); } { - PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP))); + PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int(static_cast(wxPD_CAN_SKIP))); } { - PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON))); + PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int(static_cast(wxDD_NEW_DIR_BUTTON))); } { - PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE))); + PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int(static_cast(wxDD_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF))); + PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int(static_cast(wxMENU_TEAROFF))); } { - PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE))); + PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int(static_cast(wxMB_DOCKABLE))); } { - PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE))); + PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast(wxNO_FULL_REPAINT_ON_RESIZE))); } { - PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE))); + PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast(wxFULL_REPAINT_ON_RESIZE))); } { - PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL))); + PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int(static_cast(wxLI_HORIZONTAL))); } { - PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL))); + PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int(static_cast(wxLI_VERTICAL))); } { - PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY))); + PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int(static_cast(wxWS_EX_VALIDATE_RECURSIVELY))); } { - PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS))); + PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int(static_cast(wxWS_EX_BLOCK_EVENTS))); } { - PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT))); + PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int(static_cast(wxWS_EX_TRANSIENT))); } { - PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND))); + PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int(static_cast(wxWS_EX_THEMED_BACKGROUND))); } { - PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE))); + PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int(static_cast(wxWS_EX_PROCESS_IDLE))); } { - PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES))); + PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int(static_cast(wxWS_EX_PROCESS_UI_UPDATES))); } { - PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT))); + PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int(static_cast(wxMM_TEXT))); } { - PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC))); + PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int(static_cast(wxMM_LOMETRIC))); } { - PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC))); + PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int(static_cast(wxMM_HIMETRIC))); } { - PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH))); + PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int(static_cast(wxMM_LOENGLISH))); } { - PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH))); + PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int(static_cast(wxMM_HIENGLISH))); } { - PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS))); + PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int(static_cast(wxMM_TWIPS))); } { - PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC))); + PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int(static_cast(wxMM_ISOTROPIC))); } { - PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC))); + PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int(static_cast(wxMM_ANISOTROPIC))); } { - PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS))); + PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int(static_cast(wxMM_POINTS))); } { - PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC))); + PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int(static_cast(wxMM_METRIC))); } { - PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)(wxCENTRE))); + PyDict_SetItemString(d,"CENTRE", SWIG_From_int(static_cast(wxCENTRE))); } { - PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)(wxCENTER))); + PyDict_SetItemString(d,"CENTER", SWIG_From_int(static_cast(wxCENTER))); } { - PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL))); + PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int(static_cast(wxHORIZONTAL))); } { - PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)(wxVERTICAL))); + PyDict_SetItemString(d,"VERTICAL", SWIG_From_int(static_cast(wxVERTICAL))); } { - PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)(wxBOTH))); + PyDict_SetItemString(d,"BOTH", SWIG_From_int(static_cast(wxBOTH))); } { - PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)(wxLEFT))); + PyDict_SetItemString(d,"LEFT", SWIG_From_int(static_cast(wxLEFT))); } { - PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)(wxRIGHT))); + PyDict_SetItemString(d,"RIGHT", SWIG_From_int(static_cast(wxRIGHT))); } { - PyDict_SetItemString(d,"UP", SWIG_From_int((int)(wxUP))); + PyDict_SetItemString(d,"UP", SWIG_From_int(static_cast(wxUP))); } { - PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)(wxDOWN))); + PyDict_SetItemString(d,"DOWN", SWIG_From_int(static_cast(wxDOWN))); } { - PyDict_SetItemString(d,"TOP", SWIG_From_int((int)(wxTOP))); + PyDict_SetItemString(d,"TOP", SWIG_From_int(static_cast(wxTOP))); } { - PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)(wxBOTTOM))); + PyDict_SetItemString(d,"BOTTOM", SWIG_From_int(static_cast(wxBOTTOM))); } { - PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)(wxNORTH))); + PyDict_SetItemString(d,"NORTH", SWIG_From_int(static_cast(wxNORTH))); } { - PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)(wxSOUTH))); + PyDict_SetItemString(d,"SOUTH", SWIG_From_int(static_cast(wxSOUTH))); } { - PyDict_SetItemString(d,"WEST", SWIG_From_int((int)(wxWEST))); + PyDict_SetItemString(d,"WEST", SWIG_From_int(static_cast(wxWEST))); } { - PyDict_SetItemString(d,"EAST", SWIG_From_int((int)(wxEAST))); + PyDict_SetItemString(d,"EAST", SWIG_From_int(static_cast(wxEAST))); } { - PyDict_SetItemString(d,"ALL", SWIG_From_int((int)(wxALL))); + PyDict_SetItemString(d,"ALL", SWIG_From_int(static_cast(wxALL))); } { - PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT))); + PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int(static_cast(wxALIGN_NOT))); } { - PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL))); + PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int(static_cast(wxALIGN_CENTER_HORIZONTAL))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL))); + PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int(static_cast(wxALIGN_CENTRE_HORIZONTAL))); } { - PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT))); + PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int(static_cast(wxALIGN_LEFT))); } { - PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP))); + PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int(static_cast(wxALIGN_TOP))); } { - PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT))); + PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int(static_cast(wxALIGN_RIGHT))); } { - PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM))); + PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int(static_cast(wxALIGN_BOTTOM))); } { - PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL))); + PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int(static_cast(wxALIGN_CENTER_VERTICAL))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL))); + PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int(static_cast(wxALIGN_CENTRE_VERTICAL))); } { - PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER))); + PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int(static_cast(wxALIGN_CENTER))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE))); + PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int(static_cast(wxALIGN_CENTRE))); } { - PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK))); + PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int(static_cast(wxALIGN_MASK))); } { - PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT))); + PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int(static_cast(wxSTRETCH_NOT))); } { - PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)(wxSHRINK))); + PyDict_SetItemString(d,"SHRINK", SWIG_From_int(static_cast(wxSHRINK))); } { - PyDict_SetItemString(d,"GROW", SWIG_From_int((int)(wxGROW))); + PyDict_SetItemString(d,"GROW", SWIG_From_int(static_cast(wxGROW))); } { - PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)(wxEXPAND))); + PyDict_SetItemString(d,"EXPAND", SWIG_From_int(static_cast(wxEXPAND))); } { - PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)(wxSHAPED))); + PyDict_SetItemString(d,"SHAPED", SWIG_From_int(static_cast(wxSHAPED))); } { - PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE))); + PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int(static_cast(wxFIXED_MINSIZE))); } { - PyDict_SetItemString(d,"TILE", SWIG_From_int((int)(wxTILE))); + PyDict_SetItemString(d,"TILE", SWIG_From_int(static_cast(wxTILE))); } { - PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE))); + PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int(static_cast(wxADJUST_MINSIZE))); } { - PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT))); + PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int(static_cast(wxBORDER_DEFAULT))); } { - PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE))); + PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int(static_cast(wxBORDER_NONE))); } { - PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC))); + PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int(static_cast(wxBORDER_STATIC))); } { - PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE))); + PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int(static_cast(wxBORDER_SIMPLE))); } { - PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED))); + PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int(static_cast(wxBORDER_RAISED))); } { - PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN))); + PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int(static_cast(wxBORDER_SUNKEN))); } { - PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE))); + PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int(static_cast(wxBORDER_DOUBLE))); } { - PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK))); + PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int(static_cast(wxBORDER_MASK))); } { - PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM))); + PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int(static_cast(wxBG_STYLE_SYSTEM))); } { - PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR))); + PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int(static_cast(wxBG_STYLE_COLOUR))); } { - PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM))); + PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int(static_cast(wxBG_STYLE_CUSTOM))); } { - PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)(wxDEFAULT))); + PyDict_SetItemString(d,"DEFAULT", SWIG_From_int(static_cast(wxDEFAULT))); } { - PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE))); + PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int(static_cast(wxDECORATIVE))); } { - PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)(wxROMAN))); + PyDict_SetItemString(d,"ROMAN", SWIG_From_int(static_cast(wxROMAN))); } { - PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)(wxSCRIPT))); + PyDict_SetItemString(d,"SCRIPT", SWIG_From_int(static_cast(wxSCRIPT))); } { - PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)(wxSWISS))); + PyDict_SetItemString(d,"SWISS", SWIG_From_int(static_cast(wxSWISS))); } { - PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)(wxMODERN))); + PyDict_SetItemString(d,"MODERN", SWIG_From_int(static_cast(wxMODERN))); } { - PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)(wxTELETYPE))); + PyDict_SetItemString(d,"TELETYPE", SWIG_From_int(static_cast(wxTELETYPE))); } { - PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)(wxVARIABLE))); + PyDict_SetItemString(d,"VARIABLE", SWIG_From_int(static_cast(wxVARIABLE))); } { - PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)(wxFIXED))); + PyDict_SetItemString(d,"FIXED", SWIG_From_int(static_cast(wxFIXED))); } { - PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)(wxNORMAL))); + PyDict_SetItemString(d,"NORMAL", SWIG_From_int(static_cast(wxNORMAL))); } { - PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)(wxLIGHT))); + PyDict_SetItemString(d,"LIGHT", SWIG_From_int(static_cast(wxLIGHT))); } { - PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)(wxBOLD))); + PyDict_SetItemString(d,"BOLD", SWIG_From_int(static_cast(wxBOLD))); } { - PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)(wxITALIC))); + PyDict_SetItemString(d,"ITALIC", SWIG_From_int(static_cast(wxITALIC))); } { - PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)(wxSLANT))); + PyDict_SetItemString(d,"SLANT", SWIG_From_int(static_cast(wxSLANT))); } { - PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)(wxSOLID))); + PyDict_SetItemString(d,"SOLID", SWIG_From_int(static_cast(wxSOLID))); } { - PyDict_SetItemString(d,"DOT", SWIG_From_int((int)(wxDOT))); + PyDict_SetItemString(d,"DOT", SWIG_From_int(static_cast(wxDOT))); } { - PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH))); + PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int(static_cast(wxLONG_DASH))); } { - PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH))); + PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int(static_cast(wxSHORT_DASH))); } { - PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH))); + PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int(static_cast(wxDOT_DASH))); } { - PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH))); + PyDict_SetItemString(d,"USER_DASH", SWIG_From_int(static_cast(wxUSER_DASH))); } { - PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT))); + PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int(static_cast(wxTRANSPARENT))); } { - PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE))); + PyDict_SetItemString(d,"STIPPLE", SWIG_From_int(static_cast(wxSTIPPLE))); } { - PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK))); + PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int(static_cast(wxSTIPPLE_MASK))); } { - PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE))); + PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int(static_cast(wxSTIPPLE_MASK_OPAQUE))); } { - PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH))); + PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int(static_cast(wxBDIAGONAL_HATCH))); } { - PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH))); + PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int(static_cast(wxCROSSDIAG_HATCH))); } { - PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH))); + PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int(static_cast(wxFDIAGONAL_HATCH))); } { - PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH))); + PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int(static_cast(wxCROSS_HATCH))); } { - PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH))); + PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int(static_cast(wxHORIZONTAL_HATCH))); } { - PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH))); + PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int(static_cast(wxVERTICAL_HATCH))); } { - PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL))); + PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int(static_cast(wxJOIN_BEVEL))); } { - PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER))); + PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int(static_cast(wxJOIN_MITER))); } { - PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND))); + PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int(static_cast(wxJOIN_ROUND))); } { - PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND))); + PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int(static_cast(wxCAP_ROUND))); } { - PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING))); + PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int(static_cast(wxCAP_PROJECTING))); } { - PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT))); + PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int(static_cast(wxCAP_BUTT))); } { - PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)(wxCLEAR))); + PyDict_SetItemString(d,"CLEAR", SWIG_From_int(static_cast(wxCLEAR))); } { - PyDict_SetItemString(d,"XOR", SWIG_From_int((int)(wxXOR))); + PyDict_SetItemString(d,"XOR", SWIG_From_int(static_cast(wxXOR))); } { - PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)(wxINVERT))); + PyDict_SetItemString(d,"INVERT", SWIG_From_int(static_cast(wxINVERT))); } { - PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE))); + PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int(static_cast(wxOR_REVERSE))); } { - PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE))); + PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int(static_cast(wxAND_REVERSE))); } { - PyDict_SetItemString(d,"COPY", SWIG_From_int((int)(wxCOPY))); + PyDict_SetItemString(d,"COPY", SWIG_From_int(static_cast(wxCOPY))); } { - PyDict_SetItemString(d,"AND", SWIG_From_int((int)(wxAND))); + PyDict_SetItemString(d,"AND", SWIG_From_int(static_cast(wxAND))); } { - PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT))); + PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int(static_cast(wxAND_INVERT))); } { - PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)(wxNO_OP))); + PyDict_SetItemString(d,"NO_OP", SWIG_From_int(static_cast(wxNO_OP))); } { - PyDict_SetItemString(d,"NOR", SWIG_From_int((int)(wxNOR))); + PyDict_SetItemString(d,"NOR", SWIG_From_int(static_cast(wxNOR))); } { - PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)(wxEQUIV))); + PyDict_SetItemString(d,"EQUIV", SWIG_From_int(static_cast(wxEQUIV))); } { - PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT))); + PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int(static_cast(wxSRC_INVERT))); } { - PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT))); + PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int(static_cast(wxOR_INVERT))); } { - PyDict_SetItemString(d,"NAND", SWIG_From_int((int)(wxNAND))); + PyDict_SetItemString(d,"NAND", SWIG_From_int(static_cast(wxNAND))); } { - PyDict_SetItemString(d,"OR", SWIG_From_int((int)(wxOR))); + PyDict_SetItemString(d,"OR", SWIG_From_int(static_cast(wxOR))); } { - PyDict_SetItemString(d,"SET", SWIG_From_int((int)(wxSET))); + PyDict_SetItemString(d,"SET", SWIG_From_int(static_cast(wxSET))); } { - PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)(WXK_BACK))); + PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int(static_cast(WXK_BACK))); } { - PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)(WXK_TAB))); + PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int(static_cast(WXK_TAB))); } { - PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN))); + PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int(static_cast(WXK_RETURN))); } { - PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE))); + PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int(static_cast(WXK_ESCAPE))); } { - PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE))); + PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int(static_cast(WXK_SPACE))); } { - PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE))); + PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int(static_cast(WXK_DELETE))); } { - PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)(WXK_START))); + PyDict_SetItemString(d,"WXK_START", SWIG_From_int(static_cast(WXK_START))); } { - PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON))); + PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int(static_cast(WXK_LBUTTON))); } { - PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON))); + PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int(static_cast(WXK_RBUTTON))); } { - PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL))); + PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int(static_cast(WXK_CANCEL))); } { - PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON))); + PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int(static_cast(WXK_MBUTTON))); } { - PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR))); + PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int(static_cast(WXK_CLEAR))); } { - PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT))); + PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int(static_cast(WXK_SHIFT))); } { - PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)(WXK_ALT))); + PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int(static_cast(WXK_ALT))); } { - PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL))); + PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int(static_cast(WXK_CONTROL))); } { - PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)(WXK_MENU))); + PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int(static_cast(WXK_MENU))); } { - PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE))); + PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int(static_cast(WXK_PAUSE))); } { - PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL))); + PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int(static_cast(WXK_CAPITAL))); } { - PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR))); + PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int(static_cast(WXK_PRIOR))); } { - PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT))); + PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int(static_cast(WXK_NEXT))); } { - PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)(WXK_END))); + PyDict_SetItemString(d,"WXK_END", SWIG_From_int(static_cast(WXK_END))); } { - PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)(WXK_HOME))); + PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int(static_cast(WXK_HOME))); } { - PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT))); + PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int(static_cast(WXK_LEFT))); } { - PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)(WXK_UP))); + PyDict_SetItemString(d,"WXK_UP", SWIG_From_int(static_cast(WXK_UP))); } { - PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT))); + PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int(static_cast(WXK_RIGHT))); } { - PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN))); + PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int(static_cast(WXK_DOWN))); } { - PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT))); + PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int(static_cast(WXK_SELECT))); } { - PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT))); + PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int(static_cast(WXK_PRINT))); } { - PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE))); + PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int(static_cast(WXK_EXECUTE))); } { - PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT))); + PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int(static_cast(WXK_SNAPSHOT))); } { - PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT))); + PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int(static_cast(WXK_INSERT))); } { - PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)(WXK_HELP))); + PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int(static_cast(WXK_HELP))); } { - PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0))); + PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int(static_cast(WXK_NUMPAD0))); } { - PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1))); + PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int(static_cast(WXK_NUMPAD1))); } { - PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2))); + PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int(static_cast(WXK_NUMPAD2))); } { - PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3))); + PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int(static_cast(WXK_NUMPAD3))); } { - PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4))); + PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int(static_cast(WXK_NUMPAD4))); } { - PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5))); + PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int(static_cast(WXK_NUMPAD5))); } { - PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6))); + PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int(static_cast(WXK_NUMPAD6))); } { - PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7))); + PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int(static_cast(WXK_NUMPAD7))); } { - PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8))); + PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int(static_cast(WXK_NUMPAD8))); } { - PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9))); + PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int(static_cast(WXK_NUMPAD9))); } { - PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY))); + PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int(static_cast(WXK_MULTIPLY))); } { - PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)(WXK_ADD))); + PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int(static_cast(WXK_ADD))); } { - PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR))); + PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int(static_cast(WXK_SEPARATOR))); } { - PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT))); + PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int(static_cast(WXK_SUBTRACT))); } { - PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL))); + PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int(static_cast(WXK_DECIMAL))); } { - PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE))); + PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int(static_cast(WXK_DIVIDE))); } { - PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)(WXK_F1))); + PyDict_SetItemString(d,"WXK_F1", SWIG_From_int(static_cast(WXK_F1))); } { - PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)(WXK_F2))); + PyDict_SetItemString(d,"WXK_F2", SWIG_From_int(static_cast(WXK_F2))); } { - PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)(WXK_F3))); + PyDict_SetItemString(d,"WXK_F3", SWIG_From_int(static_cast(WXK_F3))); } { - PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)(WXK_F4))); + PyDict_SetItemString(d,"WXK_F4", SWIG_From_int(static_cast(WXK_F4))); } { - PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)(WXK_F5))); + PyDict_SetItemString(d,"WXK_F5", SWIG_From_int(static_cast(WXK_F5))); } { - PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)(WXK_F6))); + PyDict_SetItemString(d,"WXK_F6", SWIG_From_int(static_cast(WXK_F6))); } { - PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)(WXK_F7))); + PyDict_SetItemString(d,"WXK_F7", SWIG_From_int(static_cast(WXK_F7))); } { - PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)(WXK_F8))); + PyDict_SetItemString(d,"WXK_F8", SWIG_From_int(static_cast(WXK_F8))); } { - PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)(WXK_F9))); + PyDict_SetItemString(d,"WXK_F9", SWIG_From_int(static_cast(WXK_F9))); } { - PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)(WXK_F10))); + PyDict_SetItemString(d,"WXK_F10", SWIG_From_int(static_cast(WXK_F10))); } { - PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)(WXK_F11))); + PyDict_SetItemString(d,"WXK_F11", SWIG_From_int(static_cast(WXK_F11))); } { - PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)(WXK_F12))); + PyDict_SetItemString(d,"WXK_F12", SWIG_From_int(static_cast(WXK_F12))); } { - PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)(WXK_F13))); + PyDict_SetItemString(d,"WXK_F13", SWIG_From_int(static_cast(WXK_F13))); } { - PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)(WXK_F14))); + PyDict_SetItemString(d,"WXK_F14", SWIG_From_int(static_cast(WXK_F14))); } { - PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)(WXK_F15))); + PyDict_SetItemString(d,"WXK_F15", SWIG_From_int(static_cast(WXK_F15))); } { - PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)(WXK_F16))); + PyDict_SetItemString(d,"WXK_F16", SWIG_From_int(static_cast(WXK_F16))); } { - PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)(WXK_F17))); + PyDict_SetItemString(d,"WXK_F17", SWIG_From_int(static_cast(WXK_F17))); } { - PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)(WXK_F18))); + PyDict_SetItemString(d,"WXK_F18", SWIG_From_int(static_cast(WXK_F18))); } { - PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)(WXK_F19))); + PyDict_SetItemString(d,"WXK_F19", SWIG_From_int(static_cast(WXK_F19))); } { - PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)(WXK_F20))); + PyDict_SetItemString(d,"WXK_F20", SWIG_From_int(static_cast(WXK_F20))); } { - PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)(WXK_F21))); + PyDict_SetItemString(d,"WXK_F21", SWIG_From_int(static_cast(WXK_F21))); } { - PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)(WXK_F22))); + PyDict_SetItemString(d,"WXK_F22", SWIG_From_int(static_cast(WXK_F22))); } { - PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)(WXK_F23))); + PyDict_SetItemString(d,"WXK_F23", SWIG_From_int(static_cast(WXK_F23))); } { - PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)(WXK_F24))); + PyDict_SetItemString(d,"WXK_F24", SWIG_From_int(static_cast(WXK_F24))); } { - PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK))); + PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int(static_cast(WXK_NUMLOCK))); } { - PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL))); + PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int(static_cast(WXK_SCROLL))); } { - PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP))); + PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int(static_cast(WXK_PAGEUP))); } { - PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN))); + PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int(static_cast(WXK_PAGEDOWN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE))); + PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int(static_cast(WXK_NUMPAD_SPACE))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB))); + PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int(static_cast(WXK_NUMPAD_TAB))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER))); + PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int(static_cast(WXK_NUMPAD_ENTER))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1))); + PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int(static_cast(WXK_NUMPAD_F1))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2))); + PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int(static_cast(WXK_NUMPAD_F2))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3))); + PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int(static_cast(WXK_NUMPAD_F3))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4))); + PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int(static_cast(WXK_NUMPAD_F4))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME))); + PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int(static_cast(WXK_NUMPAD_HOME))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT))); + PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int(static_cast(WXK_NUMPAD_LEFT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP))); + PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int(static_cast(WXK_NUMPAD_UP))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT))); + PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int(static_cast(WXK_NUMPAD_RIGHT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int(static_cast(WXK_NUMPAD_DOWN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR))); + PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int(static_cast(WXK_NUMPAD_PRIOR))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP))); + PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int(static_cast(WXK_NUMPAD_PAGEUP))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT))); + PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int(static_cast(WXK_NUMPAD_NEXT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int(static_cast(WXK_NUMPAD_PAGEDOWN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END))); + PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int(static_cast(WXK_NUMPAD_END))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN))); + PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int(static_cast(WXK_NUMPAD_BEGIN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT))); + PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int(static_cast(WXK_NUMPAD_INSERT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE))); + PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int(static_cast(WXK_NUMPAD_DELETE))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL))); + PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int(static_cast(WXK_NUMPAD_EQUAL))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY))); + PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int(static_cast(WXK_NUMPAD_MULTIPLY))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD))); + PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int(static_cast(WXK_NUMPAD_ADD))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR))); + PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int(static_cast(WXK_NUMPAD_SEPARATOR))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT))); + PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int(static_cast(WXK_NUMPAD_SUBTRACT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL))); + PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int(static_cast(WXK_NUMPAD_DECIMAL))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE))); + PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int(static_cast(WXK_NUMPAD_DIVIDE))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT))); + PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int(static_cast(WXK_WINDOWS_LEFT))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT))); + PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int(static_cast(WXK_WINDOWS_RIGHT))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU))); + PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int(static_cast(WXK_WINDOWS_MENU))); } { - PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND))); + PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int(static_cast(WXK_COMMAND))); } { - PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1))); + PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int(static_cast(WXK_SPECIAL1))); } { - PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2))); + PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int(static_cast(WXK_SPECIAL2))); } { - PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3))); + PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int(static_cast(WXK_SPECIAL3))); } { - PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4))); + PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int(static_cast(WXK_SPECIAL4))); } { - PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5))); + PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int(static_cast(WXK_SPECIAL5))); } { - PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6))); + PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int(static_cast(WXK_SPECIAL6))); } { - PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7))); + PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int(static_cast(WXK_SPECIAL7))); } { - PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8))); + PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int(static_cast(WXK_SPECIAL8))); } { - PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9))); + PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int(static_cast(WXK_SPECIAL9))); } { - PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10))); + PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int(static_cast(WXK_SPECIAL10))); } { - PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11))); + PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int(static_cast(WXK_SPECIAL11))); } { - PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12))); + PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int(static_cast(WXK_SPECIAL12))); } { - PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13))); + PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int(static_cast(WXK_SPECIAL13))); } { - PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14))); + PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int(static_cast(WXK_SPECIAL14))); } { - PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15))); + PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int(static_cast(WXK_SPECIAL15))); } { - PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16))); + PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int(static_cast(WXK_SPECIAL16))); } { - PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17))); + PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int(static_cast(WXK_SPECIAL17))); } { - PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18))); + PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int(static_cast(WXK_SPECIAL18))); } { - PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19))); + PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int(static_cast(WXK_SPECIAL19))); } { - PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20))); + PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int(static_cast(WXK_SPECIAL20))); } { - PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE))); + PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int(static_cast(wxPAPER_NONE))); } { - PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER))); + PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int(static_cast(wxPAPER_LETTER))); } { - PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL))); + PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int(static_cast(wxPAPER_LEGAL))); } { - PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4))); + PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int(static_cast(wxPAPER_A4))); } { - PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET))); + PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int(static_cast(wxPAPER_CSHEET))); } { - PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET))); + PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int(static_cast(wxPAPER_DSHEET))); } { - PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET))); + PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int(static_cast(wxPAPER_ESHEET))); } { - PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL))); + PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int(static_cast(wxPAPER_LETTERSMALL))); } { - PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID))); + PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int(static_cast(wxPAPER_TABLOID))); } { - PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER))); + PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int(static_cast(wxPAPER_LEDGER))); } { - PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT))); + PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int(static_cast(wxPAPER_STATEMENT))); } { - PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE))); + PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int(static_cast(wxPAPER_EXECUTIVE))); } { - PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3))); + PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int(static_cast(wxPAPER_A3))); } { - PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL))); + PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int(static_cast(wxPAPER_A4SMALL))); } { - PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5))); + PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int(static_cast(wxPAPER_A5))); } { - PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4))); + PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int(static_cast(wxPAPER_B4))); } { - PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5))); + PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int(static_cast(wxPAPER_B5))); } { - PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO))); + PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int(static_cast(wxPAPER_FOLIO))); } { - PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO))); + PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int(static_cast(wxPAPER_QUARTO))); } { - PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14))); + PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int(static_cast(wxPAPER_10X14))); } { - PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17))); + PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int(static_cast(wxPAPER_11X17))); } { - PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE))); + PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int(static_cast(wxPAPER_NOTE))); } { - PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9))); + PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int(static_cast(wxPAPER_ENV_9))); } { - PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10))); + PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int(static_cast(wxPAPER_ENV_10))); } { - PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11))); + PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int(static_cast(wxPAPER_ENV_11))); } { - PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12))); + PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int(static_cast(wxPAPER_ENV_12))); } { - PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14))); + PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int(static_cast(wxPAPER_ENV_14))); } { - PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL))); + PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int(static_cast(wxPAPER_ENV_DL))); } { - PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5))); + PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int(static_cast(wxPAPER_ENV_C5))); } { - PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3))); + PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int(static_cast(wxPAPER_ENV_C3))); } { - PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4))); + PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int(static_cast(wxPAPER_ENV_C4))); } { - PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6))); + PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int(static_cast(wxPAPER_ENV_C6))); } { - PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65))); + PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int(static_cast(wxPAPER_ENV_C65))); } { - PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4))); + PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int(static_cast(wxPAPER_ENV_B4))); } { - PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5))); + PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int(static_cast(wxPAPER_ENV_B5))); } { - PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6))); + PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int(static_cast(wxPAPER_ENV_B6))); } { - PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY))); + PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int(static_cast(wxPAPER_ENV_ITALY))); } { - PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH))); + PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int(static_cast(wxPAPER_ENV_MONARCH))); } { - PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL))); + PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int(static_cast(wxPAPER_ENV_PERSONAL))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US))); + PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int(static_cast(wxPAPER_FANFOLD_US))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN))); + PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int(static_cast(wxPAPER_FANFOLD_STD_GERMAN))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN))); + PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int(static_cast(wxPAPER_FANFOLD_LGL_GERMAN))); } { - PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4))); + PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int(static_cast(wxPAPER_ISO_B4))); } { - PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD))); + PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int(static_cast(wxPAPER_JAPANESE_POSTCARD))); } { - PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11))); + PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int(static_cast(wxPAPER_9X11))); } { - PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11))); + PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int(static_cast(wxPAPER_10X11))); } { - PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11))); + PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int(static_cast(wxPAPER_15X11))); } { - PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE))); + PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int(static_cast(wxPAPER_ENV_INVITE))); } { - PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA))); + PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int(static_cast(wxPAPER_LETTER_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA))); + PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int(static_cast(wxPAPER_LEGAL_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA))); + PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int(static_cast(wxPAPER_TABLOID_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA))); + PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int(static_cast(wxPAPER_A4_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_LETTER_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A4_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_LETTER_EXTRA_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS))); + PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int(static_cast(wxPAPER_A_PLUS))); } { - PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS))); + PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int(static_cast(wxPAPER_B_PLUS))); } { - PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS))); + PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int(static_cast(wxPAPER_LETTER_PLUS))); } { - PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS))); + PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int(static_cast(wxPAPER_A4_PLUS))); } { - PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A5_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_B5_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA))); + PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int(static_cast(wxPAPER_A3_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA))); + PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int(static_cast(wxPAPER_A5_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA))); + PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int(static_cast(wxPAPER_B5_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2))); + PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int(static_cast(wxPAPER_A2))); } { - PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A3_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A3_EXTRA_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD))); + PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int(static_cast(wxPAPER_DBL_JAPANESE_POSTCARD))); } { - PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6))); + PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int(static_cast(wxPAPER_A6))); } { - PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU2))); } { - PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU3))); } { - PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU3))); } { - PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU4))); } { - PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED))); + PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int(static_cast(wxPAPER_LETTER_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED))); + PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int(static_cast(wxPAPER_A3_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED))); + PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int(static_cast(wxPAPER_A4_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED))); + PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int(static_cast(wxPAPER_A5_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED))); + PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B4_JIS_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED))); + PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B5_JIS_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED))); + PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast(wxPAPER_JAPANESE_POSTCARD_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED))); + PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED))); + PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int(static_cast(wxPAPER_A6_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU2_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU3_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU3_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU4_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS))); + PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int(static_cast(wxPAPER_B6_JIS))); } { - PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED))); + PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B6_JIS_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11))); + PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int(static_cast(wxPAPER_12X11))); } { - PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4))); + PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int(static_cast(wxPAPER_JENV_YOU4))); } { - PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED))); + PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_YOU4_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K))); + PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int(static_cast(wxPAPER_P16K))); } { - PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K))); + PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int(static_cast(wxPAPER_P32K))); } { - PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG))); + PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int(static_cast(wxPAPER_P32KBIG))); } { - PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1))); + PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int(static_cast(wxPAPER_PENV_1))); } { - PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2))); + PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int(static_cast(wxPAPER_PENV_2))); } { - PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3))); + PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int(static_cast(wxPAPER_PENV_3))); } { - PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4))); + PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int(static_cast(wxPAPER_PENV_4))); } { - PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5))); + PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int(static_cast(wxPAPER_PENV_5))); } { - PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6))); + PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int(static_cast(wxPAPER_PENV_6))); } { - PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7))); + PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int(static_cast(wxPAPER_PENV_7))); } { - PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8))); + PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int(static_cast(wxPAPER_PENV_8))); } { - PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9))); + PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int(static_cast(wxPAPER_PENV_9))); } { - PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10))); + PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int(static_cast(wxPAPER_PENV_10))); } { - PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED))); + PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int(static_cast(wxPAPER_P16K_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED))); + PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int(static_cast(wxPAPER_P32K_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED))); + PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int(static_cast(wxPAPER_P32KBIG_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_1_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_2_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_3_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_4_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_5_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_6_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_7_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_8_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_9_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED))); + PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_10_ROTATED))); } { - PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX))); + PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int(static_cast(wxDUPLEX_SIMPLEX))); } { - PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL))); + PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int(static_cast(wxDUPLEX_HORIZONTAL))); } { - PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL))); + PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int(static_cast(wxDUPLEX_VERTICAL))); } { - PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR))); + PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int(static_cast(wxITEM_SEPARATOR))); } { - PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL))); + PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int(static_cast(wxITEM_NORMAL))); } { - PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK))); + PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int(static_cast(wxITEM_CHECK))); } { - PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO))); + PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int(static_cast(wxITEM_RADIO))); } { - PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX))); + PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int(static_cast(wxITEM_MAX))); } { - PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE))); + PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int(static_cast(wxHT_NOWHERE))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST))); + PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int(static_cast(wxHT_SCROLLBAR_FIRST))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1))); + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_LINE_1))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2))); + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_LINE_2))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1))); + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_PAGE_1))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2))); + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_PAGE_2))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB))); + PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int(static_cast(wxHT_SCROLLBAR_THUMB))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1))); + PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_BAR_1))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2))); + PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_BAR_2))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST))); + PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int(static_cast(wxHT_SCROLLBAR_LAST))); } { - PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE))); + PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int(static_cast(wxHT_WINDOW_OUTSIDE))); } { - PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE))); + PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int(static_cast(wxHT_WINDOW_INSIDE))); } { - PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR))); + PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int(static_cast(wxHT_WINDOW_VERT_SCROLLBAR))); } { - PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR))); + PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int(static_cast(wxHT_WINDOW_HORZ_SCROLLBAR))); } { - PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER))); + PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int(static_cast(wxHT_WINDOW_CORNER))); } { - PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)(wxHT_MAX))); + PyDict_SetItemString(d,"HT_MAX", SWIG_From_int(static_cast(wxHT_MAX))); } { - PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE))); + PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int(static_cast(wxMOD_NONE))); } { - PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT))); + PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int(static_cast(wxMOD_ALT))); } { - PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL))); + PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int(static_cast(wxMOD_CONTROL))); } { - PyDict_SetItemString(d,"MOD_ALTGR", SWIG_From_int((int)(wxMOD_ALTGR))); + PyDict_SetItemString(d,"MOD_ALTGR", SWIG_From_int(static_cast(wxMOD_ALTGR))); } { - PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT))); + PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int(static_cast(wxMOD_SHIFT))); } { - PyDict_SetItemString(d,"MOD_META", SWIG_From_int((int)(wxMOD_META))); + PyDict_SetItemString(d,"MOD_META", SWIG_From_int(static_cast(wxMOD_META))); } { - PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN))); + PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int(static_cast(wxMOD_WIN))); } { - PyDict_SetItemString(d,"MOD_CMD", SWIG_From_int((int)(wxMOD_CMD))); + PyDict_SetItemString(d,"MOD_CMD", SWIG_From_int(static_cast(wxMOD_CMD))); } { - PyDict_SetItemString(d,"MOD_ALL", SWIG_From_int((int)(wxMOD_ALL))); + PyDict_SetItemString(d,"MOD_ALL", SWIG_From_int(static_cast(wxMOD_ALL))); } { - PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE))); + PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int(static_cast(wxUPDATE_UI_NONE))); } { - PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE))); + PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int(static_cast(wxUPDATE_UI_RECURSE))); } { - PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE))); + PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int(static_cast(wxUPDATE_UI_FROMIDLE))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set); { - PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID))); + PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int(static_cast(wxBITMAP_TYPE_INVALID))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP))); + PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int(static_cast(wxBITMAP_TYPE_BMP))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO))); + PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int(static_cast(wxBITMAP_TYPE_ICO))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR))); + PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int(static_cast(wxBITMAP_TYPE_CUR))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM))); + PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int(static_cast(wxBITMAP_TYPE_XBM))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA))); + PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int(static_cast(wxBITMAP_TYPE_XBM_DATA))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM))); + PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int(static_cast(wxBITMAP_TYPE_XPM))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA))); + PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int(static_cast(wxBITMAP_TYPE_XPM_DATA))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF))); + PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int(static_cast(wxBITMAP_TYPE_TIF))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF))); + PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int(static_cast(wxBITMAP_TYPE_GIF))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG))); + PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int(static_cast(wxBITMAP_TYPE_PNG))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG))); + PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int(static_cast(wxBITMAP_TYPE_JPEG))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM))); + PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int(static_cast(wxBITMAP_TYPE_PNM))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX))); + PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int(static_cast(wxBITMAP_TYPE_PCX))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT))); + PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int(static_cast(wxBITMAP_TYPE_PICT))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON))); + PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int(static_cast(wxBITMAP_TYPE_ICON))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI))); + PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int(static_cast(wxBITMAP_TYPE_ANI))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF))); + PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int(static_cast(wxBITMAP_TYPE_IFF))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR))); + PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int(static_cast(wxBITMAP_TYPE_MACCURSOR))); } { - PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY))); + PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int(static_cast(wxBITMAP_TYPE_ANY))); } { - PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE))); + PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int(static_cast(wxCURSOR_NONE))); } { - PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW))); + PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int(static_cast(wxCURSOR_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW))); + PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int(static_cast(wxCURSOR_RIGHT_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE))); + PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int(static_cast(wxCURSOR_BULLSEYE))); } { - PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR))); + PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int(static_cast(wxCURSOR_CHAR))); } { - PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS))); + PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int(static_cast(wxCURSOR_CROSS))); } { - PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND))); + PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int(static_cast(wxCURSOR_HAND))); } { - PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM))); + PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int(static_cast(wxCURSOR_IBEAM))); } { - PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON))); + PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int(static_cast(wxCURSOR_LEFT_BUTTON))); } { - PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER))); + PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int(static_cast(wxCURSOR_MAGNIFIER))); } { - PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON))); + PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int(static_cast(wxCURSOR_MIDDLE_BUTTON))); } { - PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY))); + PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int(static_cast(wxCURSOR_NO_ENTRY))); } { - PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH))); + PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int(static_cast(wxCURSOR_PAINT_BRUSH))); } { - PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL))); + PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int(static_cast(wxCURSOR_PENCIL))); } { - PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT))); + PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int(static_cast(wxCURSOR_POINT_LEFT))); } { - PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT))); + PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int(static_cast(wxCURSOR_POINT_RIGHT))); } { - PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW))); + PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int(static_cast(wxCURSOR_QUESTION_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON))); + PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int(static_cast(wxCURSOR_RIGHT_BUTTON))); } { - PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW))); + PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int(static_cast(wxCURSOR_SIZENESW))); } { - PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS))); + PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int(static_cast(wxCURSOR_SIZENS))); } { - PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE))); + PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int(static_cast(wxCURSOR_SIZENWSE))); } { - PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE))); + PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int(static_cast(wxCURSOR_SIZEWE))); } { - PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING))); + PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int(static_cast(wxCURSOR_SIZING))); } { - PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN))); + PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int(static_cast(wxCURSOR_SPRAYCAN))); } { - PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT))); + PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int(static_cast(wxCURSOR_WAIT))); } { - PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH))); + PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int(static_cast(wxCURSOR_WATCH))); } { - PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK))); + PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int(static_cast(wxCURSOR_BLANK))); } { - PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT))); + PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int(static_cast(wxCURSOR_DEFAULT))); } { - PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW))); + PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int(static_cast(wxCURSOR_COPY_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT))); + PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int(static_cast(wxCURSOR_ARROWWAIT))); } { - PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX))); + PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int(static_cast(wxCURSOR_MAX))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set); { - PyDict_SetItemString(d,"FromStart", SWIG_From_int((int)(wxFromStart))); + PyDict_SetItemString(d,"FromStart", SWIG_From_int(static_cast(wxFromStart))); } { - PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)(wxFromCurrent))); + PyDict_SetItemString(d,"FromCurrent", SWIG_From_int(static_cast(wxFromCurrent))); } { - PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)(wxFromEnd))); + PyDict_SetItemString(d,"FromEnd", SWIG_From_int(static_cast(wxFromEnd))); } wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream"); @@ -50406,13 +51073,13 @@ SWIGEXPORT(void) SWIG_init(void) { wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler"); { - PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT))); + PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int(static_cast(wxIMAGE_ALPHA_TRANSPARENT))); } { - PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD))); + PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int(static_cast(wxIMAGE_ALPHA_THRESHOLD))); } { - PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE))); + PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int(static_cast(wxIMAGE_ALPHA_OPAQUE))); } SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get, _wrap_IMAGE_OPTION_FILENAME_set); @@ -50425,10 +51092,10 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set); { - PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES))); + PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int(static_cast(wxIMAGE_RESOLUTION_INCHES))); } { - PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM))); + PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int(static_cast(wxIMAGE_RESOLUTION_CM))); } SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set); @@ -50437,52 +51104,52 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get, _wrap_IMAGE_OPTION_PNG_FORMAT_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set); { - PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR))); + PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int(static_cast(wxPNG_TYPE_COLOUR))); } { - PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY))); + PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int(static_cast(wxPNG_TYPE_GREY))); } { - PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED))); + PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int(static_cast(wxPNG_TYPE_GREY_RED))); } { - PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP))); + PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int(static_cast(wxBMP_24BPP))); } { - PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP))); + PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int(static_cast(wxBMP_8BPP))); } { - PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY))); + PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int(static_cast(wxBMP_8BPP_GREY))); } { - PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY))); + PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int(static_cast(wxBMP_8BPP_GRAY))); } { - PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED))); + PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int(static_cast(wxBMP_8BPP_RED))); } { - PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE))); + PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int(static_cast(wxBMP_8BPP_PALETTE))); } { - PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP))); + PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int(static_cast(wxBMP_4BPP))); } { - PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP))); + PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int(static_cast(wxBMP_1BPP))); } { - PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW))); + PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int(static_cast(wxBMP_1BPP_BW))); } { - PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS))); + PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int(static_cast(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS))); } { - PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE))); + PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int(static_cast(wxQUANTIZE_FILL_DESTINATION_IMAGE))); } { - PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE))); + PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int(static_cast(wxEVENT_PROPAGATE_NONE))); } { - PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX))); + PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int(static_cast(wxEVENT_PROPAGATE_MAX))); } PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL)); PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST)); @@ -50600,148 +51267,148 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER)); { - PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY))); + PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int(static_cast(wxMOUSE_BTN_ANY))); } { - PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE))); + PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int(static_cast(wxMOUSE_BTN_NONE))); } { - PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT))); + PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int(static_cast(wxMOUSE_BTN_LEFT))); } { - PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE))); + PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int(static_cast(wxMOUSE_BTN_MIDDLE))); } { - PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT))); + PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int(static_cast(wxMOUSE_BTN_RIGHT))); } { - PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL))); + PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int(static_cast(wxUPDATE_UI_PROCESS_ALL))); } { - PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED))); + PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int(static_cast(wxUPDATE_UI_PROCESS_SPECIFIED))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward))); + PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int(static_cast(wxNavigationKeyEvent::IsBackward))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward))); + PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int(static_cast(wxNavigationKeyEvent::IsForward))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange))); + PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int(static_cast(wxNavigationKeyEvent::WinChange))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab))); + PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int(static_cast(wxNavigationKeyEvent::FromTab))); } { - PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL))); + PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int(static_cast(wxIDLE_PROCESS_ALL))); } { - PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED))); + PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int(static_cast(wxIDLE_PROCESS_SPECIFIED))); } PyDict_SetItemString(d, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED)); { - PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS))); + PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int(static_cast(wxPYAPP_ASSERT_SUPPRESS))); } { - PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION))); + PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int(static_cast(wxPYAPP_ASSERT_EXCEPTION))); } { - PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG))); + PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int(static_cast(wxPYAPP_ASSERT_DIALOG))); } { - PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG))); + PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int(static_cast(wxPYAPP_ASSERT_LOG))); } { - PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS))); + PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int(static_cast(wxPRINT_WINDOWS))); } { - PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT))); + PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int(static_cast(wxPRINT_POSTSCRIPT))); } SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set); SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set); { - PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL))); + PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int(static_cast(wxWINDOW_VARIANT_NORMAL))); } { - PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL))); + PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int(static_cast(wxWINDOW_VARIANT_SMALL))); } { - PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI))); + PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int(static_cast(wxWINDOW_VARIANT_MINI))); } { - PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE))); + PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int(static_cast(wxWINDOW_VARIANT_LARGE))); } { - PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX))); + PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int(static_cast(wxWINDOW_VARIANT_MAX))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set); SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set); { - PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE))); + PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int(static_cast(wxFLEX_GROWMODE_NONE))); } { - PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED))); + PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int(static_cast(wxFLEX_GROWMODE_SPECIFIED))); } { - PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL))); + PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int(static_cast(wxFLEX_GROWMODE_ALL))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set); { - PyDict_SetItemString(d,"Left", SWIG_From_int((int)(wxLeft))); + PyDict_SetItemString(d,"Left", SWIG_From_int(static_cast(wxLeft))); } { - PyDict_SetItemString(d,"Top", SWIG_From_int((int)(wxTop))); + PyDict_SetItemString(d,"Top", SWIG_From_int(static_cast(wxTop))); } { - PyDict_SetItemString(d,"Right", SWIG_From_int((int)(wxRight))); + PyDict_SetItemString(d,"Right", SWIG_From_int(static_cast(wxRight))); } { - PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)(wxBottom))); + PyDict_SetItemString(d,"Bottom", SWIG_From_int(static_cast(wxBottom))); } { - PyDict_SetItemString(d,"Width", SWIG_From_int((int)(wxWidth))); + PyDict_SetItemString(d,"Width", SWIG_From_int(static_cast(wxWidth))); } { - PyDict_SetItemString(d,"Height", SWIG_From_int((int)(wxHeight))); + PyDict_SetItemString(d,"Height", SWIG_From_int(static_cast(wxHeight))); } { - PyDict_SetItemString(d,"Centre", SWIG_From_int((int)(wxCentre))); + PyDict_SetItemString(d,"Centre", SWIG_From_int(static_cast(wxCentre))); } { - PyDict_SetItemString(d,"Center", SWIG_From_int((int)(wxCenter))); + PyDict_SetItemString(d,"Center", SWIG_From_int(static_cast(wxCenter))); } { - PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)(wxCentreX))); + PyDict_SetItemString(d,"CentreX", SWIG_From_int(static_cast(wxCentreX))); } { - PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)(wxCentreY))); + PyDict_SetItemString(d,"CentreY", SWIG_From_int(static_cast(wxCentreY))); } { - PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)(wxUnconstrained))); + PyDict_SetItemString(d,"Unconstrained", SWIG_From_int(static_cast(wxUnconstrained))); } { - PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)(wxAsIs))); + PyDict_SetItemString(d,"AsIs", SWIG_From_int(static_cast(wxAsIs))); } { - PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)(wxPercentOf))); + PyDict_SetItemString(d,"PercentOf", SWIG_From_int(static_cast(wxPercentOf))); } { - PyDict_SetItemString(d,"Above", SWIG_From_int((int)(wxAbove))); + PyDict_SetItemString(d,"Above", SWIG_From_int(static_cast(wxAbove))); } { - PyDict_SetItemString(d,"Below", SWIG_From_int((int)(wxBelow))); + PyDict_SetItemString(d,"Below", SWIG_From_int(static_cast(wxBelow))); } { - PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)(wxLeftOf))); + PyDict_SetItemString(d,"LeftOf", SWIG_From_int(static_cast(wxLeftOf))); } { - PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)(wxRightOf))); + PyDict_SetItemString(d,"RightOf", SWIG_From_int(static_cast(wxRightOf))); } { - PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)(wxSameAs))); + PyDict_SetItemString(d,"SameAs", SWIG_From_int(static_cast(wxSameAs))); } { - PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)(wxAbsolute))); + PyDict_SetItemString(d,"Absolute", SWIG_From_int(static_cast(wxAbsolute))); } // Initialize threading, some globals and such diff --git a/wxPython/src/mac/_gdi.py b/wxPython/src/mac/_gdi.py index 1b631ed477..cecd234e41 100644 --- a/wxPython/src/mac/_gdi.py +++ b/wxPython/src/mac/_gdi.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _gdi_ @@ -93,13 +93,15 @@ class Colour(_core.Object): window colours, etc. Valid RGB values are in the range 0 to 255. In wxPython there are typemaps that will automatically convert from a - colour name, or from a '#RRGGBB' colour hex value string to a - wx.Colour object when calling C++ methods that expect a wxColour. - This means that the following are all equivallent:: + colour name, from a '#RRGGBB' colour hex value string, or from a 3 + integer tuple to a wx.Colour object when calling C++ methods that + expect a wxColour. This means that the following are all + equivallent:: win.SetBackgroundColour(wxColour(0,0,255)) win.SetBackgroundColour('BLUE') win.SetBackgroundColour('#0000FF') + win.SetBackgroundColour((0,0,255)) Additional colour names and their coresponding values can be added using `wx.ColourDatabase`. Various system colours (as set in the @@ -4205,7 +4207,10 @@ class BufferedDC(MemoryDC): def __init__(self, *args): """ __init__(self, DC dc, Bitmap buffer=NullBitmap, int style=BUFFER_CLIENT_AREA) -> BufferedDC + __init__(self, DC dc, Bitmap buffer=NullBitmap) -> BufferedDC + __init__(self, DC dc) -> BufferedDC __init__(self, DC dc, Size area, int style=BUFFER_CLIENT_AREA) -> BufferedDC + __init__(self, DC dc, Size area) -> BufferedDC Constructs a buffered DC. """ @@ -5300,3 +5305,4 @@ def RendererNative_Set(*args, **kwargs): return _gdi_.RendererNative_Set(*args, **kwargs) + diff --git a/wxPython/src/mac/_gdi_wrap.cpp b/wxPython/src/mac/_gdi_wrap.cpp index 3a4e4df379..c1ccf0d7b6 100644 --- a/wxPython/src/mac/_gdi_wrap.cpp +++ b/wxPython/src/mac/_gdi_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,71 +1431,148 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxPostScriptDC swig_types[0] -#define SWIGTYPE_p_wxBrush swig_types[1] -#define SWIGTYPE_p_wxColour swig_types[2] -#define SWIGTYPE_p_wxDC swig_types[3] -#define SWIGTYPE_p_wxMirrorDC swig_types[4] -#define SWIGTYPE_p_form_ops_t swig_types[5] -#define SWIGTYPE_p_wxRendererVersion swig_types[6] -#define SWIGTYPE_p_wxDuplexMode swig_types[7] -#define SWIGTYPE_p_wxPyFontEnumerator swig_types[8] -#define SWIGTYPE_p_char swig_types[9] -#define SWIGTYPE_p_wxIconLocation swig_types[10] -#define SWIGTYPE_p_wxImage swig_types[11] -#define SWIGTYPE_p_wxMetaFileDC swig_types[12] -#define SWIGTYPE_p_wxMask swig_types[13] -#define SWIGTYPE_p_wxSize swig_types[14] -#define SWIGTYPE_p_wxFont swig_types[15] -#define SWIGTYPE_p_wxWindow swig_types[16] -#define SWIGTYPE_p_double swig_types[17] -#define SWIGTYPE_p_wxMemoryDC swig_types[18] -#define SWIGTYPE_p_wxFontMapper swig_types[19] -#define SWIGTYPE_p_wxEffects swig_types[20] -#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[21] -#define SWIGTYPE_p_wxPalette swig_types[22] -#define SWIGTYPE_p_wxBitmap swig_types[23] -#define SWIGTYPE_p_wxObject swig_types[24] -#define SWIGTYPE_p_wxRegionIterator swig_types[25] -#define SWIGTYPE_p_wxRect swig_types[26] -#define SWIGTYPE_p_wxPaperSize swig_types[27] -#define SWIGTYPE_p_wxString swig_types[28] -#define SWIGTYPE_unsigned_int swig_types[29] -#define SWIGTYPE_p_unsigned_int swig_types[30] -#define SWIGTYPE_p_wxPrinterDC swig_types[31] -#define SWIGTYPE_p_wxIconBundle swig_types[32] -#define SWIGTYPE_p_wxPoint swig_types[33] -#define SWIGTYPE_p_wxDash swig_types[34] -#define SWIGTYPE_p_wxScreenDC swig_types[35] -#define SWIGTYPE_p_wxCursor swig_types[36] -#define SWIGTYPE_p_wxClientDC swig_types[37] -#define SWIGTYPE_p_wxBufferedDC swig_types[38] -#define SWIGTYPE_p_wxImageList swig_types[39] -#define SWIGTYPE_p_unsigned_char swig_types[40] -#define SWIGTYPE_p_wxGDIObject swig_types[41] -#define SWIGTYPE_p_wxIcon swig_types[42] -#define SWIGTYPE_p_wxLocale swig_types[43] -#define SWIGTYPE_ptrdiff_t swig_types[44] -#define SWIGTYPE_std__ptrdiff_t swig_types[45] -#define SWIGTYPE_p_wxRegion swig_types[46] -#define SWIGTYPE_p_wxLanguageInfo swig_types[47] -#define SWIGTYPE_p_wxWindowDC swig_types[48] -#define SWIGTYPE_p_wxPrintData swig_types[49] -#define SWIGTYPE_p_wxBrushList swig_types[50] -#define SWIGTYPE_p_wxFontList swig_types[51] -#define SWIGTYPE_p_wxPen swig_types[52] -#define SWIGTYPE_p_wxBufferedPaintDC swig_types[53] -#define SWIGTYPE_p_wxPaintDC swig_types[54] -#define SWIGTYPE_p_wxPenList swig_types[55] -#define SWIGTYPE_p_int swig_types[56] -#define SWIGTYPE_p_wxMetaFile swig_types[57] -#define SWIGTYPE_p_wxRendererNative swig_types[58] -#define SWIGTYPE_p_unsigned_long swig_types[59] -#define SWIGTYPE_p_wxNativeFontInfo swig_types[60] -#define SWIGTYPE_p_wxEncodingConverter swig_types[61] -#define SWIGTYPE_p_wxSplitterRenderParams swig_types[62] -#define SWIGTYPE_p_wxColourDatabase swig_types[63] -static swig_type_info *swig_types[65]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_double swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_unsigned_char swig_types[4] +#define SWIGTYPE_p_unsigned_int swig_types[5] +#define SWIGTYPE_p_unsigned_long swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxBMPHandler swig_types[10] +#define SWIGTYPE_p_wxBitmap swig_types[11] +#define SWIGTYPE_p_wxBoxSizer swig_types[12] +#define SWIGTYPE_p_wxBrush swig_types[13] +#define SWIGTYPE_p_wxBrushList swig_types[14] +#define SWIGTYPE_p_wxBufferedDC swig_types[15] +#define SWIGTYPE_p_wxBufferedPaintDC swig_types[16] +#define SWIGTYPE_p_wxCURHandler swig_types[17] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[18] +#define SWIGTYPE_p_wxClientDC swig_types[19] +#define SWIGTYPE_p_wxCloseEvent swig_types[20] +#define SWIGTYPE_p_wxColour swig_types[21] +#define SWIGTYPE_p_wxColourDatabase swig_types[22] +#define SWIGTYPE_p_wxCommandEvent swig_types[23] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[24] +#define SWIGTYPE_p_wxControl swig_types[25] +#define SWIGTYPE_p_wxControlWithItems swig_types[26] +#define SWIGTYPE_p_wxCursor swig_types[27] +#define SWIGTYPE_p_wxDC swig_types[28] +#define SWIGTYPE_p_wxDash swig_types[29] +#define SWIGTYPE_p_wxDateEvent swig_types[30] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[32] +#define SWIGTYPE_p_wxDuplexMode swig_types[33] +#define SWIGTYPE_p_wxEffects swig_types[34] +#define SWIGTYPE_p_wxEncodingConverter swig_types[35] +#define SWIGTYPE_p_wxEraseEvent swig_types[36] +#define SWIGTYPE_p_wxEvent swig_types[37] +#define SWIGTYPE_p_wxEvtHandler swig_types[38] +#define SWIGTYPE_p_wxFSFile swig_types[39] +#define SWIGTYPE_p_wxFileSystem swig_types[40] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[41] +#define SWIGTYPE_p_wxFocusEvent swig_types[42] +#define SWIGTYPE_p_wxFont swig_types[43] +#define SWIGTYPE_p_wxFontList swig_types[44] +#define SWIGTYPE_p_wxFontMapper swig_types[45] +#define SWIGTYPE_p_wxGBSizerItem swig_types[46] +#define SWIGTYPE_p_wxGDIObject swig_types[47] +#define SWIGTYPE_p_wxGIFHandler swig_types[48] +#define SWIGTYPE_p_wxGridBagSizer swig_types[49] +#define SWIGTYPE_p_wxGridSizer swig_types[50] +#define SWIGTYPE_p_wxICOHandler swig_types[51] +#define SWIGTYPE_p_wxIcon swig_types[52] +#define SWIGTYPE_p_wxIconBundle swig_types[53] +#define SWIGTYPE_p_wxIconLocation swig_types[54] +#define SWIGTYPE_p_wxIconizeEvent swig_types[55] +#define SWIGTYPE_p_wxIdleEvent swig_types[56] +#define SWIGTYPE_p_wxImage swig_types[57] +#define SWIGTYPE_p_wxImageHandler swig_types[58] +#define SWIGTYPE_p_wxImageList swig_types[59] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[61] +#define SWIGTYPE_p_wxJPEGHandler swig_types[62] +#define SWIGTYPE_p_wxKeyEvent swig_types[63] +#define SWIGTYPE_p_wxLanguageInfo swig_types[64] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[65] +#define SWIGTYPE_p_wxLocale swig_types[66] +#define SWIGTYPE_p_wxMask swig_types[67] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[68] +#define SWIGTYPE_p_wxMemoryDC swig_types[69] +#define SWIGTYPE_p_wxMenu swig_types[70] +#define SWIGTYPE_p_wxMenuBar swig_types[71] +#define SWIGTYPE_p_wxMenuEvent swig_types[72] +#define SWIGTYPE_p_wxMenuItem swig_types[73] +#define SWIGTYPE_p_wxMetaFile swig_types[74] +#define SWIGTYPE_p_wxMetaFileDC swig_types[75] +#define SWIGTYPE_p_wxMirrorDC swig_types[76] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77] +#define SWIGTYPE_p_wxMouseEvent swig_types[78] +#define SWIGTYPE_p_wxMoveEvent swig_types[79] +#define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80] +#define SWIGTYPE_p_wxNativeFontInfo swig_types[81] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[83] +#define SWIGTYPE_p_wxNotifyEvent swig_types[84] +#define SWIGTYPE_p_wxObject swig_types[85] +#define SWIGTYPE_p_wxPCXHandler swig_types[86] +#define SWIGTYPE_p_wxPNGHandler swig_types[87] +#define SWIGTYPE_p_wxPNMHandler swig_types[88] +#define SWIGTYPE_p_wxPaintDC swig_types[89] +#define SWIGTYPE_p_wxPaintEvent swig_types[90] +#define SWIGTYPE_p_wxPalette swig_types[91] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92] +#define SWIGTYPE_p_wxPaperSize swig_types[93] +#define SWIGTYPE_p_wxPen swig_types[94] +#define SWIGTYPE_p_wxPenList swig_types[95] +#define SWIGTYPE_p_wxPoint swig_types[96] +#define SWIGTYPE_p_wxPostScriptDC swig_types[97] +#define SWIGTYPE_p_wxPrintData swig_types[98] +#define SWIGTYPE_p_wxPrinterDC swig_types[99] +#define SWIGTYPE_p_wxPyApp swig_types[100] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[101] +#define SWIGTYPE_p_wxPyEvent swig_types[102] +#define SWIGTYPE_p_wxPyFontEnumerator swig_types[103] +#define SWIGTYPE_p_wxPyImageHandler swig_types[104] +#define SWIGTYPE_p_wxPySizer swig_types[105] +#define SWIGTYPE_p_wxPyValidator swig_types[106] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107] +#define SWIGTYPE_p_wxRect swig_types[108] +#define SWIGTYPE_p_wxRegion swig_types[109] +#define SWIGTYPE_p_wxRegionIterator swig_types[110] +#define SWIGTYPE_p_wxRendererNative swig_types[111] +#define SWIGTYPE_p_wxRendererVersion swig_types[112] +#define SWIGTYPE_p_wxScreenDC swig_types[113] +#define SWIGTYPE_p_wxScrollEvent swig_types[114] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[115] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[116] +#define SWIGTYPE_p_wxShowEvent swig_types[117] +#define SWIGTYPE_p_wxSize swig_types[118] +#define SWIGTYPE_p_wxSizeEvent swig_types[119] +#define SWIGTYPE_p_wxSizer swig_types[120] +#define SWIGTYPE_p_wxSizerItem swig_types[121] +#define SWIGTYPE_p_wxSplitterRenderParams swig_types[122] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[123] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124] +#define SWIGTYPE_p_wxString swig_types[125] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126] +#define SWIGTYPE_p_wxTIFFHandler swig_types[127] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[128] +#define SWIGTYPE_p_wxValidator swig_types[129] +#define SWIGTYPE_p_wxWindow swig_types[130] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[131] +#define SWIGTYPE_p_wxWindowDC swig_types[132] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133] +#define SWIGTYPE_p_wxXPMHandler swig_types[134] +#define SWIGTYPE_ptrdiff_t swig_types[135] +#define SWIGTYPE_std__ptrdiff_t swig_types[136] +#define SWIGTYPE_unsigned_int swig_types[137] +static swig_type_info *swig_types[139]; +static swig_module_info swig_module = {swig_types, 138, 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) -------- */ @@ -1469,7 +1638,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; @@ -1483,7 +1652,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1516,7 +1685,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1530,7 +1699,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1550,7 +1719,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1574,7 +1743,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) { - if (val) *val = (unsigned char)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1589,7 +1758,7 @@ SWIGINTERN int } -SWIGINTERNSHORT unsigned char +SWIGINTERNINLINE unsigned char SWIG_As_unsigned_SS_char(PyObject* obj) { unsigned char v; @@ -1603,14 +1772,14 @@ SWIG_As_unsigned_SS_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_char(PyObject* obj) { return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0); } -SWIGINTERNSHORT unsigned long +SWIGINTERNINLINE unsigned long SWIG_As_unsigned_SS_long(PyObject* obj) { unsigned long v; @@ -1624,19 +1793,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); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_char PyInt_FromLong /*@@*/ - /*@/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 /*@@*/ @@ -1659,16 +1828,16 @@ static unsigned long wxColour_GetRGB(wxColour *self){ return self->Red() | (self->Green() << 8) | (self->Blue() << 16); } -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)); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1682,14 +1851,14 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)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 /*@@*/ @@ -1756,7 +1925,7 @@ static void wxPen__SetDashes(wxPen *self,PyObject *_self,PyObject *pyDashes){ static bool wxPen___eq__(wxPen *self,wxPen const *other){ return other ? (*self == *other) : false; } static bool wxPen___ne__(wxPen *self,wxPen const *other){ return other ? (*self != *other) : true; } - /*@/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_short PyInt_FromLong /*@@*/ @@ -1768,7 +1937,7 @@ SWIGINTERN int long v; if (SWIG_AsVal_long(obj, &v)) { if (SWIG_CheckLongInRange(v, SHRT_MIN, SHRT_MAX, errmsg)) { - if (val) *val = (short)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1783,7 +1952,7 @@ SWIGINTERN int } -SWIGINTERNSHORT short +SWIGINTERNINLINE short SWIG_As_short(PyObject* obj) { short v; @@ -1797,7 +1966,7 @@ SWIG_As_short(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_short(PyObject* obj) { return SWIG_AsVal_short(obj, (short*)0); @@ -1903,7 +2072,7 @@ static int wxIconLocation_GetIndex(wxIconLocation *self){ } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1917,7 +2086,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -2077,7 +2246,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -2091,7 +2260,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -2114,7 +2283,7 @@ static wxArrayInt wxDC_GetPartialTextExtents(wxDC *self,wxString const &text){ return widths; } - /*@/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 /*@@*/ @@ -2175,7 +2344,7 @@ static void wxColourDatabase_Append(wxColourDatabase *self,wxString const &name, #include "wx/renderer.h" -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_bool(bool value) { PyObject *obj = value ? Py_True : Py_False; @@ -2187,7 +2356,7 @@ SWIGINTERNSHORT PyObject* extern "C" { #endif static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *result; char *kwnames[] = { NULL @@ -2210,7 +2379,7 @@ static PyObject *_wrap_new_GDIObject(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *arg1 = (wxGDIObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2235,7 +2404,7 @@ static PyObject *_wrap_delete_GDIObject(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *arg1 = (wxGDIObject *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2263,7 +2432,7 @@ static PyObject *_wrap_GDIObject_GetVisible(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *arg1 = (wxGDIObject *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -2276,7 +2445,7 @@ static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGDIObject, 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; } { @@ -2294,7 +2463,7 @@ static PyObject *_wrap_GDIObject_SetVisible(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GDIObject_IsNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGDIObject *arg1 = (wxGDIObject *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2329,7 +2498,7 @@ static PyObject * GDIObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; byte arg1 = (byte) 0 ; byte arg2 = (byte) 0 ; byte arg3 = (byte) 0 ; @@ -2344,19 +2513,19 @@ static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Colour",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (byte)(SWIG_As_unsigned_SS_char(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_char(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -2375,7 +2544,7 @@ static PyObject *_wrap_new_Colour(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxColour *result; bool temp1 = false ; @@ -2414,7 +2583,7 @@ static PyObject *_wrap_new_NamedColour(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; wxColour *result; PyObject * obj0 = 0 ; @@ -2424,7 +2593,7 @@ static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ColourRGB",kwnames,&obj0)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -2442,7 +2611,7 @@ static PyObject *_wrap_new_ColourRGB(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2467,7 +2636,7 @@ static PyObject *_wrap_delete_Colour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -2486,7 +2655,7 @@ static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -2495,7 +2664,7 @@ static PyObject *_wrap_Colour_Red(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -2514,7 +2683,7 @@ static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -2523,7 +2692,7 @@ static PyObject *_wrap_Colour_Green(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; byte result; PyObject * obj0 = 0 ; @@ -2542,7 +2711,7 @@ static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -2551,7 +2720,7 @@ static PyObject *_wrap_Colour_Blue(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2579,7 +2748,7 @@ static PyObject *_wrap_Colour_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; byte arg2 ; byte arg3 ; @@ -2596,15 +2765,15 @@ static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -2622,7 +2791,7 @@ static PyObject *_wrap_Colour_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; unsigned long arg2 ; PyObject * obj0 = 0 ; @@ -2635,7 +2804,7 @@ static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColour, 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; } { @@ -2653,7 +2822,7 @@ static PyObject *_wrap_Colour_SetRGB(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2694,7 +2863,7 @@ static PyObject *_wrap_Colour_SetFromName(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; long result; PyObject * obj0 = 0 ; @@ -2713,7 +2882,7 @@ static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -2722,7 +2891,7 @@ static PyObject *_wrap_Colour_GetPixel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -2757,7 +2926,7 @@ static PyObject *_wrap_Colour___eq__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -2792,7 +2961,7 @@ static PyObject *_wrap_Colour___ne__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -2818,7 +2987,7 @@ static PyObject *_wrap_Colour_Get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = (wxColour *) 0 ; unsigned long result; PyObject * obj0 = 0 ; @@ -2837,7 +3006,7 @@ static PyObject *_wrap_Colour_GetRGB(PyObject *, PyObject *args, PyObject *kwarg 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: @@ -2853,7 +3022,7 @@ static PyObject * Colour_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; unsigned char *arg2 = (unsigned char *) 0 ; unsigned char *arg3 = (unsigned char *) 0 ; @@ -2869,7 +3038,7 @@ static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_Palette",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_unsigned_char, SWIG_POINTER_EXCEPTION | 0); @@ -2894,7 +3063,7 @@ static PyObject *_wrap_new_Palette(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2919,7 +3088,7 @@ static PyObject *_wrap_delete_Palette(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; byte arg2 ; byte arg3 ; @@ -2937,15 +3106,15 @@ static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -2956,7 +3125,7 @@ static PyObject *_wrap_Palette_GetPixel(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: @@ -2965,7 +3134,7 @@ static PyObject *_wrap_Palette_GetPixel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; int arg2 ; byte *arg3 = (byte *) 0 ; @@ -2991,7 +3160,7 @@ static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPalette, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3017,7 +3186,7 @@ static PyObject *_wrap_Palette_GetRGB(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Palette_GetColoursCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3036,7 +3205,7 @@ static PyObject *_wrap_Palette_GetColoursCount(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: @@ -3045,7 +3214,7 @@ static PyObject *_wrap_Palette_GetColoursCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Palette_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPalette *arg1 = (wxPalette *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3080,7 +3249,7 @@ static PyObject * Palette_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = 0 ; int arg2 = (int) 1 ; int arg3 = (int) wxSOLID ; @@ -3100,13 +3269,13 @@ static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -3126,7 +3295,7 @@ static PyObject *_wrap_new_Pen(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3151,7 +3320,7 @@ static PyObject *_wrap_delete_Pen(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3170,7 +3339,7 @@ static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3179,7 +3348,7 @@ static PyObject *_wrap_Pen_GetCap(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3199,7 +3368,7 @@ static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwarg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3209,7 +3378,7 @@ static PyObject *_wrap_Pen_GetColour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3228,7 +3397,7 @@ static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3237,7 +3406,7 @@ static PyObject *_wrap_Pen_GetJoin(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3256,7 +3425,7 @@ static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3265,7 +3434,7 @@ static PyObject *_wrap_Pen_GetStyle(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3284,7 +3453,7 @@ static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3293,7 +3462,7 @@ static PyObject *_wrap_Pen_GetWidth(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3321,7 +3490,7 @@ static PyObject *_wrap_Pen_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3334,7 +3503,7 @@ static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3352,7 +3521,7 @@ static PyObject *_wrap_Pen_SetCap(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -3384,7 +3553,7 @@ static PyObject *_wrap_Pen_SetColour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3397,7 +3566,7 @@ static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3415,7 +3584,7 @@ static PyObject *_wrap_Pen_SetJoin(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3428,7 +3597,7 @@ static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3446,7 +3615,7 @@ static PyObject *_wrap_Pen_SetStyle(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3459,7 +3628,7 @@ static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPen, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3477,7 +3646,7 @@ static PyObject *_wrap_Pen_SetWidth(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; int arg2 ; wxDash *arg3 = (wxDash *) 0 ; @@ -3516,7 +3685,7 @@ static PyObject *_wrap_Pen_SetDashes(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -3542,7 +3711,7 @@ static PyObject *_wrap_Pen_GetDashes(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Pen__SetDashes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -3573,7 +3742,7 @@ static PyObject *_wrap_Pen__SetDashes(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; wxPen *arg2 = (wxPen *) 0 ; bool result; @@ -3605,7 +3774,7 @@ static PyObject *_wrap_Pen___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Pen___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPen *arg1 = (wxPen *) 0 ; wxPen *arg2 = (wxPen *) 0 ; bool result; @@ -3644,7 +3813,7 @@ static PyObject * Pen_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = 0 ; int arg2 = (int) wxSOLID ; wxBrush *result; @@ -3662,7 +3831,7 @@ static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3682,7 +3851,7 @@ static PyObject *_wrap_new_Brush(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_BrushFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxBrush *result; PyObject * obj0 = 0 ; @@ -3715,7 +3884,7 @@ static PyObject *_wrap_new_BrushFromBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3740,7 +3909,7 @@ static PyObject *_wrap_delete_Brush(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -3772,7 +3941,7 @@ static PyObject *_wrap_Brush_SetColour(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3785,7 +3954,7 @@ static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3803,7 +3972,7 @@ static PyObject *_wrap_Brush_SetStyle(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3838,7 +4007,7 @@ static PyObject *_wrap_Brush_SetStipple(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3858,7 +4027,7 @@ static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwa } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3868,7 +4037,7 @@ static PyObject *_wrap_Brush_GetColour(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3887,7 +4056,7 @@ static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3896,7 +4065,7 @@ static PyObject *_wrap_Brush_GetStyle(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -3922,7 +4091,7 @@ static PyObject *_wrap_Brush_GetStipple(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Brush_IsHatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3950,7 +4119,7 @@ static PyObject *_wrap_Brush_IsHatch(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3978,7 +4147,7 @@ static PyObject *_wrap_Brush_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Brush_MacGetTheme(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; short result; PyObject * obj0 = 0 ; @@ -3997,7 +4166,7 @@ static PyObject *_wrap_Brush_MacGetTheme(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_short((short)(result)); + resultobj = SWIG_From_short(static_cast(result)); } return resultobj; fail: @@ -4006,7 +4175,7 @@ static PyObject *_wrap_Brush_MacGetTheme(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Brush_MacSetTheme(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrush *arg1 = (wxBrush *) 0 ; short arg2 ; PyObject * obj0 = 0 ; @@ -4019,7 +4188,7 @@ static PyObject *_wrap_Brush_MacSetTheme(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrush, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (short)(SWIG_As_short(obj1)); + arg2 = static_cast(SWIG_As_short(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4044,7 +4213,7 @@ static PyObject * Brush_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBitmapType arg2 = (wxBitmapType) wxBITMAP_TYPE_ANY ; wxBitmap *result; @@ -4063,14 +4232,14 @@ static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) } if (obj1) { { - arg2 = (wxBitmapType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,(wxBitmapType )arg2); + result = (wxBitmap *)new wxBitmap((wxString const &)*arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4091,7 +4260,7 @@ static PyObject *_wrap_new_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4116,7 +4285,7 @@ static PyObject *_wrap_delete_Bitmap(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 = (int) -1 ; @@ -4130,16 +4299,16 @@ static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_EmptyBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4159,7 +4328,7 @@ static PyObject *_wrap_new_EmptyBitmap(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -4192,7 +4361,7 @@ static PyObject *_wrap_new_BitmapFromIcon(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = 0 ; int arg2 = (int) -1 ; wxBitmap *result; @@ -4213,7 +4382,7 @@ static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4233,7 +4402,7 @@ static PyObject *_wrap_new_BitmapFromImage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -4259,7 +4428,7 @@ static PyObject *_wrap_new_BitmapFromXPMData(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; int arg2 ; int arg3 ; @@ -4276,16 +4445,16 @@ static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_BitmapFromBits",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; arg1 = obj0; { - 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; } } @@ -4305,7 +4474,7 @@ static PyObject *_wrap_new_BitmapFromBits(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4333,7 +4502,7 @@ static PyObject *_wrap_Bitmap_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4352,7 +4521,7 @@ static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4361,7 +4530,7 @@ static PyObject *_wrap_Bitmap_GetWidth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4380,7 +4549,7 @@ static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4389,7 +4558,7 @@ static PyObject *_wrap_Bitmap_GetHeight(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4408,7 +4577,7 @@ static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4417,7 +4586,7 @@ static PyObject *_wrap_Bitmap_GetDepth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -4437,7 +4606,7 @@ static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -4447,7 +4616,7 @@ static PyObject *_wrap_Bitmap_GetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -4467,7 +4636,7 @@ static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObjec } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -4477,7 +4646,7 @@ static PyObject *_wrap_Bitmap_ConvertToImage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxMask *result; PyObject * obj0 = 0 ; @@ -4503,7 +4672,7 @@ static PyObject *_wrap_Bitmap_GetMask(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxMask *arg2 = (wxMask *) 0 ; PyObject * obj0 = 0 ; @@ -4532,7 +4701,7 @@ static PyObject *_wrap_Bitmap_SetMask(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -4564,7 +4733,7 @@ static PyObject *_wrap_Bitmap_SetMaskColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxRect *arg2 = 0 ; SwigValueWrapper result; @@ -4591,7 +4760,7 @@ static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -4601,7 +4770,7 @@ static PyObject *_wrap_Bitmap_GetSubBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxString *arg2 = 0 ; wxBitmapType arg3 ; @@ -4625,7 +4794,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwa temp2 = true; } { - arg3 = (wxBitmapType)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -4634,7 +4803,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwa } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxBitmapType )arg3,arg4); + result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4657,7 +4826,7 @@ static PyObject *_wrap_Bitmap_SaveFile(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxString *arg2 = 0 ; wxBitmapType arg3 ; @@ -4679,12 +4848,12 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwa temp2 = true; } { - arg3 = (wxBitmapType)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxBitmapType )arg3); + result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4707,7 +4876,7 @@ static PyObject *_wrap_Bitmap_LoadFile(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_GetPalette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxPalette *result; PyObject * obj0 = 0 ; @@ -4733,7 +4902,7 @@ static PyObject *_wrap_Bitmap_GetPalette(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxIcon *arg2 = 0 ; bool result; @@ -4771,7 +4940,7 @@ static PyObject *_wrap_Bitmap_CopyFromIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4784,7 +4953,7 @@ static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4802,7 +4971,7 @@ static PyObject *_wrap_Bitmap_SetHeight(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4815,7 +4984,7 @@ static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4833,7 +5002,7 @@ static PyObject *_wrap_Bitmap_SetWidth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4846,7 +5015,7 @@ static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -4864,7 +5033,7 @@ static PyObject *_wrap_Bitmap_SetDepth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Bitmap_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -4896,7 +5065,7 @@ static PyObject *_wrap_Bitmap_SetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxBitmap *arg2 = (wxBitmap *) 0 ; bool result; @@ -4928,7 +5097,7 @@ static PyObject *_wrap_Bitmap___eq__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Bitmap___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = (wxBitmap *) 0 ; wxBitmap *arg2 = (wxBitmap *) 0 ; bool result; @@ -4967,7 +5136,7 @@ static PyObject * Bitmap_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Mask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxColour const &arg2_defvalue = wxNullColour ; wxColour *arg2 = (wxColour *) &arg2_defvalue ; @@ -5017,7 +5186,7 @@ static PyObject * Mask_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBitmapType arg2 ; int arg3 = (int) -1 ; @@ -5039,25 +5208,25 @@ static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) { temp1 = true; } { - arg2 = (wxBitmapType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxIcon *)new wxIcon((wxString const &)*arg1,(wxBitmapType )arg2,arg3,arg4); + result = (wxIcon *)new wxIcon((wxString const &)*arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5078,7 +5247,7 @@ static PyObject *_wrap_new_Icon(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5103,7 +5272,7 @@ static PyObject *_wrap_delete_Icon(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *result; char *kwnames[] = { NULL @@ -5126,7 +5295,7 @@ static PyObject *_wrap_new_EmptyIcon(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -5159,7 +5328,7 @@ static PyObject *_wrap_new_IconFromLocation(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -5192,7 +5361,7 @@ static PyObject *_wrap_new_IconFromBitmap(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -5218,7 +5387,7 @@ static PyObject *_wrap_new_IconFromXPMData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5246,7 +5415,7 @@ static PyObject *_wrap_Icon_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5265,7 +5434,7 @@ static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5274,7 +5443,7 @@ static PyObject *_wrap_Icon_GetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5293,7 +5462,7 @@ static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5302,7 +5471,7 @@ static PyObject *_wrap_Icon_GetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5321,7 +5490,7 @@ static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5330,7 +5499,7 @@ static PyObject *_wrap_Icon_GetDepth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5343,7 +5512,7 @@ static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5361,7 +5530,7 @@ static PyObject *_wrap_Icon_SetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5374,7 +5543,7 @@ static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5392,7 +5561,7 @@ static PyObject *_wrap_Icon_SetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5405,7 +5574,7 @@ static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5423,7 +5592,7 @@ static PyObject *_wrap_Icon_SetDepth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Icon_CopyFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = (wxIcon *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -5465,7 +5634,7 @@ static PyObject * Icon_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = (wxString *) &wxPyEmptyString ; int arg2 = (int) 0 ; wxIconLocation *result; @@ -5486,7 +5655,7 @@ static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kw } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -5513,7 +5682,7 @@ static PyObject *_wrap_new_IconLocation(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5538,7 +5707,7 @@ static PyObject *_wrap_delete_IconLocation(PyObject *, PyObject *args, PyObject static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5566,7 +5735,7 @@ static PyObject *_wrap_IconLocation_IsOk(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5607,7 +5776,7 @@ static PyObject *_wrap_IconLocation_SetFileName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -5642,7 +5811,7 @@ static PyObject *_wrap_IconLocation_GetFileName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5655,7 +5824,7 @@ static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconLocation, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5673,7 +5842,7 @@ static PyObject *_wrap_IconLocation_SetIndex(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_IconLocation_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconLocation *arg1 = (wxIconLocation *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5692,7 +5861,7 @@ static PyObject *_wrap_IconLocation_GetIndex(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: @@ -5708,7 +5877,7 @@ static PyObject * IconLocation_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *result; char *kwnames[] = { NULL @@ -5730,7 +5899,7 @@ static PyObject *_wrap_new_IconBundle(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 ; wxIconBundle *result; @@ -5748,7 +5917,7 @@ static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObje temp1 = true; } { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5774,7 +5943,7 @@ static PyObject *_wrap_new_IconBundleFromFile(PyObject *, PyObject *args, PyObje static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIcon *arg1 = 0 ; wxIconBundle *result; PyObject * obj0 = 0 ; @@ -5806,7 +5975,7 @@ static PyObject *_wrap_new_IconBundleFromIcon(PyObject *, PyObject *args, PyObje static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *arg1 = (wxIconBundle *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5831,7 +6000,7 @@ static PyObject *_wrap_delete_IconBundle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *arg1 = (wxIconBundle *) 0 ; wxIcon *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -5866,7 +6035,7 @@ static PyObject *_wrap_IconBundle_AddIcon(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *arg1 = (wxIconBundle *) 0 ; wxString *arg2 = 0 ; long arg3 ; @@ -5887,7 +6056,7 @@ static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, Py temp2 = true; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5913,7 +6082,7 @@ static PyObject *_wrap_IconBundle_AddIconFromFile(PyObject *, PyObject *args, Py static PyObject *_wrap_IconBundle_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconBundle *arg1 = (wxIconBundle *) 0 ; wxSize *arg2 = 0 ; wxIcon *result; @@ -5959,7 +6128,7 @@ static PyObject * IconBundle_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 ; int arg3 = (int) 0 ; @@ -5981,18 +6150,18 @@ static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) temp1 = true; } { - 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; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6020,7 +6189,7 @@ static PyObject *_wrap_new_Cursor(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6045,7 +6214,7 @@ static PyObject *_wrap_delete_Cursor(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxCursor *result; PyObject * obj0 = 0 ; @@ -6055,7 +6224,7 @@ static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_StockCursor",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6074,7 +6243,7 @@ static PyObject *_wrap_new_StockCursor(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = 0 ; wxCursor *result; PyObject * obj0 = 0 ; @@ -6107,7 +6276,7 @@ static PyObject *_wrap_new_CursorFromImage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Cursor_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6142,7 +6311,7 @@ static PyObject * Cursor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -6159,25 +6328,25 @@ static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Region",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6197,7 +6366,7 @@ static PyObject *_wrap_new_Region(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxRegion *result; PyObject * obj0 = 0 ; @@ -6230,7 +6399,7 @@ static PyObject *_wrap_new_RegionFromBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxColour *arg2 = 0 ; int arg3 = (int) 0 ; @@ -6258,7 +6427,7 @@ static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6278,7 +6447,7 @@ static PyObject *_wrap_new_RegionFromBitmapColour(PyObject *, PyObject *args, Py static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxPoint *arg2 = (wxPoint *) 0 ; int arg3 = (int) wxWINDING_RULE ; @@ -6296,7 +6465,7 @@ static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg3 = (int)(SWIG_As_int(obj1)); + arg3 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6322,7 +6491,7 @@ static PyObject *_wrap_new_RegionFromPoints(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6347,7 +6516,7 @@ static PyObject *_wrap_delete_Region(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6372,7 +6541,7 @@ static PyObject *_wrap_Region_Clear(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6388,11 +6557,11 @@ static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6412,7 +6581,7 @@ static PyObject *_wrap_Region_Offset(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6428,11 +6597,11 @@ static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6450,7 +6619,7 @@ static PyObject *_wrap_Region_Contains(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxPoint *arg2 = 0 ; wxRegionContain result; @@ -6483,7 +6652,7 @@ static PyObject *_wrap_Region_ContainsPoint(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; wxRegionContain result; @@ -6516,7 +6685,7 @@ static PyObject *_wrap_Region_ContainsRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6536,19 +6705,19 @@ static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6566,7 +6735,7 @@ static PyObject *_wrap_Region_ContainsRectDim(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -6586,7 +6755,7 @@ static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwarg } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -6596,7 +6765,7 @@ static PyObject *_wrap_Region_GetBox(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6616,19 +6785,19 @@ static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6648,7 +6817,7 @@ static PyObject *_wrap_Region_Intersect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6683,7 +6852,7 @@ static PyObject *_wrap_Region_IntersectRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -6721,7 +6890,7 @@ static PyObject *_wrap_Region_IntersectRegion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6749,7 +6918,7 @@ static PyObject *_wrap_Region_IsEmpty(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6769,19 +6938,19 @@ static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6801,7 +6970,7 @@ static PyObject *_wrap_Region_Union(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6836,7 +7005,7 @@ static PyObject *_wrap_Region_UnionRect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -6874,7 +7043,7 @@ static PyObject *_wrap_Region_UnionRegion(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -6894,19 +7063,19 @@ static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6926,7 +7095,7 @@ static PyObject *_wrap_Region_Subtract(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6961,7 +7130,7 @@ static PyObject *_wrap_Region_SubtractRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -6999,7 +7168,7 @@ static PyObject *_wrap_Region_SubtractRegion(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; int arg2 ; int arg3 ; @@ -7019,19 +7188,19 @@ static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7051,7 +7220,7 @@ static PyObject *_wrap_Region_Xor(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -7086,7 +7255,7 @@ static PyObject *_wrap_Region_XorRect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -7124,7 +7293,7 @@ static PyObject *_wrap_Region_XorRegion(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -7144,7 +7313,7 @@ static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObje } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -7154,7 +7323,7 @@ static PyObject *_wrap_Region_ConvertToBitmap(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxBitmap *arg2 = 0 ; bool result; @@ -7192,7 +7361,7 @@ static PyObject *_wrap_Region_UnionBitmap(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Region_UnionBitmapColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = (wxRegion *) 0 ; wxBitmap *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -7224,7 +7393,7 @@ static PyObject *_wrap_Region_UnionBitmapColour(PyObject *, PyObject *args, PyOb } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -7252,7 +7421,7 @@ static PyObject * Region_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegion *arg1 = 0 ; wxRegionIterator *result; PyObject * obj0 = 0 ; @@ -7285,7 +7454,7 @@ static PyObject *_wrap_new_RegionIterator(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7310,7 +7479,7 @@ static PyObject *_wrap_delete_RegionIterator(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7329,7 +7498,7 @@ static PyObject *_wrap_RegionIterator_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: @@ -7338,7 +7507,7 @@ static PyObject *_wrap_RegionIterator_GetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7357,7 +7526,7 @@ static PyObject *_wrap_RegionIterator_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: @@ -7366,7 +7535,7 @@ static PyObject *_wrap_RegionIterator_GetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7385,7 +7554,7 @@ static PyObject *_wrap_RegionIterator_GetW(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: @@ -7394,7 +7563,7 @@ static PyObject *_wrap_RegionIterator_GetW(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7413,7 +7582,7 @@ static PyObject *_wrap_RegionIterator_GetWidth(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: @@ -7422,7 +7591,7 @@ static PyObject *_wrap_RegionIterator_GetWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7441,7 +7610,7 @@ static PyObject *_wrap_RegionIterator_GetH(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: @@ -7450,7 +7619,7 @@ static PyObject *_wrap_RegionIterator_GetH(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7469,7 +7638,7 @@ static PyObject *_wrap_RegionIterator_GetHeight(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: @@ -7478,7 +7647,7 @@ static PyObject *_wrap_RegionIterator_GetHeight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -7498,7 +7667,7 @@ static PyObject *_wrap_RegionIterator_GetRect(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; @@ -7508,7 +7677,7 @@ static PyObject *_wrap_RegionIterator_GetRect(PyObject *, PyObject *args, PyObje static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7536,7 +7705,7 @@ static PyObject *_wrap_RegionIterator_HaveRects(PyObject *, PyObject *args, PyOb static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7561,7 +7730,7 @@ static PyObject *_wrap_RegionIterator_Reset(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7586,7 +7755,7 @@ static PyObject *_wrap_RegionIterator_Next(PyObject *, PyObject *args, PyObject static PyObject *_wrap_RegionIterator___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRegionIterator *arg1 = (wxRegionIterator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7621,7 +7790,7 @@ static PyObject * RegionIterator_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *result; char *kwnames[] = { NULL @@ -7643,7 +7812,7 @@ static PyObject *_wrap_new_NativeFontInfo(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7668,7 +7837,7 @@ static PyObject *_wrap_delete_NativeFontInfo(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7693,7 +7862,7 @@ static PyObject *_wrap_NativeFontInfo_Init(PyObject *, PyObject *args, PyObject static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7728,7 +7897,7 @@ static PyObject *_wrap_NativeFontInfo_InitFromFont(PyObject *, PyObject *args, P static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7747,7 +7916,7 @@ static PyObject *_wrap_NativeFontInfo_GetPointSize(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: @@ -7756,7 +7925,7 @@ static PyObject *_wrap_NativeFontInfo_GetPointSize(PyObject *, PyObject *args, P static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontStyle result; PyObject * obj0 = 0 ; @@ -7782,7 +7951,7 @@ static PyObject *_wrap_NativeFontInfo_GetStyle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontWeight result; PyObject * obj0 = 0 ; @@ -7808,7 +7977,7 @@ static PyObject *_wrap_NativeFontInfo_GetWeight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7836,7 +8005,7 @@ static PyObject *_wrap_NativeFontInfo_GetUnderlined(PyObject *, PyObject *args, static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7868,7 +8037,7 @@ static PyObject *_wrap_NativeFontInfo_GetFaceName(PyObject *, PyObject *args, Py static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontFamily result; PyObject * obj0 = 0 ; @@ -7894,7 +8063,7 @@ static PyObject *_wrap_NativeFontInfo_GetFamily(PyObject *, PyObject *args, PyOb static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontEncoding result; PyObject * obj0 = 0 ; @@ -7920,7 +8089,7 @@ static PyObject *_wrap_NativeFontInfo_GetEncoding(PyObject *, PyObject *args, Py static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7933,7 +8102,7 @@ static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7951,7 +8120,7 @@ static PyObject *_wrap_NativeFontInfo_SetPointSize(PyObject *, PyObject *args, P static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontStyle arg2 ; PyObject * obj0 = 0 ; @@ -7964,12 +8133,12 @@ static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontStyle)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetStyle((wxFontStyle )arg2); + (arg1)->SetStyle(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -7982,7 +8151,7 @@ static PyObject *_wrap_NativeFontInfo_SetStyle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontWeight arg2 ; PyObject * obj0 = 0 ; @@ -7995,12 +8164,12 @@ static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontWeight)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetWeight((wxFontWeight )arg2); + (arg1)->SetWeight(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8013,7 +8182,7 @@ static PyObject *_wrap_NativeFontInfo_SetWeight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -8026,7 +8195,7 @@ static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, 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; } { @@ -8044,7 +8213,7 @@ static PyObject *_wrap_NativeFontInfo_SetUnderlined(PyObject *, PyObject *args, static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString arg2 ; PyObject * obj0 = 0 ; @@ -8077,7 +8246,7 @@ static PyObject *_wrap_NativeFontInfo_SetFaceName(PyObject *, PyObject *args, Py static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontFamily arg2 ; PyObject * obj0 = 0 ; @@ -8090,12 +8259,12 @@ static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontFamily)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetFamily((wxFontFamily )arg2); + (arg1)->SetFamily(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8108,7 +8277,7 @@ static PyObject *_wrap_NativeFontInfo_SetFamily(PyObject *, PyObject *args, PyOb static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxFontEncoding arg2 ; PyObject * obj0 = 0 ; @@ -8121,12 +8290,12 @@ static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeFontInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetEncoding((wxFontEncoding )arg2); + (arg1)->SetEncoding(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8139,7 +8308,7 @@ static PyObject *_wrap_NativeFontInfo_SetEncoding(PyObject *, PyObject *args, Py static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8183,7 +8352,7 @@ static PyObject *_wrap_NativeFontInfo_FromString(PyObject *, PyObject *args, PyO static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8215,7 +8384,7 @@ static PyObject *_wrap_NativeFontInfo_ToString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8247,7 +8416,7 @@ static PyObject *_wrap_NativeFontInfo___str__(PyObject *, PyObject *args, PyObje static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8291,7 +8460,7 @@ static PyObject *_wrap_NativeFontInfo_FromUserString(PyObject *, PyObject *args, static PyObject *_wrap_NativeFontInfo_ToUserString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = (wxNativeFontInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8330,7 +8499,7 @@ static PyObject * NativeFontInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString *arg2 = (wxString *) 0 ; bool temp2 = false ; @@ -8366,7 +8535,7 @@ static PyObject *_wrap_NativeEncodingInfo_facename_set(PyObject *, PyObject *arg static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8393,7 +8562,7 @@ static PyObject *_wrap_NativeEncodingInfo_facename_get(PyObject *, PyObject *arg static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxFontEncoding arg2 ; PyObject * obj0 = 0 ; @@ -8406,10 +8575,10 @@ static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNativeEncodingInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } - if (arg1) (arg1)->encoding = (wxFontEncoding )arg2; + if (arg1) (arg1)->encoding = arg2; Py_INCREF(Py_None); resultobj = Py_None; return resultobj; @@ -8419,7 +8588,7 @@ static PyObject *_wrap_NativeEncodingInfo_encoding_set(PyObject *, PyObject *arg static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxFontEncoding result; PyObject * obj0 = 0 ; @@ -8440,7 +8609,7 @@ static PyObject *_wrap_NativeEncodingInfo_encoding_get(PyObject *, PyObject *arg static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *result; char *kwnames[] = { NULL @@ -8462,7 +8631,7 @@ static PyObject *_wrap_new_NativeEncodingInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8487,7 +8656,7 @@ static PyObject *_wrap_delete_NativeEncodingInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8531,7 +8700,7 @@ static PyObject *_wrap_NativeEncodingInfo_FromString(PyObject *, PyObject *args, static PyObject *_wrap_NativeEncodingInfo_ToString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = (wxNativeEncodingInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8570,7 +8739,7 @@ static PyObject * NativeEncodingInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxNativeEncodingInfo *result; PyObject * obj0 = 0 ; @@ -8580,12 +8749,12 @@ static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetNativeFontEncoding",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding((wxFontEncoding )arg1); + result = (wxNativeEncodingInfo *)wxGetNativeFontEncoding(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8598,7 +8767,7 @@ static PyObject *_wrap_GetNativeFontEncoding(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeEncodingInfo *arg1 = 0 ; bool result; PyObject * obj0 = 0 ; @@ -8632,7 +8801,7 @@ static PyObject *_wrap_TestFontEncoding(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *result; char *kwnames[] = { NULL @@ -8654,7 +8823,7 @@ static PyObject *_wrap_new_FontMapper(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8679,7 +8848,7 @@ static PyObject *_wrap_delete_FontMapper(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *result; char *kwnames[] = { NULL @@ -8701,7 +8870,7 @@ static PyObject *_wrap_FontMapper_Get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxFontMapper *result; PyObject * obj0 = 0 ; @@ -8727,7 +8896,7 @@ static PyObject *_wrap_FontMapper_Set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -8750,7 +8919,7 @@ static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8777,7 +8946,7 @@ static PyObject *_wrap_FontMapper_CharsetToEncoding(PyObject *, PyObject *args, static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t result; char *kwnames[] = { NULL @@ -8792,7 +8961,7 @@ static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, 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: @@ -8801,7 +8970,7 @@ static PyObject *_wrap_FontMapper_GetSupportedEncodingsCount(PyObject *, PyObjec static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t arg1 ; wxFontEncoding result; PyObject * obj0 = 0 ; @@ -8811,7 +8980,7 @@ static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncoding",kwnames,&obj0)) goto fail; { - arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -8829,7 +8998,7 @@ static PyObject *_wrap_FontMapper_GetEncoding(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxString result; PyObject * obj0 = 0 ; @@ -8839,12 +9008,12 @@ static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingName",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxFontMapper::GetEncodingName((wxFontEncoding )arg1); + result = wxFontMapper::GetEncodingName(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8863,7 +9032,7 @@ static PyObject *_wrap_FontMapper_GetEncodingName(PyObject *, PyObject *args, Py static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxString result; PyObject * obj0 = 0 ; @@ -8873,12 +9042,12 @@ static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *a if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontMapper_GetEncodingDescription",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxFontMapper::GetEncodingDescription((wxFontEncoding )arg1); + result = wxFontMapper::GetEncodingDescription(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8897,7 +9066,7 @@ static PyObject *_wrap_FontMapper_GetEncodingDescription(PyObject *, PyObject *a static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxFontEncoding result; bool temp1 = false ; @@ -8935,7 +9104,7 @@ static PyObject *_wrap_FontMapper_GetEncodingFromName(PyObject *, PyObject *args static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -8976,7 +9145,7 @@ static PyObject *_wrap_FontMapper_SetConfigPath(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -9004,7 +9173,7 @@ static PyObject *_wrap_FontMapper_GetDefaultConfigPath(PyObject *, PyObject *arg static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxFontEncoding arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9024,7 +9193,7 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -9036,13 +9205,13 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,(wxFontEncoding )arg2,(wxString const &)*arg3,arg4); + result = (PyObject *)wxFontMapper_GetAltForEncoding(arg1,arg2,(wxString const &)*arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9063,7 +9232,7 @@ static PyObject *_wrap_FontMapper_GetAltForEncoding(PyObject *, PyObject *args, static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxFontEncoding arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9081,7 +9250,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontMapper, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { @@ -9093,7 +9262,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->IsEncodingAvailable((wxFontEncoding )arg2,(wxString const &)*arg3); + result = (bool)(arg1)->IsEncodingAvailable(arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9116,7 +9285,7 @@ static PyObject *_wrap_FontMapper_IsEncodingAvailable(PyObject *, PyObject *args static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -9145,7 +9314,7 @@ static PyObject *_wrap_FontMapper_SetDialogParent(PyObject *, PyObject *args, Py static PyObject *_wrap_FontMapper_SetDialogTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontMapper *arg1 = (wxFontMapper *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9193,7 +9362,7 @@ static PyObject * FontMapper_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 ; @@ -9217,24 +9386,24 @@ static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:new_Font",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -9247,14 +9416,14 @@ static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj6) { { - arg7 = (wxFontEncoding)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7); + result = (wxFont *)new wxFont(arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9275,7 +9444,7 @@ static PyObject *_wrap_new_Font(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9300,7 +9469,7 @@ static PyObject *_wrap_delete_Font(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNativeFontInfo *arg1 = 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -9333,7 +9502,7 @@ static PyObject *_wrap_new_FontFromNativeInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxFont *result; bool temp1 = false ; @@ -9372,7 +9541,7 @@ static PyObject *_wrap_new_FontFromNativeInfoString(PyObject *, PyObject *args, static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxFontFamily arg2 ; int arg3 = (int) wxFONTFLAG_DEFAULT ; @@ -9392,16 +9561,16 @@ static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_FFont",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxFontFamily)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9414,14 +9583,14 @@ static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj4) { { - arg5 = (wxFontEncoding)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)new_wxFont(arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5); + result = (wxFont *)new_wxFont(arg1,arg2,arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9442,7 +9611,7 @@ static PyObject *_wrap_new_FFont(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = 0 ; int arg2 ; int arg3 ; @@ -9471,20 +9640,20 @@ static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObjec if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -9497,14 +9666,14 @@ static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObjec } if (obj6) { { - arg7 = (wxFontEncoding)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,(wxFontEncoding )arg7); + result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,arg4,arg5,(wxString const &)*arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9525,7 +9694,7 @@ static PyObject *_wrap_new_FontFromPixelSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = 0 ; wxFontFamily arg2 ; int arg3 = (int) wxFONTFLAG_DEFAULT ; @@ -9550,12 +9719,12 @@ static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObje if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail; } { - arg2 = (wxFontFamily)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9568,14 +9737,14 @@ static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg5 = (wxFontEncoding)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)new_wxFont((wxSize const &)*arg1,(wxFontFamily )arg2,arg3,(wxString const &)*arg4,(wxFontEncoding )arg5); + result = (wxFont *)new_wxFont((wxSize const &)*arg1,arg2,arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9596,7 +9765,7 @@ static PyObject *_wrap_new_FFontFromPixelSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9624,7 +9793,7 @@ static PyObject *_wrap_Font_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxFont *arg2 = (wxFont *) 0 ; bool result; @@ -9656,7 +9825,7 @@ static PyObject *_wrap_Font___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxFont *arg2 = (wxFont *) 0 ; bool result; @@ -9688,7 +9857,7 @@ static PyObject *_wrap_Font___ne__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9707,7 +9876,7 @@ static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9716,7 +9885,7 @@ static PyObject *_wrap_Font_GetPointSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -9736,7 +9905,7 @@ static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -9746,7 +9915,7 @@ static PyObject *_wrap_Font_GetPixelSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9774,7 +9943,7 @@ static PyObject *_wrap_Font_IsUsingSizeInPixels(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9793,7 +9962,7 @@ static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9802,7 +9971,7 @@ static PyObject *_wrap_Font_GetFamily(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9821,7 +9990,7 @@ static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9830,7 +9999,7 @@ static PyObject *_wrap_Font_GetStyle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9849,7 +10018,7 @@ static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9858,7 +10027,7 @@ static PyObject *_wrap_Font_GetWeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9886,7 +10055,7 @@ static PyObject *_wrap_Font_GetUnderlined(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9918,7 +10087,7 @@ static PyObject *_wrap_Font_GetFaceName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxFontEncoding result; PyObject * obj0 = 0 ; @@ -9944,7 +10113,7 @@ static PyObject *_wrap_Font_GetEncoding(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxNativeFontInfo *result; PyObject * obj0 = 0 ; @@ -9970,7 +10139,7 @@ static PyObject *_wrap_Font_GetNativeFontInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9998,7 +10167,7 @@ static PyObject *_wrap_Font_IsFixedWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10030,7 +10199,7 @@ static PyObject *_wrap_Font_GetNativeFontInfoDesc(PyObject *, PyObject *args, Py static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10062,7 +10231,7 @@ static PyObject *_wrap_Font_GetNativeFontInfoUserDesc(PyObject *, PyObject *args static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10075,7 +10244,7 @@ static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10093,7 +10262,7 @@ static PyObject *_wrap_Font_SetPointSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -10125,7 +10294,7 @@ static PyObject *_wrap_Font_SetPixelSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10138,7 +10307,7 @@ static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10156,7 +10325,7 @@ static PyObject *_wrap_Font_SetFamily(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10169,7 +10338,7 @@ static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10187,7 +10356,7 @@ static PyObject *_wrap_Font_SetStyle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10200,7 +10369,7 @@ static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10218,7 +10387,7 @@ static PyObject *_wrap_Font_SetWeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10259,7 +10428,7 @@ static PyObject *_wrap_Font_SetFaceName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -10272,7 +10441,7 @@ static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, 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; } { @@ -10290,7 +10459,7 @@ static PyObject *_wrap_Font_SetUnderlined(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxFontEncoding arg2 ; PyObject * obj0 = 0 ; @@ -10303,12 +10472,12 @@ static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetEncoding((wxFontEncoding )arg2); + (arg1)->SetEncoding(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10321,7 +10490,7 @@ static PyObject *_wrap_Font_SetEncoding(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxNativeFontInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -10356,7 +10525,7 @@ static PyObject *_wrap_Font_SetNativeFontInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10397,7 +10566,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoFromString(PyObject *, PyObject *ar static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10438,7 +10607,7 @@ static PyObject *_wrap_Font_SetNativeFontInfoUserDesc(PyObject *, PyObject *args static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10470,7 +10639,7 @@ static PyObject *_wrap_Font_GetFamilyString(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10502,7 +10671,7 @@ static PyObject *_wrap_Font_GetStyleString(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10534,7 +10703,7 @@ static PyObject *_wrap_Font_GetWeightString(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -10548,7 +10717,7 @@ static PyObject *_wrap_Font_SetNoAntiAliasing(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; } } @@ -10567,7 +10736,7 @@ static PyObject *_wrap_Font_SetNoAntiAliasing(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10595,7 +10764,7 @@ static PyObject *_wrap_Font_GetNoAntiAliasing(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding result; char *kwnames[] = { NULL @@ -10618,7 +10787,7 @@ static PyObject *_wrap_Font_GetDefaultEncoding(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10627,13 +10796,13 @@ static PyObject *_wrap_Font_SetDefaultEncoding(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Font_SetDefaultEncoding",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(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(); - wxFont::SetDefaultEncoding((wxFontEncoding )arg1); + wxFont::SetDefaultEncoding(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10653,7 +10822,7 @@ static PyObject * Font_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *result; char *kwnames[] = { NULL @@ -10676,7 +10845,7 @@ static PyObject *_wrap_new_FontEnumerator(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10701,7 +10870,7 @@ static PyObject *_wrap_delete_FontEnumerator(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10720,7 +10889,7 @@ static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *arg arg2 = obj1; arg3 = obj2; { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -10738,7 +10907,7 @@ static PyObject *_wrap_FontEnumerator__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; wxFontEncoding arg2 = (wxFontEncoding) wxFONTENCODING_SYSTEM ; bool arg3 = (bool) false ; @@ -10755,19 +10924,19 @@ static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *a if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxFontEncoding)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->EnumerateFacenames((wxFontEncoding )arg2,arg3); + result = (bool)(arg1)->EnumerateFacenames(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10782,7 +10951,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateFacenames(PyObject *, PyObject *a static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -10829,7 +10998,7 @@ static PyObject *_wrap_FontEnumerator_EnumerateEncodings(PyObject *, PyObject *a static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -10855,7 +11024,7 @@ static PyObject *_wrap_FontEnumerator_GetEncodings(PyObject *, PyObject *args, P static PyObject *_wrap_FontEnumerator_GetFacenames(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFontEnumerator *arg1 = (wxPyFontEnumerator *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -10888,7 +11057,7 @@ static PyObject * FontEnumerator_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10901,7 +11070,7 @@ static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLanguageInfo, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->Language = arg2; @@ -10914,7 +11083,7 @@ static PyObject *_wrap_LanguageInfo_Language_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10928,7 +11097,7 @@ static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyO result = (int) ((arg1)->Language); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10937,7 +11106,7 @@ static PyObject *_wrap_LanguageInfo_Language_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString *arg2 = (wxString *) 0 ; bool temp2 = false ; @@ -10973,7 +11142,7 @@ static PyObject *_wrap_LanguageInfo_CanonicalName_set(PyObject *, PyObject *args static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -11000,7 +11169,7 @@ static PyObject *_wrap_LanguageInfo_CanonicalName_get(PyObject *, PyObject *args static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString *arg2 = (wxString *) 0 ; bool temp2 = false ; @@ -11036,7 +11205,7 @@ static PyObject *_wrap_LanguageInfo_Description_set(PyObject *, PyObject *args, static PyObject *_wrap_LanguageInfo_Description_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = (wxLanguageInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -11070,7 +11239,7 @@ static PyObject * LanguageInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ; wxLocale *result; @@ -11083,13 +11252,13 @@ static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Locale",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -11108,7 +11277,7 @@ static PyObject *_wrap_new_Locale(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11133,7 +11302,7 @@ static PyObject *_wrap_delete_Locale(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -11180,13 +11349,13 @@ static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -11231,7 +11400,7 @@ static PyObject *_wrap_Locale_Init1(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; int arg2 = (int) wxLANGUAGE_DEFAULT ; int arg3 = (int) wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING ; @@ -11248,13 +11417,13 @@ static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11275,7 +11444,7 @@ static PyObject *_wrap_Locale_Init2(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -11290,7 +11459,7 @@ static PyObject *_wrap_Locale_GetSystemLanguage(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: @@ -11299,7 +11468,7 @@ static PyObject *_wrap_Locale_GetSystemLanguage(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding result; char *kwnames[] = { NULL @@ -11321,7 +11490,7 @@ static PyObject *_wrap_Locale_GetSystemEncoding(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -11349,7 +11518,7 @@ static PyObject *_wrap_Locale_GetSystemEncodingName(PyObject *, PyObject *args, static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11377,7 +11546,7 @@ static PyObject *_wrap_Locale_IsOk(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -11409,7 +11578,7 @@ static PyObject *_wrap_Locale_GetLocale(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11428,7 +11597,7 @@ static PyObject *_wrap_Locale_GetLanguage(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: @@ -11437,7 +11606,7 @@ static PyObject *_wrap_Locale_GetLanguage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -11469,7 +11638,7 @@ static PyObject *_wrap_Locale_GetSysName(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -11501,7 +11670,7 @@ static PyObject *_wrap_Locale_GetCanonicalName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -11538,7 +11707,7 @@ static PyObject *_wrap_Locale_AddCatalogLookupPathPrefix(PyObject *, PyObject *a static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; bool result; @@ -11582,7 +11751,7 @@ static PyObject *_wrap_Locale_AddCatalog(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; bool result; @@ -11626,7 +11795,7 @@ static PyObject *_wrap_Locale_IsLoaded(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxLanguageInfo *result; PyObject * obj0 = 0 ; @@ -11636,7 +11805,7 @@ static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageInfo",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -11654,7 +11823,7 @@ static PyObject *_wrap_Locale_GetLanguageInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxString result; PyObject * obj0 = 0 ; @@ -11664,7 +11833,7 @@ static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Locale_GetLanguageName",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -11688,7 +11857,7 @@ static PyObject *_wrap_Locale_GetLanguageName(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxLanguageInfo *result; bool temp1 = false ; @@ -11726,7 +11895,7 @@ static PyObject *_wrap_Locale_FindLanguageInfo(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLanguageInfo *arg1 = 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11757,7 +11926,7 @@ static PyObject *_wrap_Locale_AddLanguage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -11824,7 +11993,7 @@ static PyObject *_wrap_Locale_GetString(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Locale_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *arg1 = (wxLocale *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -11866,7 +12035,7 @@ static PyObject * Locale_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLocale *result; char *kwnames[] = { NULL @@ -11888,7 +12057,7 @@ static PyObject *_wrap_GetLocale(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -11929,7 +12098,7 @@ static PyObject *_wrap_GetTranslation__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; size_t arg3 ; @@ -11952,7 +12121,7 @@ static PyObject *_wrap_GetTranslation__SWIG_1(PyObject *, PyObject *args) { temp2 = true; } { - 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; } { @@ -12033,7 +12202,7 @@ static PyObject *_wrap_GetTranslation(PyObject *self, PyObject *args) { static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEncodingConverter *result; char *kwnames[] = { NULL @@ -12055,7 +12224,7 @@ static PyObject *_wrap_new_EncodingConverter(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12080,7 +12249,7 @@ static PyObject *_wrap_delete_EncodingConverter(PyObject *, PyObject *args, PyOb static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ; wxFontEncoding arg2 ; wxFontEncoding arg3 ; @@ -12098,22 +12267,22 @@ static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEncodingConverter, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (wxFontEncoding)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->Init((wxFontEncoding )arg2,(wxFontEncoding )arg3,arg4); + result = (bool)(arg1)->Init(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12128,7 +12297,7 @@ static PyObject *_wrap_EncodingConverter_Init(PyObject *, PyObject *args, PyObje static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEncodingConverter *arg1 = (wxEncodingConverter *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -12176,7 +12345,7 @@ static PyObject *_wrap_EncodingConverter_Convert(PyObject *, PyObject *args, PyO static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; int arg2 = (int) wxPLATFORM_CURRENT ; wxFontEncodingArray result; @@ -12188,18 +12357,18 @@ static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxFontEncoding)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxEncodingConverter::GetPlatformEquivalents((wxFontEncoding )arg1,arg2); + result = wxEncodingConverter::GetPlatformEquivalents(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12219,7 +12388,7 @@ static PyObject *_wrap_EncodingConverter_GetPlatformEquivalents(PyObject *, PyOb static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxFontEncodingArray result; PyObject * obj0 = 0 ; @@ -12229,12 +12398,12 @@ static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames,&obj0)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxEncodingConverter::GetAllEquivalents((wxFontEncoding )arg1); + result = wxEncodingConverter::GetAllEquivalents(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12254,7 +12423,7 @@ static PyObject *_wrap_EncodingConverter_GetAllEquivalents(PyObject *, PyObject static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontEncoding arg1 ; wxFontEncoding arg2 ; bool result; @@ -12266,16 +12435,16 @@ static PyObject *_wrap_EncodingConverter_CanConvert(PyObject *, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EncodingConverter_CanConvert",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxFontEncoding)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxFontEncoding)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxEncodingConverter::CanConvert((wxFontEncoding )arg1,(wxFontEncoding )arg2); + result = (bool)wxEncodingConverter::CanConvert(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -12297,7 +12466,7 @@ static PyObject * EncodingConverter_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12322,7 +12491,7 @@ static PyObject *_wrap_delete_DC(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_BeginDrawing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12347,7 +12516,7 @@ static PyObject *_wrap_DC_BeginDrawing(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_EndDrawing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12372,7 +12541,7 @@ static PyObject *_wrap_DC_EndDrawing(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12393,11 +12562,11 @@ static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12406,7 +12575,7 @@ static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -12427,7 +12596,7 @@ static PyObject *_wrap_DC_FloodFill(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -12456,7 +12625,7 @@ static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *k } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12477,7 +12646,7 @@ static PyObject *_wrap_DC_FloodFillPoint(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12493,11 +12662,11 @@ static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12509,7 +12678,7 @@ static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -12519,7 +12688,7 @@ static PyObject *_wrap_DC_GetPixel(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxColour result; @@ -12546,7 +12715,7 @@ static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kw } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -12556,7 +12725,7 @@ static PyObject *_wrap_DC_GetPixelPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12575,19 +12744,19 @@ static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12605,7 +12774,7 @@ static PyObject *_wrap_DC_DrawLine(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_DrawLinePoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -12644,7 +12813,7 @@ static PyObject *_wrap_DC_DrawLinePoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12659,11 +12828,11 @@ static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12681,7 +12850,7 @@ static PyObject *_wrap_DC_CrossHair(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_CrossHairPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -12713,7 +12882,7 @@ static PyObject *_wrap_DC_CrossHairPoint(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12736,27 +12905,27 @@ static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -12774,7 +12943,7 @@ static PyObject *_wrap_DC_DrawArc(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_DrawArcPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -12820,7 +12989,7 @@ static PyObject *_wrap_DC_DrawArcPoint(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12839,19 +13008,19 @@ static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12869,7 +13038,7 @@ static PyObject *_wrap_DC_DrawCheckMark(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -12901,7 +13070,7 @@ static PyObject *_wrap_DC_DrawCheckMarkRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -12924,27 +13093,27 @@ static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { - arg6 = (double)(SWIG_As_double(obj5)); + arg6 = static_cast(SWIG_As_double(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (double)(SWIG_As_double(obj6)); + arg7 = static_cast(SWIG_As_double(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -12962,7 +13131,7 @@ static PyObject *_wrap_DC_DrawEllipticArc(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -12991,11 +13160,11 @@ static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, P if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (double)(SWIG_As_double(obj3)); + arg4 = static_cast(SWIG_As_double(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (double)(SWIG_As_double(obj4)); + arg5 = static_cast(SWIG_As_double(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -13013,7 +13182,7 @@ static PyObject *_wrap_DC_DrawEllipticArcPointSize(PyObject *, PyObject *args, P static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13028,11 +13197,11 @@ static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13050,7 +13219,7 @@ static PyObject *_wrap_DC_DrawPoint(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_DrawPointPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -13082,7 +13251,7 @@ static PyObject *_wrap_DC_DrawPointPoint(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13101,19 +13270,19 @@ static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13131,7 +13300,7 @@ static PyObject *_wrap_DC_DrawRectangle(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -13163,7 +13332,7 @@ static PyObject *_wrap_DC_DrawRectangleRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -13202,7 +13371,7 @@ static PyObject *_wrap_DC_DrawRectanglePointSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13223,23 +13392,23 @@ static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { - arg6 = (double)(SWIG_As_double(obj5)); + arg6 = static_cast(SWIG_As_double(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -13257,7 +13426,7 @@ static PyObject *_wrap_DC_DrawRoundedRectangle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; double arg3 ; @@ -13277,7 +13446,7 @@ static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, P if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13295,7 +13464,7 @@ static PyObject *_wrap_DC_DrawRoundedRectangleRect(PyObject *, PyObject *args, P static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -13322,7 +13491,7 @@ static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *ar if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (double)(SWIG_As_double(obj3)); + arg4 = static_cast(SWIG_As_double(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13340,7 +13509,7 @@ static PyObject *_wrap_DC_DrawRoundedRectanglePointSize(PyObject *, PyObject *ar static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13357,15 +13526,15 @@ static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13383,7 +13552,7 @@ static PyObject *_wrap_DC_DrawCircle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; int arg3 ; @@ -13403,7 +13572,7 @@ static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject * if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13421,7 +13590,7 @@ static PyObject *_wrap_DC_DrawCirclePoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13440,19 +13609,19 @@ static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13470,7 +13639,7 @@ static PyObject *_wrap_DC_DrawEllipse(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -13502,7 +13671,7 @@ static PyObject *_wrap_DC_DrawEllipseRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -13541,7 +13710,7 @@ static PyObject *_wrap_DC_DrawEllipsePointSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxIcon *arg2 = 0 ; int arg3 ; @@ -13566,11 +13735,11 @@ static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13588,7 +13757,7 @@ static PyObject *_wrap_DC_DrawIcon(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_DrawIconPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxIcon *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13630,7 +13799,7 @@ static PyObject *_wrap_DC_DrawIconPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBitmap *arg2 = 0 ; int arg3 ; @@ -13657,16 +13826,16 @@ static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (bool)(SWIG_As_bool(obj4)); + arg5 = static_cast(SWIG_As_bool(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -13685,7 +13854,7 @@ static PyObject *_wrap_DC_DrawBitmap(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBitmap *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13716,7 +13885,7 @@ static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject * } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13735,7 +13904,7 @@ static PyObject *_wrap_DC_DrawBitmapPoint(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -13758,11 +13927,11 @@ static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) temp2 = true; } { - 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; } { @@ -13788,7 +13957,7 @@ static PyObject *_wrap_DC_DrawText(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_DrawTextPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13836,7 +14005,7 @@ static PyObject *_wrap_DC_DrawTextPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -13861,15 +14030,15 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject * temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (double)(SWIG_As_double(obj4)); + arg5 = static_cast(SWIG_As_double(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -13895,7 +14064,7 @@ static PyObject *_wrap_DC_DrawRotatedText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -13923,7 +14092,7 @@ static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObj if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (double)(SWIG_As_double(obj3)); + arg4 = static_cast(SWIG_As_double(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13949,7 +14118,7 @@ static PyObject *_wrap_DC_DrawRotatedTextPoint(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -13983,52 +14152,52 @@ static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(6)) SWIG_fail; { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (bool)(SWIG_As_bool(obj9)); + arg10 = static_cast(SWIG_As_bool(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } if (obj10) { { - arg11 = (int)(SWIG_As_int(obj10)); + arg11 = static_cast(SWIG_As_int(obj10)); if (SWIG_arg_fail(11)) SWIG_fail; } } if (obj11) { { - arg12 = (int)(SWIG_As_int(obj11)); + arg12 = static_cast(SWIG_As_int(obj11)); if (SWIG_arg_fail(12)) SWIG_fail; } } @@ -14049,7 +14218,7 @@ static PyObject *_wrap_DC_Blit(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -14095,13 +14264,13 @@ static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kw } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -14128,7 +14297,7 @@ static PyObject *_wrap_DC_BlitPointSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -14147,19 +14316,19 @@ static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14177,7 +14346,7 @@ static PyObject *_wrap_DC_SetClippingRegion(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxSize *arg3 = 0 ; @@ -14216,7 +14385,7 @@ static PyObject *_wrap_DC_SetClippingRegionPointSize(PyObject *, PyObject *args, static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRegion *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14251,7 +14420,7 @@ static PyObject *_wrap_DC_SetClippingRegionAsRegion(PyObject *, PyObject *args, static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -14283,7 +14452,7 @@ static PyObject *_wrap_DC_SetClippingRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; @@ -14306,13 +14475,13 @@ static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs } if (obj2) { { - arg4 = (int)(SWIG_As_int(obj2)); + arg4 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj3) { { - arg5 = (int)(SWIG_As_int(obj3)); + arg5 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -14337,7 +14506,7 @@ static PyObject *_wrap_DC_DrawLines(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; @@ -14362,19 +14531,19 @@ static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg4 = (int)(SWIG_As_int(obj2)); + arg4 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj3) { { - arg5 = (int)(SWIG_As_int(obj3)); + arg5 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj4) { { - arg6 = (int)(SWIG_As_int(obj4)); + arg6 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -14399,7 +14568,7 @@ static PyObject *_wrap_DC_DrawPolygon(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxRect *arg3 = 0 ; @@ -14430,13 +14599,13 @@ static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -14463,7 +14632,7 @@ static PyObject *_wrap_DC_DrawLabel(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxBitmap *arg3 = 0 ; @@ -14505,13 +14674,13 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *k } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -14524,7 +14693,7 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } { @@ -14542,7 +14711,7 @@ static PyObject *_wrap_DC_DrawImageLabel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; wxPoint *arg3 = (wxPoint *) 0 ; @@ -14580,7 +14749,7 @@ static PyObject *_wrap_DC_DrawSpline(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14605,7 +14774,7 @@ static PyObject *_wrap_DC_Clear(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; bool result; @@ -14649,7 +14818,7 @@ static PyObject *_wrap_DC_StartDoc(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14674,7 +14843,7 @@ static PyObject *_wrap_DC_EndDoc(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14699,7 +14868,7 @@ static PyObject *_wrap_DC_StartPage(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14724,7 +14893,7 @@ static PyObject *_wrap_DC_EndPage(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14759,7 +14928,7 @@ static PyObject *_wrap_DC_SetFont(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPen *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14794,7 +14963,7 @@ static PyObject *_wrap_DC_SetPen(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBrush *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14829,7 +14998,7 @@ static PyObject *_wrap_DC_SetBrush(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBrush *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14864,7 +15033,7 @@ static PyObject *_wrap_DC_SetBackground(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14877,7 +15046,7 @@ static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14895,7 +15064,7 @@ static PyObject *_wrap_DC_SetBackgroundMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPalette *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14930,7 +15099,7 @@ static PyObject *_wrap_DC_SetPalette(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14955,7 +15124,7 @@ static PyObject *_wrap_DC_DestroyClippingRegion(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -15004,7 +15173,7 @@ static PyObject *_wrap_DC_GetClippingBox(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -15024,7 +15193,7 @@ static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject * } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -15034,7 +15203,7 @@ static PyObject *_wrap_DC_GetClippingRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15053,7 +15222,7 @@ static PyObject *_wrap_DC_GetCharHeight(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: @@ -15062,7 +15231,7 @@ static PyObject *_wrap_DC_GetCharHeight(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15081,7 +15250,7 @@ static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15090,7 +15259,7 @@ static PyObject *_wrap_DC_GetCharWidth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -15143,7 +15312,7 @@ static PyObject *_wrap_DC_GetTextExtent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -15214,7 +15383,7 @@ static PyObject *_wrap_DC_GetFullTextExtent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -15279,7 +15448,7 @@ static PyObject *_wrap_DC_GetMultiLineTextExtent(PyObject *, PyObject *args, PyO static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxString *arg2 = 0 ; wxArrayInt result; @@ -15329,7 +15498,7 @@ static PyObject *_wrap_DC_GetPartialTextExtents(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -15349,7 +15518,7 @@ static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -15359,7 +15528,7 @@ static PyObject *_wrap_DC_GetSize(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -15396,7 +15565,7 @@ static PyObject *_wrap_DC_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -15416,7 +15585,7 @@ static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -15426,7 +15595,7 @@ static PyObject *_wrap_DC_GetSizeMM(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -15463,7 +15632,7 @@ static PyObject *_wrap_DC_GetSizeMMTuple(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15477,7 +15646,7 @@ static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15488,7 +15657,7 @@ static PyObject *_wrap_DC_DeviceToLogicalX(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: @@ -15497,7 +15666,7 @@ static PyObject *_wrap_DC_DeviceToLogicalX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15511,7 +15680,7 @@ static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15522,7 +15691,7 @@ static PyObject *_wrap_DC_DeviceToLogicalY(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: @@ -15531,7 +15700,7 @@ static PyObject *_wrap_DC_DeviceToLogicalY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15545,7 +15714,7 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15556,7 +15725,7 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(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: @@ -15565,7 +15734,7 @@ static PyObject *_wrap_DC_DeviceToLogicalXRel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15579,7 +15748,7 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15590,7 +15759,7 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(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: @@ -15599,7 +15768,7 @@ static PyObject *_wrap_DC_DeviceToLogicalYRel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15613,7 +15782,7 @@ static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15624,7 +15793,7 @@ static PyObject *_wrap_DC_LogicalToDeviceX(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: @@ -15633,7 +15802,7 @@ static PyObject *_wrap_DC_LogicalToDeviceX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15647,7 +15816,7 @@ static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15658,7 +15827,7 @@ static PyObject *_wrap_DC_LogicalToDeviceY(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: @@ -15667,7 +15836,7 @@ static PyObject *_wrap_DC_LogicalToDeviceY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15681,7 +15850,7 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15692,7 +15861,7 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(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: @@ -15701,7 +15870,7 @@ static PyObject *_wrap_DC_LogicalToDeviceXRel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int result; @@ -15715,7 +15884,7 @@ static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15726,7 +15895,7 @@ static PyObject *_wrap_DC_LogicalToDeviceYRel(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: @@ -15735,7 +15904,7 @@ static PyObject *_wrap_DC_LogicalToDeviceYRel(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15763,7 +15932,7 @@ static PyObject *_wrap_DC_CanDrawBitmap(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15791,7 +15960,7 @@ static PyObject *_wrap_DC_CanGetTextExtent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15810,7 +15979,7 @@ static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15819,7 +15988,7 @@ static PyObject *_wrap_DC_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -15839,7 +16008,7 @@ static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) { } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -15849,7 +16018,7 @@ static PyObject *_wrap_DC_GetPPI(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15877,7 +16046,7 @@ static PyObject *_wrap_DC_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15896,7 +16065,7 @@ static PyObject *_wrap_DC_GetBackgroundMode(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: @@ -15905,7 +16074,7 @@ static PyObject *_wrap_DC_GetBackgroundMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBrush *result; PyObject * obj0 = 0 ; @@ -15937,7 +16106,7 @@ static PyObject *_wrap_DC_GetBackground(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxBrush *result; PyObject * obj0 = 0 ; @@ -15969,7 +16138,7 @@ static PyObject *_wrap_DC_GetBrush(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -16001,7 +16170,7 @@ static PyObject *_wrap_DC_GetFont(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPen *result; PyObject * obj0 = 0 ; @@ -16033,7 +16202,7 @@ static PyObject *_wrap_DC_GetPen(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -16062,7 +16231,7 @@ static PyObject *_wrap_DC_GetTextBackground(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -16091,7 +16260,7 @@ static PyObject *_wrap_DC_GetTextForeground(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -16123,7 +16292,7 @@ static PyObject *_wrap_DC_SetTextForeground(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -16155,7 +16324,7 @@ static PyObject *_wrap_DC_SetTextBackground(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16174,7 +16343,7 @@ static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16183,7 +16352,7 @@ static PyObject *_wrap_DC_GetMapMode(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16196,7 +16365,7 @@ static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16214,7 +16383,7 @@ static PyObject *_wrap_DC_SetMapMode(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ; @@ -16251,7 +16420,7 @@ static PyObject *_wrap_DC_GetUserScale(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; double arg2 ; double arg3 ; @@ -16266,11 +16435,11 @@ static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, 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; } { @@ -16288,7 +16457,7 @@ static PyObject *_wrap_DC_SetUserScale(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; double *arg2 = (double *) 0 ; double *arg3 = (double *) 0 ; @@ -16325,7 +16494,7 @@ static PyObject *_wrap_DC_GetLogicalScale(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; double arg2 ; double arg3 ; @@ -16340,11 +16509,11 @@ static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, 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; } { @@ -16362,7 +16531,7 @@ static PyObject *_wrap_DC_SetLogicalScale(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -16382,7 +16551,7 @@ static PyObject *_wrap_DC_GetLogicalOrigin(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; @@ -16392,7 +16561,7 @@ static PyObject *_wrap_DC_GetLogicalOrigin(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -16429,7 +16598,7 @@ static PyObject *_wrap_DC_GetLogicalOriginTuple(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -16444,11 +16613,11 @@ static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16466,7 +16635,7 @@ static PyObject *_wrap_DC_SetLogicalOrigin(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -16498,7 +16667,7 @@ static PyObject *_wrap_DC_SetLogicalOriginPoint(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -16518,7 +16687,7 @@ static PyObject *_wrap_DC_GetDeviceOrigin(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; @@ -16528,7 +16697,7 @@ static PyObject *_wrap_DC_GetDeviceOrigin(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -16565,7 +16734,7 @@ static PyObject *_wrap_DC_GetDeviceOriginTuple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -16580,11 +16749,11 @@ static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16602,7 +16771,7 @@ static PyObject *_wrap_DC_SetDeviceOrigin(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -16634,7 +16803,7 @@ static PyObject *_wrap_DC_SetDeviceOriginPoint(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; bool arg2 ; bool arg3 ; @@ -16649,11 +16818,11 @@ static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, 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; } { @@ -16671,7 +16840,7 @@ static PyObject *_wrap_DC_SetAxisOrientation(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16690,7 +16859,7 @@ static PyObject *_wrap_DC_GetLogicalFunction(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: @@ -16699,7 +16868,7 @@ static PyObject *_wrap_DC_GetLogicalFunction(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16712,7 +16881,7 @@ static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16730,7 +16899,7 @@ static PyObject *_wrap_DC_SetLogicalFunction(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DC_ComputeScaleAndOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16755,7 +16924,7 @@ static PyObject *_wrap_DC_ComputeScaleAndOrigin(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int arg2 ; int arg3 ; @@ -16770,11 +16939,11 @@ static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16792,7 +16961,7 @@ static PyObject *_wrap_DC_CalcBoundingBox(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -16824,7 +16993,7 @@ static PyObject *_wrap_DC_CalcBoundingBoxPoint(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16849,7 +17018,7 @@ static PyObject *_wrap_DC_ResetBoundingBox(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16868,7 +17037,7 @@ static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16877,7 +17046,7 @@ static PyObject *_wrap_DC_MinX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16896,7 +17065,7 @@ static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16905,7 +17074,7 @@ static PyObject *_wrap_DC_MaxX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16924,7 +17093,7 @@ static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16933,7 +17102,7 @@ static PyObject *_wrap_DC_MinY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16952,7 +17121,7 @@ static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16961,7 +17130,7 @@ static PyObject *_wrap_DC_MaxY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -17010,7 +17179,7 @@ static PyObject *_wrap_DC_GetBoundingBox(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17045,7 +17214,7 @@ static PyObject *_wrap_DC__DrawPointList(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17080,7 +17249,7 @@ static PyObject *_wrap_DC__DrawLineList(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17115,7 +17284,7 @@ static PyObject *_wrap_DC__DrawRectangleList(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17150,7 +17319,7 @@ static PyObject *_wrap_DC__DrawEllipseList(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17185,7 +17354,7 @@ static PyObject *_wrap_DC__DrawPolygonList(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DC__DrawTextList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17230,7 +17399,7 @@ static PyObject * DC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryDC *result; char *kwnames[] = { NULL @@ -17253,7 +17422,7 @@ static PyObject *_wrap_new_MemoryDC(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxMemoryDC *result; PyObject * obj0 = 0 ; @@ -17280,7 +17449,7 @@ static PyObject *_wrap_new_MemoryDCFromDC(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MemoryDC_SelectObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryDC *arg1 = (wxMemoryDC *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -17322,34 +17491,29 @@ static PyObject * MemoryDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; - wxBitmap const &arg2_defvalue = wxNullBitmap ; - wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ; - int arg3 = (int) wxBUFFER_CLIENT_AREA ; + wxBitmap *arg2 = 0 ; + int arg3 ; wxBufferedDC *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"O|OO:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - if (obj1) { - { - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(2)) SWIG_fail; - if (arg2 == NULL) { - SWIG_null_ref("wxBitmap"); - } - if (SWIG_arg_fail(2)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxBitmap"); } + if (SWIG_arg_fail(2)) SWIG_fail; } - if (obj2) { - { - arg3 = (int)(SWIG_As_int(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; - } + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; @@ -17367,28 +17531,84 @@ static PyObject *_wrap_new_BufferedDC__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; + wxDC *arg1 = (wxDC *) 0 ; + wxBitmap *arg2 = 0 ; + wxBufferedDC *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxBitmap"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxBitmap const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_BufferedDC__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxDC *arg1 = (wxDC *) 0 ; + wxBufferedDC *result; + PyObject * obj0 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"O:new_BufferedDC",&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxBufferedDC *)new wxBufferedDC(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_BufferedDC__SWIG_3(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxDC *arg1 = (wxDC *) 0 ; wxSize *arg2 = 0 ; - int arg3 = (int) wxBUFFER_CLIENT_AREA ; + int arg3 ; wxBufferedDC *result; wxSize temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO|O:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:new_BufferedDC",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; } - if (obj2) { - { - arg3 = (int)(SWIG_As_int(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; - } + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; @@ -17405,6 +17625,37 @@ static PyObject *_wrap_new_BufferedDC__SWIG_1(PyObject *, PyObject *args) { } +static PyObject *_wrap_new_BufferedDC__SWIG_4(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxDC *arg1 = (wxDC *) 0 ; + wxSize *arg2 = 0 ; + wxBufferedDC *result; + wxSize temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:new_BufferedDC",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxBufferedDC *)new wxBufferedDC(arg1,(wxSize const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBufferedDC, 1); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; @@ -17414,7 +17665,7 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { for (ii = 0; (ii < argc) && (ii < 3); ii++) { argv[ii] = PyTuple_GetItem(args,ii); } - if ((argc >= 1) && (argc <= 3)) { + if (argc == 1) { int _v; { void *ptr; @@ -17426,9 +17677,21 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { } } if (_v) { - if (argc <= 1) { - return _wrap_new_BufferedDC__SWIG_0(self,args); + return _wrap_new_BufferedDC__SWIG_2(self,args); + } + } + if (argc == 2) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; } + } + if (_v) { { void *ptr = 0; if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) { @@ -17439,17 +17702,54 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { } } if (_v) { - if (argc <= 2) { - return _wrap_new_BufferedDC__SWIG_0(self,args); - } + return _wrap_new_BufferedDC__SWIG_1(self,args); + } + } + } + if (argc == 2) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2); + } + if (_v) { + return _wrap_new_BufferedDC__SWIG_4(self,args); + } + } + } + if (argc == 3) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDC, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2); + } + if (_v) { _v = SWIG_Check_int(argv[2]); if (_v) { - return _wrap_new_BufferedDC__SWIG_0(self,args); + return _wrap_new_BufferedDC__SWIG_3(self,args); } } } } - if ((argc >= 2) && (argc <= 3)) { + if (argc == 3) { int _v; { void *ptr; @@ -17462,15 +17762,18 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { } if (_v) { { - _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2); + void *ptr = 0; + if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxBitmap, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = (ptr != 0); + } } if (_v) { - if (argc <= 2) { - return _wrap_new_BufferedDC__SWIG_1(self,args); - } _v = SWIG_Check_int(argv[2]); if (_v) { - return _wrap_new_BufferedDC__SWIG_1(self,args); + return _wrap_new_BufferedDC__SWIG_0(self,args); } } } @@ -17482,7 +17785,7 @@ static PyObject *_wrap_new_BufferedDC(PyObject *self, PyObject *args) { static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBufferedDC *arg1 = (wxBufferedDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17507,7 +17810,7 @@ static PyObject *_wrap_delete_BufferedDC(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_BufferedDC_UnMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBufferedDC *arg1 = (wxBufferedDC *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17539,7 +17842,7 @@ static PyObject * BufferedDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BufferedPaintDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBitmap const &arg2_defvalue = wxNullBitmap ; wxBitmap *arg2 = (wxBitmap *) &arg2_defvalue ; @@ -17567,7 +17870,7 @@ static PyObject *_wrap_new_BufferedPaintDC(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; } } @@ -17594,7 +17897,7 @@ static PyObject * BufferedPaintDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScreenDC *result; char *kwnames[] = { NULL @@ -17617,7 +17920,7 @@ static PyObject *_wrap_new_ScreenDC(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScreenDC *arg1 = (wxScreenDC *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -17649,7 +17952,7 @@ static PyObject *_wrap_ScreenDC_StartDrawingOnTopWin(PyObject *, PyObject *args, static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScreenDC *arg1 = (wxScreenDC *) 0 ; wxRect *arg2 = (wxRect *) NULL ; bool result; @@ -17683,7 +17986,7 @@ static PyObject *_wrap_ScreenDC_StartDrawingOnTop(PyObject *, PyObject *args, Py static PyObject *_wrap_ScreenDC_EndDrawingOnTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScreenDC *arg1 = (wxScreenDC *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17718,7 +18021,7 @@ static PyObject * ScreenDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ClientDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxClientDC *result; PyObject * obj0 = 0 ; @@ -17752,7 +18055,7 @@ static PyObject * ClientDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PaintDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPaintDC *result; PyObject * obj0 = 0 ; @@ -17786,7 +18089,7 @@ static PyObject * PaintDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowDC *result; PyObject * obj0 = 0 ; @@ -17820,7 +18123,7 @@ static PyObject * WindowDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDC *arg1 = 0 ; bool arg2 ; wxMirrorDC *result; @@ -17840,7 +18143,7 @@ static PyObject *_wrap_new_MirrorDC(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -17866,7 +18169,7 @@ static PyObject * MirrorDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = 0 ; wxPostScriptDC *result; PyObject * obj0 = 0 ; @@ -17899,7 +18202,7 @@ static PyObject *_wrap_new_PostScriptDC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ; wxPrintData *result; PyObject * obj0 = 0 ; @@ -17928,7 +18231,7 @@ static PyObject *_wrap_PostScriptDC_GetPrintData(PyObject *, PyObject *args, PyO static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPostScriptDC *arg1 = (wxPostScriptDC *) 0 ; wxPrintData *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -17963,7 +18266,7 @@ static PyObject *_wrap_PostScriptDC_SetPrintData(PyObject *, PyObject *args, PyO static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17972,7 +18275,7 @@ static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PostScriptDC_SetResolution",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -17990,7 +18293,7 @@ static PyObject *_wrap_PostScriptDC_SetResolution(PyObject *, PyObject *args, Py static PyObject *_wrap_PostScriptDC_GetResolution(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -18005,7 +18308,7 @@ static PyObject *_wrap_PostScriptDC_GetResolution(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: @@ -18021,7 +18324,7 @@ static PyObject * PostScriptDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxMetaFile *result; @@ -18063,7 +18366,7 @@ static PyObject *_wrap_new_MetaFile(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_MetaFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetaFile *arg1 = (wxMetaFile *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18088,7 +18391,7 @@ static PyObject *_wrap_delete_MetaFile(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MetaFile_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetaFile *arg1 = (wxMetaFile *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18116,7 +18419,7 @@ static PyObject *_wrap_MetaFile_Ok(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_MetaFile_SetClipboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetaFile *arg1 = (wxMetaFile *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -18133,13 +18436,13 @@ static PyObject *_wrap_MetaFile_SetClipboard(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 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -18160,7 +18463,7 @@ static PyObject *_wrap_MetaFile_SetClipboard(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MetaFile_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetaFile *arg1 = (wxMetaFile *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -18180,7 +18483,7 @@ static PyObject *_wrap_MetaFile_GetSize(PyObject *, PyObject *args, PyObject *kw } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -18190,7 +18493,7 @@ static PyObject *_wrap_MetaFile_GetSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MetaFile_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetaFile *arg1 = (wxMetaFile *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18209,7 +18512,7 @@ static PyObject *_wrap_MetaFile_GetWidth(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18218,7 +18521,7 @@ static PyObject *_wrap_MetaFile_GetWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MetaFile_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetaFile *arg1 = (wxMetaFile *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18237,7 +18540,7 @@ static PyObject *_wrap_MetaFile_GetHeight(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18253,7 +18556,7 @@ static PyObject * MetaFile_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -18281,13 +18584,13 @@ static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwar } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -18330,7 +18633,7 @@ static PyObject *_wrap_new_MetaFileDC(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MetaFileDC_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetaFileDC *arg1 = (wxMetaFileDC *) 0 ; wxMetaFile *result; PyObject * obj0 = 0 ; @@ -18363,7 +18666,7 @@ static PyObject * MetaFileDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PrinterDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = 0 ; wxPrinterDC *result; PyObject * obj0 = 0 ; @@ -18403,7 +18706,7 @@ static PyObject * PrinterDC_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 = (int) true ; @@ -18419,22 +18722,22 @@ static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_ImageList",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -18456,7 +18759,7 @@ static PyObject *_wrap_new_ImageList(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18481,7 +18784,7 @@ static PyObject *_wrap_delete_ImageList(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; wxBitmap *arg2 = 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -18523,7 +18826,7 @@ static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18532,7 +18835,7 @@ static PyObject *_wrap_ImageList_Add(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; wxBitmap *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -18568,7 +18871,7 @@ static PyObject *_wrap_ImageList_AddWithColourMask(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: @@ -18577,7 +18880,7 @@ static PyObject *_wrap_ImageList_AddWithColourMask(PyObject *, PyObject *args, P static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; wxIcon *arg2 = 0 ; int result; @@ -18606,7 +18909,7 @@ static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18615,7 +18918,7 @@ static PyObject *_wrap_ImageList_AddIcon(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; SwigValueWrapper result; @@ -18629,7 +18932,7 @@ static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18641,7 +18944,7 @@ static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -18651,7 +18954,7 @@ static PyObject *_wrap_ImageList_GetBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; wxIcon result; @@ -18665,7 +18968,7 @@ static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18677,7 +18980,7 @@ static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *k } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } return resultobj; @@ -18687,7 +18990,7 @@ static PyObject *_wrap_ImageList_GetIcon(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; wxBitmap *arg3 = 0 ; @@ -18703,7 +19006,7 @@ static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18731,7 +19034,7 @@ static PyObject *_wrap_ImageList_Replace(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; wxDC *arg3 = 0 ; @@ -18755,7 +19058,7 @@ static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18767,22 +19070,22 @@ static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwar 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 = (bool const)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -18803,7 +19106,7 @@ static PyObject *_wrap_ImageList_Draw(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18822,7 +19125,7 @@ static PyObject *_wrap_ImageList_GetImageCount(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: @@ -18831,7 +19134,7 @@ static PyObject *_wrap_ImageList_GetImageCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; bool result; @@ -18845,7 +19148,7 @@ static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18865,7 +19168,7 @@ static PyObject *_wrap_ImageList_Remove(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18893,7 +19196,7 @@ static PyObject *_wrap_ImageList_RemoveAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageList *arg1 = (wxImageList *) 0 ; int arg2 ; int *arg3 = 0 ; @@ -18914,7 +19217,7 @@ static PyObject *_wrap_ImageList_GetSize(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18949,7 +19252,7 @@ static int _wrap_NORMAL_FONT_set(PyObject *) { static PyObject *_wrap_NORMAL_FONT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxNORMAL_FONT), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -18963,7 +19266,7 @@ static int _wrap_SMALL_FONT_set(PyObject *) { static PyObject *_wrap_SMALL_FONT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxSMALL_FONT), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -18977,7 +19280,7 @@ static int _wrap_ITALIC_FONT_set(PyObject *) { static PyObject *_wrap_ITALIC_FONT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxITALIC_FONT), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -18991,7 +19294,7 @@ static int _wrap_SWISS_FONT_set(PyObject *) { static PyObject *_wrap_SWISS_FONT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxSWISS_FONT), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -19005,7 +19308,7 @@ static int _wrap_RED_PEN_set(PyObject *) { static PyObject *_wrap_RED_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxRED_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19019,7 +19322,7 @@ static int _wrap_CYAN_PEN_set(PyObject *) { static PyObject *_wrap_CYAN_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxCYAN_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19033,7 +19336,7 @@ static int _wrap_GREEN_PEN_set(PyObject *) { static PyObject *_wrap_GREEN_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREEN_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19047,7 +19350,7 @@ static int _wrap_BLACK_PEN_set(PyObject *) { static PyObject *_wrap_BLACK_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLACK_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19061,7 +19364,7 @@ static int _wrap_WHITE_PEN_set(PyObject *) { static PyObject *_wrap_WHITE_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxWHITE_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19075,7 +19378,7 @@ static int _wrap_TRANSPARENT_PEN_set(PyObject *) { static PyObject *_wrap_TRANSPARENT_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19089,7 +19392,7 @@ static int _wrap_BLACK_DASHED_PEN_set(PyObject *) { static PyObject *_wrap_BLACK_DASHED_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLACK_DASHED_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19103,7 +19406,7 @@ static int _wrap_GREY_PEN_set(PyObject *) { static PyObject *_wrap_GREY_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREY_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19117,7 +19420,7 @@ static int _wrap_MEDIUM_GREY_PEN_set(PyObject *) { static PyObject *_wrap_MEDIUM_GREY_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19131,7 +19434,7 @@ static int _wrap_LIGHT_GREY_PEN_set(PyObject *) { static PyObject *_wrap_LIGHT_GREY_PEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_PEN), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19145,7 +19448,7 @@ static int _wrap_BLUE_BRUSH_set(PyObject *) { static PyObject *_wrap_BLUE_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLUE_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19159,7 +19462,7 @@ static int _wrap_GREEN_BRUSH_set(PyObject *) { static PyObject *_wrap_GREEN_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREEN_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19173,7 +19476,7 @@ static int _wrap_WHITE_BRUSH_set(PyObject *) { static PyObject *_wrap_WHITE_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxWHITE_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19187,7 +19490,7 @@ static int _wrap_BLACK_BRUSH_set(PyObject *) { static PyObject *_wrap_BLACK_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLACK_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19201,7 +19504,7 @@ static int _wrap_TRANSPARENT_BRUSH_set(PyObject *) { static PyObject *_wrap_TRANSPARENT_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTRANSPARENT_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19215,7 +19518,7 @@ static int _wrap_CYAN_BRUSH_set(PyObject *) { static PyObject *_wrap_CYAN_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxCYAN_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19229,7 +19532,7 @@ static int _wrap_RED_BRUSH_set(PyObject *) { static PyObject *_wrap_RED_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxRED_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19243,7 +19546,7 @@ static int _wrap_GREY_BRUSH_set(PyObject *) { static PyObject *_wrap_GREY_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREY_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19257,7 +19560,7 @@ static int _wrap_MEDIUM_GREY_BRUSH_set(PyObject *) { static PyObject *_wrap_MEDIUM_GREY_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxMEDIUM_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19271,7 +19574,7 @@ static int _wrap_LIGHT_GREY_BRUSH_set(PyObject *) { static PyObject *_wrap_LIGHT_GREY_BRUSH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY_BRUSH), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19285,7 +19588,7 @@ static int _wrap_BLACK_set(PyObject *) { static PyObject *_wrap_BLACK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLACK), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19299,7 +19602,7 @@ static int _wrap_WHITE_set(PyObject *) { static PyObject *_wrap_WHITE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxWHITE), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19313,7 +19616,7 @@ static int _wrap_RED_set(PyObject *) { static PyObject *_wrap_RED_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxRED), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19327,7 +19630,7 @@ static int _wrap_BLUE_set(PyObject *) { static PyObject *_wrap_BLUE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxBLUE), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19341,7 +19644,7 @@ static int _wrap_GREEN_set(PyObject *) { static PyObject *_wrap_GREEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxGREEN), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19355,7 +19658,7 @@ static int _wrap_CYAN_set(PyObject *) { static PyObject *_wrap_CYAN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxCYAN), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19369,7 +19672,7 @@ static int _wrap_LIGHT_GREY_set(PyObject *) { static PyObject *_wrap_LIGHT_GREY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxLIGHT_GREY), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19383,7 +19686,7 @@ static int _wrap_STANDARD_CURSOR_set(PyObject *) { static PyObject *_wrap_STANDARD_CURSOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxSTANDARD_CURSOR), SWIGTYPE_p_wxCursor, 0); return pyobj; @@ -19397,7 +19700,7 @@ static int _wrap_HOURGLASS_CURSOR_set(PyObject *) { static PyObject *_wrap_HOURGLASS_CURSOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxHOURGLASS_CURSOR), SWIGTYPE_p_wxCursor, 0); return pyobj; @@ -19411,7 +19714,7 @@ static int _wrap_CROSS_CURSOR_set(PyObject *) { static PyObject *_wrap_CROSS_CURSOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxCROSS_CURSOR), SWIGTYPE_p_wxCursor, 0); return pyobj; @@ -19425,7 +19728,7 @@ static int _wrap_NullBitmap_set(PyObject *) { static PyObject *_wrap_NullBitmap_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullBitmap), SWIGTYPE_p_wxBitmap, 0); return pyobj; @@ -19439,7 +19742,7 @@ static int _wrap_NullIcon_set(PyObject *) { static PyObject *_wrap_NullIcon_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullIcon), SWIGTYPE_p_wxIcon, 0); return pyobj; @@ -19453,7 +19756,7 @@ static int _wrap_NullCursor_set(PyObject *) { static PyObject *_wrap_NullCursor_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullCursor), SWIGTYPE_p_wxCursor, 0); return pyobj; @@ -19467,7 +19770,7 @@ static int _wrap_NullPen_set(PyObject *) { static PyObject *_wrap_NullPen_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullPen), SWIGTYPE_p_wxPen, 0); return pyobj; @@ -19481,7 +19784,7 @@ static int _wrap_NullBrush_set(PyObject *) { static PyObject *_wrap_NullBrush_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullBrush), SWIGTYPE_p_wxBrush, 0); return pyobj; @@ -19495,7 +19798,7 @@ static int _wrap_NullPalette_set(PyObject *) { static PyObject *_wrap_NullPalette_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullPalette), SWIGTYPE_p_wxPalette, 0); return pyobj; @@ -19509,7 +19812,7 @@ static int _wrap_NullFont_set(PyObject *) { static PyObject *_wrap_NullFont_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullFont), SWIGTYPE_p_wxFont, 0); return pyobj; @@ -19523,7 +19826,7 @@ static int _wrap_NullColour_set(PyObject *) { static PyObject *_wrap_NullColour_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullColour), SWIGTYPE_p_wxColour, 0); return pyobj; @@ -19531,7 +19834,7 @@ static PyObject *_wrap_NullColour_get(void) { static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPenList *arg1 = (wxPenList *) 0 ; wxPen *arg2 = (wxPen *) 0 ; PyObject * obj0 = 0 ; @@ -19560,7 +19863,7 @@ static PyObject *_wrap_PenList_AddPen(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPenList *arg1 = (wxPenList *) 0 ; wxColour *arg2 = 0 ; int arg3 ; @@ -19583,11 +19886,11 @@ static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObj if ( ! wxColour_helper(obj1, &arg2)) 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; } { @@ -19605,7 +19908,7 @@ static PyObject *_wrap_PenList_FindOrCreatePen(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPenList *arg1 = (wxPenList *) 0 ; wxPen *arg2 = (wxPen *) 0 ; PyObject * obj0 = 0 ; @@ -19634,7 +19937,7 @@ static PyObject *_wrap_PenList_RemovePen(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_PenList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPenList *arg1 = (wxPenList *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19653,7 +19956,7 @@ static PyObject *_wrap_PenList_GetCount(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: @@ -19669,7 +19972,7 @@ static PyObject * PenList_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrushList *arg1 = (wxBrushList *) 0 ; wxBrush *arg2 = (wxBrush *) 0 ; PyObject * obj0 = 0 ; @@ -19698,7 +20001,7 @@ static PyObject *_wrap_BrushList_AddBrush(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrushList *arg1 = (wxBrushList *) 0 ; wxColour *arg2 = 0 ; int arg3 = (int) wxSOLID ; @@ -19720,7 +20023,7 @@ static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -19739,7 +20042,7 @@ static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, P static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrushList *arg1 = (wxBrushList *) 0 ; wxBrush *arg2 = (wxBrush *) 0 ; PyObject * obj0 = 0 ; @@ -19768,7 +20071,7 @@ static PyObject *_wrap_BrushList_RemoveBrush(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBrushList *arg1 = (wxBrushList *) 0 ; int result; PyObject * obj0 = 0 ; @@ -19787,7 +20090,7 @@ static PyObject *_wrap_BrushList_GetCount(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19803,7 +20106,7 @@ static PyObject * BrushList_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *result; char *kwnames[] = { NULL @@ -19826,7 +20129,7 @@ static PyObject *_wrap_new_ColourDatabase(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19851,7 +20154,7 @@ static PyObject *_wrap_delete_ColourDatabase(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; wxColour result; @@ -19879,7 +20182,7 @@ static PyObject *_wrap_ColourDatabase_Find(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); } { @@ -19897,7 +20200,7 @@ static PyObject *_wrap_ColourDatabase_Find(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxColour *arg2 = 0 ; wxString result; @@ -19936,7 +20239,7 @@ static PyObject *_wrap_ColourDatabase_FindName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -19984,7 +20287,7 @@ static PyObject *_wrap_ColourDatabase_AddColour(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDatabase *arg1 = (wxColourDatabase *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -20009,15 +20312,15 @@ static PyObject *_wrap_ColourDatabase_Append(PyObject *, PyObject *args, PyObjec temp2 = true; } { - 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; } { @@ -20050,7 +20353,7 @@ static PyObject * ColourDatabase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontList *arg1 = (wxFontList *) 0 ; wxFont *arg2 = (wxFont *) 0 ; PyObject * obj0 = 0 ; @@ -20079,7 +20382,7 @@ static PyObject *_wrap_FontList_AddFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontList *arg1 = (wxFontList *) 0 ; int arg2 ; int arg3 ; @@ -20107,24 +20410,24 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontList, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -20137,13 +20440,13 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyO } if (obj7) { { - arg8 = (wxFontEncoding)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,(wxFontEncoding )arg8); + result = (wxFont *)(arg1)->FindOrCreateFont(arg2,arg3,arg4,arg5,arg6,(wxString const &)*arg7,arg8); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20164,7 +20467,7 @@ static PyObject *_wrap_FontList_FindOrCreateFont(PyObject *, PyObject *args, PyO static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontList *arg1 = (wxFontList *) 0 ; wxFont *arg2 = (wxFont *) 0 ; PyObject * obj0 = 0 ; @@ -20193,7 +20496,7 @@ static PyObject *_wrap_FontList_RemoveFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontList *arg1 = (wxFontList *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20212,7 +20515,7 @@ static PyObject *_wrap_FontList_GetCount(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20234,7 +20537,7 @@ static int _wrap_TheFontList_set(PyObject *) { static PyObject *_wrap_TheFontList_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheFontList), SWIGTYPE_p_wxFontList, 0); return pyobj; @@ -20248,7 +20551,7 @@ static int _wrap_ThePenList_set(PyObject *) { static PyObject *_wrap_ThePenList_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxThePenList), SWIGTYPE_p_wxPenList, 0); return pyobj; @@ -20262,7 +20565,7 @@ static int _wrap_TheBrushList_set(PyObject *) { static PyObject *_wrap_TheBrushList_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheBrushList), SWIGTYPE_p_wxBrushList, 0); return pyobj; @@ -20276,7 +20579,7 @@ static int _wrap_TheColourDatabase_set(PyObject *) { static PyObject *_wrap_TheColourDatabase_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheColourDatabase), SWIGTYPE_p_wxColourDatabase, 0); return pyobj; @@ -20284,7 +20587,7 @@ static PyObject *_wrap_TheColourDatabase_get(void) { static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *result; char *kwnames[] = { NULL @@ -20306,7 +20609,7 @@ static PyObject *_wrap_new_Effects(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20326,7 +20629,7 @@ static PyObject *_wrap_Effects_GetHighlightColour(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; @@ -20336,7 +20639,7 @@ static PyObject *_wrap_Effects_GetHighlightColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20356,7 +20659,7 @@ static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -20366,7 +20669,7 @@ static PyObject *_wrap_Effects_GetLightShadow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20386,7 +20689,7 @@ static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -20396,7 +20699,7 @@ static PyObject *_wrap_Effects_GetFaceColour(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20416,7 +20719,7 @@ static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObj } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -20426,7 +20729,7 @@ static PyObject *_wrap_Effects_GetMediumShadow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -20446,7 +20749,7 @@ static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -20456,7 +20759,7 @@ static PyObject *_wrap_Effects_GetDarkShadow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20488,7 +20791,7 @@ static PyObject *_wrap_Effects_SetHighlightColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20520,7 +20823,7 @@ static PyObject *_wrap_Effects_SetLightShadow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20552,7 +20855,7 @@ static PyObject *_wrap_Effects_SetFaceColour(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20584,7 +20887,7 @@ static PyObject *_wrap_Effects_SetMediumShadow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -20616,7 +20919,7 @@ static PyObject *_wrap_Effects_SetDarkShadow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -20676,7 +20979,7 @@ static PyObject *_wrap_Effects_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxDC *arg2 = 0 ; wxRect *arg3 = 0 ; @@ -20707,7 +21010,7 @@ static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObje } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -20726,7 +21029,7 @@ static PyObject *_wrap_Effects_DrawSunkenEdge(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Effects_TileBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEffects *arg1 = (wxEffects *) 0 ; wxRect *arg2 = 0 ; wxDC *arg3 = 0 ; @@ -20788,7 +21091,7 @@ static PyObject * Effects_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SplitterRenderParams(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; bool arg3 ; @@ -20802,15 +21105,15 @@ static PyObject *_wrap_new_SplitterRenderParams(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_SplitterRenderParams",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -20828,7 +21131,7 @@ static PyObject *_wrap_new_SplitterRenderParams(PyObject *, PyObject *args, PyOb static PyObject *_wrap_delete_SplitterRenderParams(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -20853,7 +21156,7 @@ static PyObject *_wrap_delete_SplitterRenderParams(PyObject *, PyObject *args, P static PyObject *_wrap_SplitterRenderParams_widthSash_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20867,7 +21170,7 @@ static PyObject *_wrap_SplitterRenderParams_widthSash_get(PyObject *, PyObject * result = (int)(int) ((arg1)->widthSash); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20876,7 +21179,7 @@ static PyObject *_wrap_SplitterRenderParams_widthSash_get(PyObject *, PyObject * static PyObject *_wrap_SplitterRenderParams_border_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20890,7 +21193,7 @@ static PyObject *_wrap_SplitterRenderParams_border_get(PyObject *, PyObject *arg result = (int)(int) ((arg1)->border); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20899,7 +21202,7 @@ static PyObject *_wrap_SplitterRenderParams_border_get(PyObject *, PyObject *arg static PyObject *_wrap_SplitterRenderParams_isHotSensitive_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterRenderParams *arg1 = (wxSplitterRenderParams *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20913,7 +21216,7 @@ static PyObject *_wrap_SplitterRenderParams_isHotSensitive_get(PyObject *, PyObj result = (bool)(bool) ((arg1)->isHotSensitive); { - resultobj = SWIG_From_bool((bool)(result)); + resultobj = SWIG_From_bool(static_cast(result)); } return resultobj; fail: @@ -20929,7 +21232,7 @@ static PyObject * SplitterRenderParams_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_RendererVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; wxRendererVersion *result; @@ -20941,11 +21244,11 @@ static PyObject *_wrap_new_RendererVersion(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RendererVersion",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20963,7 +21266,7 @@ static PyObject *_wrap_new_RendererVersion(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_RendererVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererVersion *arg1 = (wxRendererVersion *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -20988,7 +21291,7 @@ static PyObject *_wrap_delete_RendererVersion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_RendererVersion_IsCompatible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererVersion *arg1 = 0 ; bool result; PyObject * obj0 = 0 ; @@ -21022,7 +21325,7 @@ static PyObject *_wrap_RendererVersion_IsCompatible(PyObject *, PyObject *args, static PyObject *_wrap_RendererVersion_version_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererVersion *arg1 = (wxRendererVersion *) 0 ; int result; PyObject * obj0 = 0 ; @@ -21036,7 +21339,7 @@ static PyObject *_wrap_RendererVersion_version_get(PyObject *, PyObject *args, P result = (int)(int) ((arg1)->version); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -21045,7 +21348,7 @@ static PyObject *_wrap_RendererVersion_version_get(PyObject *, PyObject *args, P static PyObject *_wrap_RendererVersion_age_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererVersion *arg1 = (wxRendererVersion *) 0 ; int result; PyObject * obj0 = 0 ; @@ -21059,7 +21362,7 @@ static PyObject *_wrap_RendererVersion_age_get(PyObject *, PyObject *args, PyObj result = (int)(int) ((arg1)->age); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -21075,7 +21378,7 @@ static PyObject * RendererVersion_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21110,7 +21413,7 @@ static PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *, PyObject *arg } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -21129,7 +21432,7 @@ static PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *, PyObject *arg static PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21164,7 +21467,7 @@ static PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *, PyObject *a } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -21183,7 +21486,7 @@ static PyObject *_wrap_RendererNative_DrawTreeItemButton(PyObject *, PyObject *a static PyObject *_wrap_RendererNative_DrawSplitterBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21218,7 +21521,7 @@ static PyObject *_wrap_RendererNative_DrawSplitterBorder(PyObject *, PyObject *a } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -21237,7 +21540,7 @@ static PyObject *_wrap_RendererNative_DrawSplitterBorder(PyObject *, PyObject *a static PyObject *_wrap_RendererNative_DrawSplitterSash(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21275,22 +21578,22 @@ static PyObject *_wrap_RendererNative_DrawSplitterSash(PyObject *, PyObject *arg if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (wxOrientation)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->DrawSplitterSash(arg2,*arg3,(wxSize const &)*arg4,arg5,(wxOrientation )arg6,arg7); + (arg1)->DrawSplitterSash(arg2,*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21303,7 +21606,7 @@ static PyObject *_wrap_RendererNative_DrawSplitterSash(PyObject *, PyObject *arg static PyObject *_wrap_RendererNative_DrawComboBoxDropButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21338,7 +21641,7 @@ static PyObject *_wrap_RendererNative_DrawComboBoxDropButton(PyObject *, PyObjec } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -21357,7 +21660,7 @@ static PyObject *_wrap_RendererNative_DrawComboBoxDropButton(PyObject *, PyObjec static PyObject *_wrap_RendererNative_DrawDropArrow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *arg3 = 0 ; @@ -21392,7 +21695,7 @@ static PyObject *_wrap_RendererNative_DrawDropArrow(PyObject *, PyObject *args, } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -21411,7 +21714,7 @@ static PyObject *_wrap_RendererNative_DrawDropArrow(PyObject *, PyObject *args, static PyObject *_wrap_RendererNative_GetSplitterParams(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; SwigValueWrapper result; @@ -21435,7 +21738,7 @@ static PyObject *_wrap_RendererNative_GetSplitterParams(PyObject *, PyObject *ar } { wxSplitterRenderParams * resultptr; - resultptr = new wxSplitterRenderParams((wxSplitterRenderParams &)(result)); + resultptr = new wxSplitterRenderParams(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSplitterRenderParams, 1); } return resultobj; @@ -21445,7 +21748,7 @@ static PyObject *_wrap_RendererNative_GetSplitterParams(PyObject *, PyObject *ar static PyObject *_wrap_RendererNative_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *result; char *kwnames[] = { NULL @@ -21470,7 +21773,7 @@ static PyObject *_wrap_RendererNative_Get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RendererNative_GetGeneric(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *result; char *kwnames[] = { NULL @@ -21495,7 +21798,7 @@ static PyObject *_wrap_RendererNative_GetGeneric(PyObject *, PyObject *args, PyO static PyObject *_wrap_RendererNative_GetDefault(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *result; char *kwnames[] = { NULL @@ -21520,7 +21823,7 @@ static PyObject *_wrap_RendererNative_GetDefault(PyObject *, PyObject *args, PyO static PyObject *_wrap_RendererNative_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; wxRendererNative *result; PyObject * obj0 = 0 ; @@ -21546,7 +21849,7 @@ static PyObject *_wrap_RendererNative_Set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_RendererNative_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRendererNative *arg1 = (wxRendererNative *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -21566,7 +21869,7 @@ static PyObject *_wrap_RendererNative_GetVersion(PyObject *, PyObject *args, PyO } { wxRendererVersion * resultptr; - resultptr = new wxRendererVersion((wxRendererVersion &)(result)); + resultptr = new wxRendererVersion(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRendererVersion, 1); } return resultobj; @@ -22548,137 +22851,564 @@ static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { static void *_p_wxMenuBarTo_p_wxWindow(void *x) { return (void *)((wxWindow *) ((wxMenuBar *) x)); } -static swig_type_info _swigt__p_wxPostScriptDC[] = {{"_p_wxPostScriptDC", 0, "wxPostScriptDC *", 0, 0, 0, 0},{"_p_wxPostScriptDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBrush[] = {{"_p_wxBrush", 0, "wxBrush *", 0, 0, 0, 0},{"_p_wxBrush", 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_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPaintDC", _p_wxPaintDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxDC, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMirrorDC[] = {{"_p_wxMirrorDC", 0, "wxMirrorDC *", 0, 0, 0, 0},{"_p_wxMirrorDC", 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_wxRendererVersion[] = {{"_p_wxRendererVersion", 0, "wxRendererVersion *", 0, 0, 0, 0},{"_p_wxRendererVersion", 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_wxPyFontEnumerator[] = {{"_p_wxPyFontEnumerator", 0, "wxPyFontEnumerator *", 0, 0, 0, 0},{"_p_wxPyFontEnumerator", 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_wxIconLocation[] = {{"_p_wxIconLocation", 0, "wxIconLocation *", 0, 0, 0, 0},{"_p_wxIconLocation", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMetaFileDC[] = {{"_p_wxMetaFileDC", 0, "wxMetaFileDC *", 0, 0, 0, 0},{"_p_wxMetaFileDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMask[] = {{"_p_wxMask", 0, "wxMask *", 0, 0, 0, 0},{"_p_wxMask", 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_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_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_double[] = {{"_p_double", 0, "double *", 0, 0, 0, 0},{"_p_double", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxMemoryDC, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxMemoryDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFontMapper[] = {{"_p_wxFontMapper", 0, "wxFontMapper *", 0, 0, 0, 0},{"_p_wxFontMapper", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEffects[] = {{"_p_wxEffects", 0, "wxEffects *", 0, 0, 0, 0},{"_p_wxEffects", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNativeEncodingInfo[] = {{"_p_wxNativeEncodingInfo", 0, "wxNativeEncodingInfo *", 0, 0, 0, 0},{"_p_wxNativeEncodingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0, 0, 0, 0},{"_p_wxPalette", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRegionIterator", _p_wxRegionIteratorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDatabase", _p_wxColourDatabaseTo_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_wxPenList", _p_wxPenListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMask", _p_wxMaskTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClientDC", _p_wxClientDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMemoryDC", _p_wxMemoryDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDC", _p_wxDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDC", _p_wxWindowDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGDIObject", _p_wxGDIObjectTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEffects", _p_wxEffectsTo_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_wxPostScriptDC", _p_wxPostScriptDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxPaintDC", _p_wxPaintDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinterDC", _p_wxPrinterDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScreenDC", _p_wxScreenDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBufferedDC", _p_wxBufferedDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageList", _p_wxImageListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxMirrorDC", _p_wxMirrorDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEncodingConverter", _p_wxEncodingConverterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMetaFileDC", _p_wxMetaFileDCTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBrushList", _p_wxBrushListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMetaFile", _p_wxMetaFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColour", _p_wxColourTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontList", _p_wxFontListTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRegionIterator[] = {{"_p_wxRegionIterator", 0, "wxRegionIterator *", 0, 0, 0, 0},{"_p_wxRegionIterator", 0, 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_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_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__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_wxPrinterDC[] = {{"_p_wxPrinterDC", 0, "wxPrinterDC *", 0, 0, 0, 0},{"_p_wxPrinterDC", 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_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_wxDash[] = {{"_p_wxDash", 0, "wxDash *", 0, 0, 0, 0},{"_p_wxDash", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScreenDC[] = {{"_p_wxScreenDC", 0, "wxScreenDC *", 0, 0, 0, 0},{"_p_wxScreenDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxClientDC[] = {{"_p_wxClientDC", 0, "wxClientDC *", 0, 0, 0, 0},{"_p_wxClientDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBufferedDC[] = {{"_p_wxBufferedDC", 0, "wxBufferedDC *", 0, 0, 0, 0},{"_p_wxBufferedDC", 0, 0, 0, 0, 0, 0},{"_p_wxBufferedPaintDC", _p_wxBufferedPaintDCTo_p_wxBufferedDC, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 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_wxGDIObject[] = {{"_p_wxGDIObject", 0, "wxGDIObject *", 0, 0, 0, 0},{"_p_wxIcon", _p_wxIconTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxPen", _p_wxPenTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxFont", _p_wxFontTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxPalette", _p_wxPaletteTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxGDIObject", 0, 0, 0, 0, 0, 0},{"_p_wxCursor", _p_wxCursorTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxBitmap", _p_wxBitmapTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxRegion", _p_wxRegionTo_p_wxGDIObject, 0, 0, 0, 0, 0},{"_p_wxBrush", _p_wxBrushTo_p_wxGDIObject, 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_wxLocale[] = {{"_p_wxLocale", 0, "wxLocale *", 0, 0, 0, 0},{"_p_wxLocale", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLanguageInfo[] = {{"_p_wxLanguageInfo", 0, "wxLanguageInfo *", 0, 0, 0, 0},{"_p_wxLanguageInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowDC[] = {{"_p_wxWindowDC", 0, "wxWindowDC *", 0, 0, 0, 0},{"_p_wxWindowDC", 0, 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_wxBrushList[] = {{"_p_wxBrushList", 0, "wxBrushList *", 0, 0, 0, 0},{"_p_wxBrushList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFontList[] = {{"_p_wxFontList", 0, "wxFontList *", 0, 0, 0, 0},{"_p_wxFontList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPen[] = {{"_p_wxPen", 0, "wxPen *", 0, 0, 0, 0},{"_p_wxPen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBufferedPaintDC[] = {{"_p_wxBufferedPaintDC", 0, "wxBufferedPaintDC *", 0, 0, 0, 0},{"_p_wxBufferedPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaintDC[] = {{"_p_wxPaintDC", 0, "wxPaintDC *", 0, 0, 0, 0},{"_p_wxPaintDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPenList[] = {{"_p_wxPenList", 0, "wxPenList *", 0, 0, 0, 0},{"_p_wxPenList", 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_wxMetaFile[] = {{"_p_wxMetaFile", 0, "wxMetaFile *", 0, 0, 0, 0},{"_p_wxMetaFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRendererNative[] = {{"_p_wxRendererNative", 0, "wxRendererNative *", 0, 0, 0, 0},{"_p_wxRendererNative", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNativeFontInfo[] = {{"_p_wxNativeFontInfo", 0, "wxNativeFontInfo *", 0, 0, 0, 0},{"_p_wxNativeFontInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEncodingConverter[] = {{"_p_wxEncodingConverter", 0, "wxEncodingConverter *", 0, 0, 0, 0},{"_p_wxEncodingConverter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSplitterRenderParams[] = {{"_p_wxSplitterRenderParams", 0, "wxSplitterRenderParams *", 0, 0, 0, 0},{"_p_wxSplitterRenderParams", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColourDatabase[] = {{"_p_wxColourDatabase", 0, "wxColourDatabase *", 0, 0, 0, 0},{"_p_wxColourDatabase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxPostScriptDC, -_swigt__p_wxBrush, -_swigt__p_wxColour, -_swigt__p_wxDC, -_swigt__p_wxMirrorDC, -_swigt__p_form_ops_t, -_swigt__p_wxRendererVersion, -_swigt__p_wxDuplexMode, -_swigt__p_wxPyFontEnumerator, -_swigt__p_char, -_swigt__p_wxIconLocation, -_swigt__p_wxImage, -_swigt__p_wxMetaFileDC, -_swigt__p_wxMask, -_swigt__p_wxSize, -_swigt__p_wxFont, -_swigt__p_wxWindow, -_swigt__p_double, -_swigt__p_wxMemoryDC, -_swigt__p_wxFontMapper, -_swigt__p_wxEffects, -_swigt__p_wxNativeEncodingInfo, -_swigt__p_wxPalette, -_swigt__p_wxBitmap, -_swigt__p_wxObject, -_swigt__p_wxRegionIterator, -_swigt__p_wxRect, -_swigt__p_wxPaperSize, -_swigt__p_wxString, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_wxPrinterDC, -_swigt__p_wxIconBundle, -_swigt__p_wxPoint, -_swigt__p_wxDash, -_swigt__p_wxScreenDC, -_swigt__p_wxCursor, -_swigt__p_wxClientDC, -_swigt__p_wxBufferedDC, -_swigt__p_wxImageList, -_swigt__p_unsigned_char, -_swigt__p_wxGDIObject, -_swigt__p_wxIcon, -_swigt__p_wxLocale, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxRegion, -_swigt__p_wxLanguageInfo, -_swigt__p_wxWindowDC, -_swigt__p_wxPrintData, -_swigt__p_wxBrushList, -_swigt__p_wxFontList, -_swigt__p_wxPen, -_swigt__p_wxBufferedPaintDC, -_swigt__p_wxPaintDC, -_swigt__p_wxPenList, -_swigt__p_int, -_swigt__p_wxMetaFile, -_swigt__p_wxRendererNative, -_swigt__p_unsigned_long, -_swigt__p_wxNativeFontInfo, -_swigt__p_wxEncodingConverter, -_swigt__p_wxSplitterRenderParams, -_swigt__p_wxColourDatabase, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_double = {"_p_double", "double *", 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_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBrush = {"_p_wxBrush", "wxBrush *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBrushList = {"_p_wxBrushList", "wxBrushList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBufferedDC = {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBufferedPaintDC = {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxClientDC = {"_p_wxClientDC", "wxClientDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDatabase = {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDash = {"_p_wxDash", "wxDash *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEffects = {"_p_wxEffects", "wxEffects *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEncodingConverter = {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFontList = {"_p_wxFontList", "wxFontList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFontMapper = {"_p_wxFontMapper", "wxFontMapper *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGDIObject = {"_p_wxGDIObject", "wxGDIObject *", 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_wxIconLocation = {"_p_wxIconLocation", "wxIconLocation *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLanguageInfo = {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLocale = {"_p_wxLocale", "wxLocale *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMask = {"_p_wxMask", "wxMask *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMetaFile = {"_p_wxMetaFile", "wxMetaFile *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMetaFileDC = {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMirrorDC = {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNativeEncodingInfo = {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNativeFontInfo = {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 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_wxScrollEvent = {"_p_wxScrollEvent", 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_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 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_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_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_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 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_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaintDC = {"_p_wxPaintDC", "wxPaintDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPalette = {"_p_wxPalette", "wxPalette *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPen = {"_p_wxPen", "wxPen *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPenList = {"_p_wxPenList", "wxPenList *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPostScriptDC = {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinterDC = {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyFontEnumerator = {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 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_wxRegionIterator = {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRendererNative = {"_p_wxRendererNative", "wxRendererNative *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRendererVersion = {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScreenDC = {"_p_wxScreenDC", "wxScreenDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterRenderParams = {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDC = {"_p_wxWindowDC", "wxWindowDC *", 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_double, + &_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_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBrush, + &_swigt__p_wxBrushList, + &_swigt__p_wxBufferedDC, + &_swigt__p_wxBufferedPaintDC, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClientDC, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxColourDatabase, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDash, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEffects, + &_swigt__p_wxEncodingConverter, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFontList, + &_swigt__p_wxFontMapper, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGDIObject, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconBundle, + &_swigt__p_wxIconLocation, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageList, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLanguageInfo, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxLocale, + &_swigt__p_wxMask, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryDC, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMetaFile, + &_swigt__p_wxMetaFileDC, + &_swigt__p_wxMirrorDC, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNativeEncodingInfo, + &_swigt__p_wxNativeFontInfo, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintDC, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPalette, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPen, + &_swigt__p_wxPenList, + &_swigt__p_wxPoint, + &_swigt__p_wxPostScriptDC, + &_swigt__p_wxPrintData, + &_swigt__p_wxPrinterDC, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyFontEnumerator, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxRegion, + &_swigt__p_wxRegionIterator, + &_swigt__p_wxRendererNative, + &_swigt__p_wxRendererVersion, + &_swigt__p_wxScreenDC, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSplitterRenderParams, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxString, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDC, + &_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_double[] = { {&_swigt__p_double, 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_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBrush[] = { {&_swigt__p_wxBrush, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBrushList[] = { {&_swigt__p_wxBrushList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBufferedDC[] = { {&_swigt__p_wxBufferedDC, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxBufferedDC, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBufferedPaintDC[] = { {&_swigt__p_wxBufferedPaintDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxClientDC[] = { {&_swigt__p_wxClientDC, 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_wxColourDatabase[] = { {&_swigt__p_wxColourDatabase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxBufferedDC, _p_wxBufferedDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxScreenDC, _p_wxScreenDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxMirrorDC, _p_wxMirrorDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxMemoryDC, _p_wxMemoryDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxWindowDC, _p_wxWindowDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxDC, 0, 0, 0}, {&_swigt__p_wxMetaFileDC, _p_wxMetaFileDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxClientDC, _p_wxClientDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxPaintDC, _p_wxPaintDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxPostScriptDC, _p_wxPostScriptDCTo_p_wxDC, 0, 0}, {&_swigt__p_wxPrinterDC, _p_wxPrinterDCTo_p_wxDC, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDash[] = { {&_swigt__p_wxDash, 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_wxEffects[] = { {&_swigt__p_wxEffects, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEncodingConverter[] = { {&_swigt__p_wxEncodingConverter, 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_wxFontList[] = { {&_swigt__p_wxFontList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFontMapper[] = { {&_swigt__p_wxFontMapper, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGDIObject[] = { {&_swigt__p_wxIcon, _p_wxIconTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxPen, _p_wxPenTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxFont, _p_wxFontTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxPalette, _p_wxPaletteTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxGDIObject, 0, 0, 0}, {&_swigt__p_wxCursor, _p_wxCursorTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxBitmap, _p_wxBitmapTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxRegion, _p_wxRegionTo_p_wxGDIObject, 0, 0}, {&_swigt__p_wxBrush, _p_wxBrushTo_p_wxGDIObject, 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_wxIconLocation[] = { {&_swigt__p_wxIconLocation, 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_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLanguageInfo[] = { {&_swigt__p_wxLanguageInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLocale[] = { {&_swigt__p_wxLocale, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMask[] = { {&_swigt__p_wxMask, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxBufferedDC, _p_wxBufferedDCTo_p_wxMemoryDC, 0, 0}, {&_swigt__p_wxMemoryDC, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxMemoryDC, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMetaFile[] = { {&_swigt__p_wxMetaFile, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMetaFileDC[] = { {&_swigt__p_wxMetaFileDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMirrorDC[] = { {&_swigt__p_wxMirrorDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNativeEncodingInfo[] = { {&_swigt__p_wxNativeEncodingInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNativeFontInfo[] = { {&_swigt__p_wxNativeFontInfo, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 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_wxEvent[] = {{&_swigt__p_wxEvent, 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_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 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_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_wxControl[] = {{&_swigt__p_wxControl, 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_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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 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_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = {{&_swigt__p_wxEvtHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 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_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 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_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxRegionIterator, _p_wxRegionIteratorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPen, _p_wxPenTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDatabase, _p_wxColourDatabaseTo_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_wxPenList, _p_wxPenListTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMask, _p_wxMaskTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFont, _p_wxFontTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClientDC, _p_wxClientDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxMemoryDC, _p_wxMemoryDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxRegion, _p_wxRegionTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxDC, _p_wxDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxIcon, _p_wxIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDC, _p_wxWindowDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxGDIObject, _p_wxGDIObjectTo_p_wxObject, 0, 0}, {&_swigt__p_wxEffects, _p_wxEffectsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPostScriptDC, _p_wxPostScriptDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPaintDC, _p_wxPaintDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxBufferedPaintDC, _p_wxBufferedPaintDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinterDC, _p_wxPrinterDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxScreenDC, _p_wxScreenDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBufferedDC, _p_wxBufferedDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxPalette, _p_wxPaletteTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageList, _p_wxImageListTo_p_wxObject, 0, 0}, {&_swigt__p_wxCursor, _p_wxCursorTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxMirrorDC, _p_wxMirrorDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxEncodingConverter, _p_wxEncodingConverterTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMetaFileDC, _p_wxMetaFileDCTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxBrushList, _p_wxBrushListTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmap, _p_wxBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBrush, _p_wxBrushTo_p_wxObject, 0, 0}, {&_swigt__p_wxMetaFile, _p_wxMetaFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxColour, _p_wxColourTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontList, _p_wxFontListTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaintDC[] = { {&_swigt__p_wxPaintDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPalette[] = { {&_swigt__p_wxPalette, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPen[] = { {&_swigt__p_wxPen, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPenList[] = { {&_swigt__p_wxPenList, 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_wxPostScriptDC[] = { {&_swigt__p_wxPostScriptDC, 0, 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_wxPrinterDC[] = { {&_swigt__p_wxPrinterDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyFontEnumerator[] = { {&_swigt__p_wxPyFontEnumerator, 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_wxRegionIterator[] = { {&_swigt__p_wxRegionIterator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRendererNative[] = { {&_swigt__p_wxRendererNative, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRendererVersion[] = { {&_swigt__p_wxRendererVersion, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScreenDC[] = { {&_swigt__p_wxScreenDC, 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_wxSplitterRenderParams[] = { {&_swigt__p_wxSplitterRenderParams, 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_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDC[] = { {&_swigt__p_wxWindowDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_char, + _swigc__p_double, + _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_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxBrush, + _swigc__p_wxBrushList, + _swigc__p_wxBufferedDC, + _swigc__p_wxBufferedPaintDC, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClientDC, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxColourDatabase, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDash, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEffects, + _swigc__p_wxEncodingConverter, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFontList, + _swigc__p_wxFontMapper, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGDIObject, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconBundle, + _swigc__p_wxIconLocation, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageList, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLanguageInfo, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxLocale, + _swigc__p_wxMask, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryDC, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMetaFile, + _swigc__p_wxMetaFileDC, + _swigc__p_wxMirrorDC, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNativeEncodingInfo, + _swigc__p_wxNativeFontInfo, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintDC, + _swigc__p_wxPaintEvent, + _swigc__p_wxPalette, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPen, + _swigc__p_wxPenList, + _swigc__p_wxPoint, + _swigc__p_wxPostScriptDC, + _swigc__p_wxPrintData, + _swigc__p_wxPrinterDC, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyFontEnumerator, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxRegion, + _swigc__p_wxRegionIterator, + _swigc__p_wxRendererNative, + _swigc__p_wxRendererVersion, + _swigc__p_wxScreenDC, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSplitterRenderParams, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxString, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDC, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -22690,6 +23420,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 @@ -22707,7 +23648,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; @@ -22717,13 +23658,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; @@ -22736,7 +23677,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -22749,7 +23690,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) { @@ -22762,72 +23703,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; } @@ -22836,11 +23794,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); @@ -22877,7 +23835,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, @@ -22889,7 +23847,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]); @@ -22902,14 +23860,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; + } + } } } } @@ -22919,69 +23881,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 @@ -22990,1192 +23889,1171 @@ 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,"OutRegion", SWIG_From_int((int)(wxOutRegion))); + PyDict_SetItemString(d,"OutRegion", SWIG_From_int(static_cast(wxOutRegion))); } { - PyDict_SetItemString(d,"PartRegion", SWIG_From_int((int)(wxPartRegion))); + PyDict_SetItemString(d,"PartRegion", SWIG_From_int(static_cast(wxPartRegion))); } { - PyDict_SetItemString(d,"InRegion", SWIG_From_int((int)(wxInRegion))); + PyDict_SetItemString(d,"InRegion", SWIG_From_int(static_cast(wxInRegion))); } { - PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_From_int((int)(wxFONTFAMILY_DEFAULT))); + PyDict_SetItemString(d,"FONTFAMILY_DEFAULT", SWIG_From_int(static_cast(wxFONTFAMILY_DEFAULT))); } { - PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_From_int((int)(wxFONTFAMILY_DECORATIVE))); + PyDict_SetItemString(d,"FONTFAMILY_DECORATIVE", SWIG_From_int(static_cast(wxFONTFAMILY_DECORATIVE))); } { - PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_From_int((int)(wxFONTFAMILY_ROMAN))); + PyDict_SetItemString(d,"FONTFAMILY_ROMAN", SWIG_From_int(static_cast(wxFONTFAMILY_ROMAN))); } { - PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_From_int((int)(wxFONTFAMILY_SCRIPT))); + PyDict_SetItemString(d,"FONTFAMILY_SCRIPT", SWIG_From_int(static_cast(wxFONTFAMILY_SCRIPT))); } { - PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_From_int((int)(wxFONTFAMILY_SWISS))); + PyDict_SetItemString(d,"FONTFAMILY_SWISS", SWIG_From_int(static_cast(wxFONTFAMILY_SWISS))); } { - PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_From_int((int)(wxFONTFAMILY_MODERN))); + PyDict_SetItemString(d,"FONTFAMILY_MODERN", SWIG_From_int(static_cast(wxFONTFAMILY_MODERN))); } { - PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_From_int((int)(wxFONTFAMILY_TELETYPE))); + PyDict_SetItemString(d,"FONTFAMILY_TELETYPE", SWIG_From_int(static_cast(wxFONTFAMILY_TELETYPE))); } { - PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_From_int((int)(wxFONTFAMILY_MAX))); + PyDict_SetItemString(d,"FONTFAMILY_MAX", SWIG_From_int(static_cast(wxFONTFAMILY_MAX))); } { - PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_From_int((int)(wxFONTFAMILY_UNKNOWN))); + PyDict_SetItemString(d,"FONTFAMILY_UNKNOWN", SWIG_From_int(static_cast(wxFONTFAMILY_UNKNOWN))); } { - PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_From_int((int)(wxFONTSTYLE_NORMAL))); + PyDict_SetItemString(d,"FONTSTYLE_NORMAL", SWIG_From_int(static_cast(wxFONTSTYLE_NORMAL))); } { - PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_From_int((int)(wxFONTSTYLE_ITALIC))); + PyDict_SetItemString(d,"FONTSTYLE_ITALIC", SWIG_From_int(static_cast(wxFONTSTYLE_ITALIC))); } { - PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_From_int((int)(wxFONTSTYLE_SLANT))); + PyDict_SetItemString(d,"FONTSTYLE_SLANT", SWIG_From_int(static_cast(wxFONTSTYLE_SLANT))); } { - PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_From_int((int)(wxFONTSTYLE_MAX))); + PyDict_SetItemString(d,"FONTSTYLE_MAX", SWIG_From_int(static_cast(wxFONTSTYLE_MAX))); } { - PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_From_int((int)(wxFONTWEIGHT_NORMAL))); + PyDict_SetItemString(d,"FONTWEIGHT_NORMAL", SWIG_From_int(static_cast(wxFONTWEIGHT_NORMAL))); } { - PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_From_int((int)(wxFONTWEIGHT_LIGHT))); + PyDict_SetItemString(d,"FONTWEIGHT_LIGHT", SWIG_From_int(static_cast(wxFONTWEIGHT_LIGHT))); } { - PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_From_int((int)(wxFONTWEIGHT_BOLD))); + PyDict_SetItemString(d,"FONTWEIGHT_BOLD", SWIG_From_int(static_cast(wxFONTWEIGHT_BOLD))); } { - PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_From_int((int)(wxFONTWEIGHT_MAX))); + PyDict_SetItemString(d,"FONTWEIGHT_MAX", SWIG_From_int(static_cast(wxFONTWEIGHT_MAX))); } { - PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_From_int((int)(wxFONTFLAG_DEFAULT))); + PyDict_SetItemString(d,"FONTFLAG_DEFAULT", SWIG_From_int(static_cast(wxFONTFLAG_DEFAULT))); } { - PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_From_int((int)(wxFONTFLAG_ITALIC))); + PyDict_SetItemString(d,"FONTFLAG_ITALIC", SWIG_From_int(static_cast(wxFONTFLAG_ITALIC))); } { - PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_From_int((int)(wxFONTFLAG_SLANT))); + PyDict_SetItemString(d,"FONTFLAG_SLANT", SWIG_From_int(static_cast(wxFONTFLAG_SLANT))); } { - PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_From_int((int)(wxFONTFLAG_LIGHT))); + PyDict_SetItemString(d,"FONTFLAG_LIGHT", SWIG_From_int(static_cast(wxFONTFLAG_LIGHT))); } { - PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_From_int((int)(wxFONTFLAG_BOLD))); + PyDict_SetItemString(d,"FONTFLAG_BOLD", SWIG_From_int(static_cast(wxFONTFLAG_BOLD))); } { - PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_ANTIALIASED))); + PyDict_SetItemString(d,"FONTFLAG_ANTIALIASED", SWIG_From_int(static_cast(wxFONTFLAG_ANTIALIASED))); } { - PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int((int)(wxFONTFLAG_NOT_ANTIALIASED))); + PyDict_SetItemString(d,"FONTFLAG_NOT_ANTIALIASED", SWIG_From_int(static_cast(wxFONTFLAG_NOT_ANTIALIASED))); } { - PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_From_int((int)(wxFONTFLAG_UNDERLINED))); + PyDict_SetItemString(d,"FONTFLAG_UNDERLINED", SWIG_From_int(static_cast(wxFONTFLAG_UNDERLINED))); } { - PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_From_int((int)(wxFONTFLAG_STRIKETHROUGH))); + PyDict_SetItemString(d,"FONTFLAG_STRIKETHROUGH", SWIG_From_int(static_cast(wxFONTFLAG_STRIKETHROUGH))); } { - PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_From_int((int)(wxFONTFLAG_MASK))); + PyDict_SetItemString(d,"FONTFLAG_MASK", SWIG_From_int(static_cast(wxFONTFLAG_MASK))); } { - PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_From_int((int)(wxFONTENCODING_SYSTEM))); + PyDict_SetItemString(d,"FONTENCODING_SYSTEM", SWIG_From_int(static_cast(wxFONTENCODING_SYSTEM))); } { - PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_From_int((int)(wxFONTENCODING_DEFAULT))); + PyDict_SetItemString(d,"FONTENCODING_DEFAULT", SWIG_From_int(static_cast(wxFONTENCODING_DEFAULT))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_From_int((int)(wxFONTENCODING_ISO8859_1))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_1", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_1))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_From_int((int)(wxFONTENCODING_ISO8859_2))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_2", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_2))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_From_int((int)(wxFONTENCODING_ISO8859_3))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_3", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_3))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_From_int((int)(wxFONTENCODING_ISO8859_4))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_4", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_4))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_From_int((int)(wxFONTENCODING_ISO8859_5))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_5", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_5))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_From_int((int)(wxFONTENCODING_ISO8859_6))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_6", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_6))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_From_int((int)(wxFONTENCODING_ISO8859_7))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_7", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_7))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_From_int((int)(wxFONTENCODING_ISO8859_8))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_8", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_8))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_From_int((int)(wxFONTENCODING_ISO8859_9))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_9", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_9))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_From_int((int)(wxFONTENCODING_ISO8859_10))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_10", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_10))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_From_int((int)(wxFONTENCODING_ISO8859_11))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_11", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_11))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_From_int((int)(wxFONTENCODING_ISO8859_12))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_12", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_12))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_From_int((int)(wxFONTENCODING_ISO8859_13))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_13", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_13))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_From_int((int)(wxFONTENCODING_ISO8859_14))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_14", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_14))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_From_int((int)(wxFONTENCODING_ISO8859_15))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_15", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_15))); } { - PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_From_int((int)(wxFONTENCODING_ISO8859_MAX))); + PyDict_SetItemString(d,"FONTENCODING_ISO8859_MAX", SWIG_From_int(static_cast(wxFONTENCODING_ISO8859_MAX))); } { - PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_From_int((int)(wxFONTENCODING_KOI8))); + PyDict_SetItemString(d,"FONTENCODING_KOI8", SWIG_From_int(static_cast(wxFONTENCODING_KOI8))); } { - PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_From_int((int)(wxFONTENCODING_KOI8_U))); + PyDict_SetItemString(d,"FONTENCODING_KOI8_U", SWIG_From_int(static_cast(wxFONTENCODING_KOI8_U))); } { - PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_From_int((int)(wxFONTENCODING_ALTERNATIVE))); + PyDict_SetItemString(d,"FONTENCODING_ALTERNATIVE", SWIG_From_int(static_cast(wxFONTENCODING_ALTERNATIVE))); } { - PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_From_int((int)(wxFONTENCODING_BULGARIAN))); + PyDict_SetItemString(d,"FONTENCODING_BULGARIAN", SWIG_From_int(static_cast(wxFONTENCODING_BULGARIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_From_int((int)(wxFONTENCODING_CP437))); + PyDict_SetItemString(d,"FONTENCODING_CP437", SWIG_From_int(static_cast(wxFONTENCODING_CP437))); } { - PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_From_int((int)(wxFONTENCODING_CP850))); + PyDict_SetItemString(d,"FONTENCODING_CP850", SWIG_From_int(static_cast(wxFONTENCODING_CP850))); } { - PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_From_int((int)(wxFONTENCODING_CP852))); + PyDict_SetItemString(d,"FONTENCODING_CP852", SWIG_From_int(static_cast(wxFONTENCODING_CP852))); } { - PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_From_int((int)(wxFONTENCODING_CP855))); + PyDict_SetItemString(d,"FONTENCODING_CP855", SWIG_From_int(static_cast(wxFONTENCODING_CP855))); } { - PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_From_int((int)(wxFONTENCODING_CP866))); + PyDict_SetItemString(d,"FONTENCODING_CP866", SWIG_From_int(static_cast(wxFONTENCODING_CP866))); } { - PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_From_int((int)(wxFONTENCODING_CP874))); + PyDict_SetItemString(d,"FONTENCODING_CP874", SWIG_From_int(static_cast(wxFONTENCODING_CP874))); } { - PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_From_int((int)(wxFONTENCODING_CP932))); + PyDict_SetItemString(d,"FONTENCODING_CP932", SWIG_From_int(static_cast(wxFONTENCODING_CP932))); } { - PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_From_int((int)(wxFONTENCODING_CP936))); + PyDict_SetItemString(d,"FONTENCODING_CP936", SWIG_From_int(static_cast(wxFONTENCODING_CP936))); } { - PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_From_int((int)(wxFONTENCODING_CP949))); + PyDict_SetItemString(d,"FONTENCODING_CP949", SWIG_From_int(static_cast(wxFONTENCODING_CP949))); } { - PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_From_int((int)(wxFONTENCODING_CP950))); + PyDict_SetItemString(d,"FONTENCODING_CP950", SWIG_From_int(static_cast(wxFONTENCODING_CP950))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_From_int((int)(wxFONTENCODING_CP1250))); + PyDict_SetItemString(d,"FONTENCODING_CP1250", SWIG_From_int(static_cast(wxFONTENCODING_CP1250))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_From_int((int)(wxFONTENCODING_CP1251))); + PyDict_SetItemString(d,"FONTENCODING_CP1251", SWIG_From_int(static_cast(wxFONTENCODING_CP1251))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_From_int((int)(wxFONTENCODING_CP1252))); + PyDict_SetItemString(d,"FONTENCODING_CP1252", SWIG_From_int(static_cast(wxFONTENCODING_CP1252))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_From_int((int)(wxFONTENCODING_CP1253))); + PyDict_SetItemString(d,"FONTENCODING_CP1253", SWIG_From_int(static_cast(wxFONTENCODING_CP1253))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_From_int((int)(wxFONTENCODING_CP1254))); + PyDict_SetItemString(d,"FONTENCODING_CP1254", SWIG_From_int(static_cast(wxFONTENCODING_CP1254))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_From_int((int)(wxFONTENCODING_CP1255))); + PyDict_SetItemString(d,"FONTENCODING_CP1255", SWIG_From_int(static_cast(wxFONTENCODING_CP1255))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_From_int((int)(wxFONTENCODING_CP1256))); + PyDict_SetItemString(d,"FONTENCODING_CP1256", SWIG_From_int(static_cast(wxFONTENCODING_CP1256))); } { - PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_From_int((int)(wxFONTENCODING_CP1257))); + PyDict_SetItemString(d,"FONTENCODING_CP1257", SWIG_From_int(static_cast(wxFONTENCODING_CP1257))); } { - PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_From_int((int)(wxFONTENCODING_CP12_MAX))); + PyDict_SetItemString(d,"FONTENCODING_CP12_MAX", SWIG_From_int(static_cast(wxFONTENCODING_CP12_MAX))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_From_int((int)(wxFONTENCODING_UTF7))); + PyDict_SetItemString(d,"FONTENCODING_UTF7", SWIG_From_int(static_cast(wxFONTENCODING_UTF7))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_From_int((int)(wxFONTENCODING_UTF8))); + PyDict_SetItemString(d,"FONTENCODING_UTF8", SWIG_From_int(static_cast(wxFONTENCODING_UTF8))); } { - PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_From_int((int)(wxFONTENCODING_EUC_JP))); + PyDict_SetItemString(d,"FONTENCODING_EUC_JP", SWIG_From_int(static_cast(wxFONTENCODING_EUC_JP))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_From_int((int)(wxFONTENCODING_UTF16BE))); + PyDict_SetItemString(d,"FONTENCODING_UTF16BE", SWIG_From_int(static_cast(wxFONTENCODING_UTF16BE))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_From_int((int)(wxFONTENCODING_UTF16LE))); + PyDict_SetItemString(d,"FONTENCODING_UTF16LE", SWIG_From_int(static_cast(wxFONTENCODING_UTF16LE))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_From_int((int)(wxFONTENCODING_UTF32BE))); + PyDict_SetItemString(d,"FONTENCODING_UTF32BE", SWIG_From_int(static_cast(wxFONTENCODING_UTF32BE))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_From_int((int)(wxFONTENCODING_UTF32LE))); + PyDict_SetItemString(d,"FONTENCODING_UTF32LE", SWIG_From_int(static_cast(wxFONTENCODING_UTF32LE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_From_int((int)(wxFONTENCODING_MACROMAN))); + PyDict_SetItemString(d,"FONTENCODING_MACROMAN", SWIG_From_int(static_cast(wxFONTENCODING_MACROMAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_From_int((int)(wxFONTENCODING_MACJAPANESE))); + PyDict_SetItemString(d,"FONTENCODING_MACJAPANESE", SWIG_From_int(static_cast(wxFONTENCODING_MACJAPANESE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_From_int((int)(wxFONTENCODING_MACCHINESETRAD))); + PyDict_SetItemString(d,"FONTENCODING_MACCHINESETRAD", SWIG_From_int(static_cast(wxFONTENCODING_MACCHINESETRAD))); } { - PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_From_int((int)(wxFONTENCODING_MACKOREAN))); + PyDict_SetItemString(d,"FONTENCODING_MACKOREAN", SWIG_From_int(static_cast(wxFONTENCODING_MACKOREAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_From_int((int)(wxFONTENCODING_MACARABIC))); + PyDict_SetItemString(d,"FONTENCODING_MACARABIC", SWIG_From_int(static_cast(wxFONTENCODING_MACARABIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_From_int((int)(wxFONTENCODING_MACHEBREW))); + PyDict_SetItemString(d,"FONTENCODING_MACHEBREW", SWIG_From_int(static_cast(wxFONTENCODING_MACHEBREW))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_From_int((int)(wxFONTENCODING_MACGREEK))); + PyDict_SetItemString(d,"FONTENCODING_MACGREEK", SWIG_From_int(static_cast(wxFONTENCODING_MACGREEK))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_From_int((int)(wxFONTENCODING_MACCYRILLIC))); + PyDict_SetItemString(d,"FONTENCODING_MACCYRILLIC", SWIG_From_int(static_cast(wxFONTENCODING_MACCYRILLIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_From_int((int)(wxFONTENCODING_MACDEVANAGARI))); + PyDict_SetItemString(d,"FONTENCODING_MACDEVANAGARI", SWIG_From_int(static_cast(wxFONTENCODING_MACDEVANAGARI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_From_int((int)(wxFONTENCODING_MACGURMUKHI))); + PyDict_SetItemString(d,"FONTENCODING_MACGURMUKHI", SWIG_From_int(static_cast(wxFONTENCODING_MACGURMUKHI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_From_int((int)(wxFONTENCODING_MACGUJARATI))); + PyDict_SetItemString(d,"FONTENCODING_MACGUJARATI", SWIG_From_int(static_cast(wxFONTENCODING_MACGUJARATI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_From_int((int)(wxFONTENCODING_MACORIYA))); + PyDict_SetItemString(d,"FONTENCODING_MACORIYA", SWIG_From_int(static_cast(wxFONTENCODING_MACORIYA))); } { - PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_From_int((int)(wxFONTENCODING_MACBENGALI))); + PyDict_SetItemString(d,"FONTENCODING_MACBENGALI", SWIG_From_int(static_cast(wxFONTENCODING_MACBENGALI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_From_int((int)(wxFONTENCODING_MACTAMIL))); + PyDict_SetItemString(d,"FONTENCODING_MACTAMIL", SWIG_From_int(static_cast(wxFONTENCODING_MACTAMIL))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_From_int((int)(wxFONTENCODING_MACTELUGU))); + PyDict_SetItemString(d,"FONTENCODING_MACTELUGU", SWIG_From_int(static_cast(wxFONTENCODING_MACTELUGU))); } { - PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_From_int((int)(wxFONTENCODING_MACKANNADA))); + PyDict_SetItemString(d,"FONTENCODING_MACKANNADA", SWIG_From_int(static_cast(wxFONTENCODING_MACKANNADA))); } { - PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_From_int((int)(wxFONTENCODING_MACMALAJALAM))); + PyDict_SetItemString(d,"FONTENCODING_MACMALAJALAM", SWIG_From_int(static_cast(wxFONTENCODING_MACMALAJALAM))); } { - PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_From_int((int)(wxFONTENCODING_MACSINHALESE))); + PyDict_SetItemString(d,"FONTENCODING_MACSINHALESE", SWIG_From_int(static_cast(wxFONTENCODING_MACSINHALESE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_From_int((int)(wxFONTENCODING_MACBURMESE))); + PyDict_SetItemString(d,"FONTENCODING_MACBURMESE", SWIG_From_int(static_cast(wxFONTENCODING_MACBURMESE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_From_int((int)(wxFONTENCODING_MACKHMER))); + PyDict_SetItemString(d,"FONTENCODING_MACKHMER", SWIG_From_int(static_cast(wxFONTENCODING_MACKHMER))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_From_int((int)(wxFONTENCODING_MACTHAI))); + PyDict_SetItemString(d,"FONTENCODING_MACTHAI", SWIG_From_int(static_cast(wxFONTENCODING_MACTHAI))); } { - PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_From_int((int)(wxFONTENCODING_MACLAOTIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACLAOTIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACLAOTIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_From_int((int)(wxFONTENCODING_MACGEORGIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACGEORGIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACGEORGIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_From_int((int)(wxFONTENCODING_MACARMENIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACARMENIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACARMENIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_From_int((int)(wxFONTENCODING_MACCHINESESIMP))); + PyDict_SetItemString(d,"FONTENCODING_MACCHINESESIMP", SWIG_From_int(static_cast(wxFONTENCODING_MACCHINESESIMP))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_From_int((int)(wxFONTENCODING_MACTIBETAN))); + PyDict_SetItemString(d,"FONTENCODING_MACTIBETAN", SWIG_From_int(static_cast(wxFONTENCODING_MACTIBETAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_From_int((int)(wxFONTENCODING_MACMONGOLIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACMONGOLIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACMONGOLIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_From_int((int)(wxFONTENCODING_MACETHIOPIC))); + PyDict_SetItemString(d,"FONTENCODING_MACETHIOPIC", SWIG_From_int(static_cast(wxFONTENCODING_MACETHIOPIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_From_int((int)(wxFONTENCODING_MACCENTRALEUR))); + PyDict_SetItemString(d,"FONTENCODING_MACCENTRALEUR", SWIG_From_int(static_cast(wxFONTENCODING_MACCENTRALEUR))); } { - PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_From_int((int)(wxFONTENCODING_MACVIATNAMESE))); + PyDict_SetItemString(d,"FONTENCODING_MACVIATNAMESE", SWIG_From_int(static_cast(wxFONTENCODING_MACVIATNAMESE))); } { - PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_From_int((int)(wxFONTENCODING_MACARABICEXT))); + PyDict_SetItemString(d,"FONTENCODING_MACARABICEXT", SWIG_From_int(static_cast(wxFONTENCODING_MACARABICEXT))); } { - PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_From_int((int)(wxFONTENCODING_MACSYMBOL))); + PyDict_SetItemString(d,"FONTENCODING_MACSYMBOL", SWIG_From_int(static_cast(wxFONTENCODING_MACSYMBOL))); } { - PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_From_int((int)(wxFONTENCODING_MACDINGBATS))); + PyDict_SetItemString(d,"FONTENCODING_MACDINGBATS", SWIG_From_int(static_cast(wxFONTENCODING_MACDINGBATS))); } { - PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_From_int((int)(wxFONTENCODING_MACTURKISH))); + PyDict_SetItemString(d,"FONTENCODING_MACTURKISH", SWIG_From_int(static_cast(wxFONTENCODING_MACTURKISH))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_From_int((int)(wxFONTENCODING_MACCROATIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACCROATIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACCROATIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_From_int((int)(wxFONTENCODING_MACICELANDIC))); + PyDict_SetItemString(d,"FONTENCODING_MACICELANDIC", SWIG_From_int(static_cast(wxFONTENCODING_MACICELANDIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_From_int((int)(wxFONTENCODING_MACROMANIAN))); + PyDict_SetItemString(d,"FONTENCODING_MACROMANIAN", SWIG_From_int(static_cast(wxFONTENCODING_MACROMANIAN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_From_int((int)(wxFONTENCODING_MACCELTIC))); + PyDict_SetItemString(d,"FONTENCODING_MACCELTIC", SWIG_From_int(static_cast(wxFONTENCODING_MACCELTIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_From_int((int)(wxFONTENCODING_MACGAELIC))); + PyDict_SetItemString(d,"FONTENCODING_MACGAELIC", SWIG_From_int(static_cast(wxFONTENCODING_MACGAELIC))); } { - PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_From_int((int)(wxFONTENCODING_MACKEYBOARD))); + PyDict_SetItemString(d,"FONTENCODING_MACKEYBOARD", SWIG_From_int(static_cast(wxFONTENCODING_MACKEYBOARD))); } { - PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_From_int((int)(wxFONTENCODING_MACMIN))); + PyDict_SetItemString(d,"FONTENCODING_MACMIN", SWIG_From_int(static_cast(wxFONTENCODING_MACMIN))); } { - PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_From_int((int)(wxFONTENCODING_MACMAX))); + PyDict_SetItemString(d,"FONTENCODING_MACMAX", SWIG_From_int(static_cast(wxFONTENCODING_MACMAX))); } { - PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_From_int((int)(wxFONTENCODING_MAX))); + PyDict_SetItemString(d,"FONTENCODING_MAX", SWIG_From_int(static_cast(wxFONTENCODING_MAX))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_From_int((int)(wxFONTENCODING_UTF16))); + PyDict_SetItemString(d,"FONTENCODING_UTF16", SWIG_From_int(static_cast(wxFONTENCODING_UTF16))); } { - PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_From_int((int)(wxFONTENCODING_UTF32))); + PyDict_SetItemString(d,"FONTENCODING_UTF32", SWIG_From_int(static_cast(wxFONTENCODING_UTF32))); } { - PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_From_int((int)(wxFONTENCODING_UNICODE))); + PyDict_SetItemString(d,"FONTENCODING_UNICODE", SWIG_From_int(static_cast(wxFONTENCODING_UNICODE))); } { - PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_From_int((int)(wxFONTENCODING_GB2312))); + PyDict_SetItemString(d,"FONTENCODING_GB2312", SWIG_From_int(static_cast(wxFONTENCODING_GB2312))); } { - PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_From_int((int)(wxFONTENCODING_BIG5))); + PyDict_SetItemString(d,"FONTENCODING_BIG5", SWIG_From_int(static_cast(wxFONTENCODING_BIG5))); } { - PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_From_int((int)(wxFONTENCODING_SHIFT_JIS))); + PyDict_SetItemString(d,"FONTENCODING_SHIFT_JIS", SWIG_From_int(static_cast(wxFONTENCODING_SHIFT_JIS))); } wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator"); { - PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_From_int((int)(wxLANGUAGE_DEFAULT))); + PyDict_SetItemString(d,"LANGUAGE_DEFAULT", SWIG_From_int(static_cast(wxLANGUAGE_DEFAULT))); } { - PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_From_int((int)(wxLANGUAGE_UNKNOWN))); + PyDict_SetItemString(d,"LANGUAGE_UNKNOWN", SWIG_From_int(static_cast(wxLANGUAGE_UNKNOWN))); } { - PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_From_int((int)(wxLANGUAGE_ABKHAZIAN))); + PyDict_SetItemString(d,"LANGUAGE_ABKHAZIAN", SWIG_From_int(static_cast(wxLANGUAGE_ABKHAZIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_From_int((int)(wxLANGUAGE_AFAR))); + PyDict_SetItemString(d,"LANGUAGE_AFAR", SWIG_From_int(static_cast(wxLANGUAGE_AFAR))); } { - PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_From_int((int)(wxLANGUAGE_AFRIKAANS))); + PyDict_SetItemString(d,"LANGUAGE_AFRIKAANS", SWIG_From_int(static_cast(wxLANGUAGE_AFRIKAANS))); } { - PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_From_int((int)(wxLANGUAGE_ALBANIAN))); + PyDict_SetItemString(d,"LANGUAGE_ALBANIAN", SWIG_From_int(static_cast(wxLANGUAGE_ALBANIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_From_int((int)(wxLANGUAGE_AMHARIC))); + PyDict_SetItemString(d,"LANGUAGE_AMHARIC", SWIG_From_int(static_cast(wxLANGUAGE_AMHARIC))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_From_int((int)(wxLANGUAGE_ARABIC))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_ALGERIA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_ALGERIA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_ALGERIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_BAHRAIN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_BAHRAIN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_BAHRAIN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_EGYPT))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_EGYPT", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_EGYPT))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int((int)(wxLANGUAGE_ARABIC_IRAQ))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_IRAQ", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_IRAQ))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_JORDAN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_JORDAN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_JORDAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int((int)(wxLANGUAGE_ARABIC_KUWAIT))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_KUWAIT", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_KUWAIT))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LEBANON))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_LEBANON", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_LEBANON))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_LIBYA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_LIBYA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_LIBYA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int((int)(wxLANGUAGE_ARABIC_MOROCCO))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_MOROCCO", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_MOROCCO))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_OMAN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_OMAN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_OMAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_From_int((int)(wxLANGUAGE_ARABIC_QATAR))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_QATAR", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_QATAR))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SAUDI_ARABIA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_SAUDI_ARABIA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_SAUDI_ARABIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SUDAN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_SUDAN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_SUDAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_SYRIA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_SYRIA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_SYRIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int((int)(wxLANGUAGE_ARABIC_TUNISIA))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_TUNISIA", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_TUNISIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_From_int((int)(wxLANGUAGE_ARABIC_UAE))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_UAE", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_UAE))); } { - PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int((int)(wxLANGUAGE_ARABIC_YEMEN))); + PyDict_SetItemString(d,"LANGUAGE_ARABIC_YEMEN", SWIG_From_int(static_cast(wxLANGUAGE_ARABIC_YEMEN))); } { - PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_From_int((int)(wxLANGUAGE_ARMENIAN))); + PyDict_SetItemString(d,"LANGUAGE_ARMENIAN", SWIG_From_int(static_cast(wxLANGUAGE_ARMENIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_From_int((int)(wxLANGUAGE_ASSAMESE))); + PyDict_SetItemString(d,"LANGUAGE_ASSAMESE", SWIG_From_int(static_cast(wxLANGUAGE_ASSAMESE))); } { - PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_From_int((int)(wxLANGUAGE_AYMARA))); + PyDict_SetItemString(d,"LANGUAGE_AYMARA", SWIG_From_int(static_cast(wxLANGUAGE_AYMARA))); } { - PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_From_int((int)(wxLANGUAGE_AZERI))); + PyDict_SetItemString(d,"LANGUAGE_AZERI", SWIG_From_int(static_cast(wxLANGUAGE_AZERI))); } { - PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_AZERI_CYRILLIC))); + PyDict_SetItemString(d,"LANGUAGE_AZERI_CYRILLIC", SWIG_From_int(static_cast(wxLANGUAGE_AZERI_CYRILLIC))); } { - PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_From_int((int)(wxLANGUAGE_AZERI_LATIN))); + PyDict_SetItemString(d,"LANGUAGE_AZERI_LATIN", SWIG_From_int(static_cast(wxLANGUAGE_AZERI_LATIN))); } { - PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_From_int((int)(wxLANGUAGE_BASHKIR))); + PyDict_SetItemString(d,"LANGUAGE_BASHKIR", SWIG_From_int(static_cast(wxLANGUAGE_BASHKIR))); } { - PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_From_int((int)(wxLANGUAGE_BASQUE))); + PyDict_SetItemString(d,"LANGUAGE_BASQUE", SWIG_From_int(static_cast(wxLANGUAGE_BASQUE))); } { - PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_From_int((int)(wxLANGUAGE_BELARUSIAN))); + PyDict_SetItemString(d,"LANGUAGE_BELARUSIAN", SWIG_From_int(static_cast(wxLANGUAGE_BELARUSIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_From_int((int)(wxLANGUAGE_BENGALI))); + PyDict_SetItemString(d,"LANGUAGE_BENGALI", SWIG_From_int(static_cast(wxLANGUAGE_BENGALI))); } { - PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_From_int((int)(wxLANGUAGE_BHUTANI))); + PyDict_SetItemString(d,"LANGUAGE_BHUTANI", SWIG_From_int(static_cast(wxLANGUAGE_BHUTANI))); } { - PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_From_int((int)(wxLANGUAGE_BIHARI))); + PyDict_SetItemString(d,"LANGUAGE_BIHARI", SWIG_From_int(static_cast(wxLANGUAGE_BIHARI))); } { - PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_From_int((int)(wxLANGUAGE_BISLAMA))); + PyDict_SetItemString(d,"LANGUAGE_BISLAMA", SWIG_From_int(static_cast(wxLANGUAGE_BISLAMA))); } { - PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_From_int((int)(wxLANGUAGE_BRETON))); + PyDict_SetItemString(d,"LANGUAGE_BRETON", SWIG_From_int(static_cast(wxLANGUAGE_BRETON))); } { - PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_From_int((int)(wxLANGUAGE_BULGARIAN))); + PyDict_SetItemString(d,"LANGUAGE_BULGARIAN", SWIG_From_int(static_cast(wxLANGUAGE_BULGARIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_From_int((int)(wxLANGUAGE_BURMESE))); + PyDict_SetItemString(d,"LANGUAGE_BURMESE", SWIG_From_int(static_cast(wxLANGUAGE_BURMESE))); } { - PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_From_int((int)(wxLANGUAGE_CAMBODIAN))); + PyDict_SetItemString(d,"LANGUAGE_CAMBODIAN", SWIG_From_int(static_cast(wxLANGUAGE_CAMBODIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_From_int((int)(wxLANGUAGE_CATALAN))); + PyDict_SetItemString(d,"LANGUAGE_CATALAN", SWIG_From_int(static_cast(wxLANGUAGE_CATALAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_From_int((int)(wxLANGUAGE_CHINESE))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SIMPLIFIED))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_SIMPLIFIED", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_SIMPLIFIED))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TRADITIONAL))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_TRADITIONAL", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_TRADITIONAL))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int((int)(wxLANGUAGE_CHINESE_HONGKONG))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_HONGKONG", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_HONGKONG))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_From_int((int)(wxLANGUAGE_CHINESE_MACAU))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_MACAU", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_MACAU))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int((int)(wxLANGUAGE_CHINESE_SINGAPORE))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_SINGAPORE", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_SINGAPORE))); } { - PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int((int)(wxLANGUAGE_CHINESE_TAIWAN))); + PyDict_SetItemString(d,"LANGUAGE_CHINESE_TAIWAN", SWIG_From_int(static_cast(wxLANGUAGE_CHINESE_TAIWAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_From_int((int)(wxLANGUAGE_CORSICAN))); + PyDict_SetItemString(d,"LANGUAGE_CORSICAN", SWIG_From_int(static_cast(wxLANGUAGE_CORSICAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_CROATIAN))); + PyDict_SetItemString(d,"LANGUAGE_CROATIAN", SWIG_From_int(static_cast(wxLANGUAGE_CROATIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_From_int((int)(wxLANGUAGE_CZECH))); + PyDict_SetItemString(d,"LANGUAGE_CZECH", SWIG_From_int(static_cast(wxLANGUAGE_CZECH))); } { - PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_From_int((int)(wxLANGUAGE_DANISH))); + PyDict_SetItemString(d,"LANGUAGE_DANISH", SWIG_From_int(static_cast(wxLANGUAGE_DANISH))); } { - PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_From_int((int)(wxLANGUAGE_DUTCH))); + PyDict_SetItemString(d,"LANGUAGE_DUTCH", SWIG_From_int(static_cast(wxLANGUAGE_DUTCH))); } { - PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_DUTCH_BELGIAN))); + PyDict_SetItemString(d,"LANGUAGE_DUTCH_BELGIAN", SWIG_From_int(static_cast(wxLANGUAGE_DUTCH_BELGIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_From_int((int)(wxLANGUAGE_ENGLISH))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_UK))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_UK", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_UK))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_US))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_US", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_US))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_AUSTRALIA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_AUSTRALIA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_AUSTRALIA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BELIZE))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BELIZE", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_BELIZE))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_BOTSWANA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_BOTSWANA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_BOTSWANA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CANADA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CANADA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_CANADA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_CARIBBEAN))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_CARIBBEAN", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_CARIBBEAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_DENMARK))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_DENMARK", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_DENMARK))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_EIRE))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_EIRE", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_EIRE))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_JAMAICA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_JAMAICA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_JAMAICA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_NEW_ZEALAND))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_NEW_ZEALAND", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_NEW_ZEALAND))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_PHILIPPINES))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_PHILIPPINES", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_PHILIPPINES))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_SOUTH_AFRICA))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_SOUTH_AFRICA", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_SOUTH_AFRICA))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_TRINIDAD))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_TRINIDAD", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_TRINIDAD))); } { - PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int((int)(wxLANGUAGE_ENGLISH_ZIMBABWE))); + PyDict_SetItemString(d,"LANGUAGE_ENGLISH_ZIMBABWE", SWIG_From_int(static_cast(wxLANGUAGE_ENGLISH_ZIMBABWE))); } { - PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_From_int((int)(wxLANGUAGE_ESPERANTO))); + PyDict_SetItemString(d,"LANGUAGE_ESPERANTO", SWIG_From_int(static_cast(wxLANGUAGE_ESPERANTO))); } { - PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_From_int((int)(wxLANGUAGE_ESTONIAN))); + PyDict_SetItemString(d,"LANGUAGE_ESTONIAN", SWIG_From_int(static_cast(wxLANGUAGE_ESTONIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_From_int((int)(wxLANGUAGE_FAEROESE))); + PyDict_SetItemString(d,"LANGUAGE_FAEROESE", SWIG_From_int(static_cast(wxLANGUAGE_FAEROESE))); } { - PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_From_int((int)(wxLANGUAGE_FARSI))); + PyDict_SetItemString(d,"LANGUAGE_FARSI", SWIG_From_int(static_cast(wxLANGUAGE_FARSI))); } { - PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_From_int((int)(wxLANGUAGE_FIJI))); + PyDict_SetItemString(d,"LANGUAGE_FIJI", SWIG_From_int(static_cast(wxLANGUAGE_FIJI))); } { - PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_From_int((int)(wxLANGUAGE_FINNISH))); + PyDict_SetItemString(d,"LANGUAGE_FINNISH", SWIG_From_int(static_cast(wxLANGUAGE_FINNISH))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_From_int((int)(wxLANGUAGE_FRENCH))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_BELGIAN))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_BELGIAN", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_BELGIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int((int)(wxLANGUAGE_FRENCH_CANADIAN))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_CANADIAN", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_CANADIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_FRENCH_LUXEMBOURG))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_LUXEMBOURG", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_LUXEMBOURG))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_From_int((int)(wxLANGUAGE_FRENCH_MONACO))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_MONACO", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_MONACO))); } { - PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_From_int((int)(wxLANGUAGE_FRENCH_SWISS))); + PyDict_SetItemString(d,"LANGUAGE_FRENCH_SWISS", SWIG_From_int(static_cast(wxLANGUAGE_FRENCH_SWISS))); } { - PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_From_int((int)(wxLANGUAGE_FRISIAN))); + PyDict_SetItemString(d,"LANGUAGE_FRISIAN", SWIG_From_int(static_cast(wxLANGUAGE_FRISIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_From_int((int)(wxLANGUAGE_GALICIAN))); + PyDict_SetItemString(d,"LANGUAGE_GALICIAN", SWIG_From_int(static_cast(wxLANGUAGE_GALICIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_From_int((int)(wxLANGUAGE_GEORGIAN))); + PyDict_SetItemString(d,"LANGUAGE_GEORGIAN", SWIG_From_int(static_cast(wxLANGUAGE_GEORGIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_AUSTRIAN))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_AUSTRIAN", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_AUSTRIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int((int)(wxLANGUAGE_GERMAN_BELGIUM))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_BELGIUM", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_BELGIUM))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LIECHTENSTEIN))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_LIECHTENSTEIN", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_LIECHTENSTEIN))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int((int)(wxLANGUAGE_GERMAN_LUXEMBOURG))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_LUXEMBOURG", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_LUXEMBOURG))); } { - PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_GERMAN_SWISS))); + PyDict_SetItemString(d,"LANGUAGE_GERMAN_SWISS", SWIG_From_int(static_cast(wxLANGUAGE_GERMAN_SWISS))); } { - PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_From_int((int)(wxLANGUAGE_GREEK))); + PyDict_SetItemString(d,"LANGUAGE_GREEK", SWIG_From_int(static_cast(wxLANGUAGE_GREEK))); } { - PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_From_int((int)(wxLANGUAGE_GREENLANDIC))); + PyDict_SetItemString(d,"LANGUAGE_GREENLANDIC", SWIG_From_int(static_cast(wxLANGUAGE_GREENLANDIC))); } { - PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_From_int((int)(wxLANGUAGE_GUARANI))); + PyDict_SetItemString(d,"LANGUAGE_GUARANI", SWIG_From_int(static_cast(wxLANGUAGE_GUARANI))); } { - PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_From_int((int)(wxLANGUAGE_GUJARATI))); + PyDict_SetItemString(d,"LANGUAGE_GUJARATI", SWIG_From_int(static_cast(wxLANGUAGE_GUJARATI))); } { - PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_From_int((int)(wxLANGUAGE_HAUSA))); + PyDict_SetItemString(d,"LANGUAGE_HAUSA", SWIG_From_int(static_cast(wxLANGUAGE_HAUSA))); } { - PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_From_int((int)(wxLANGUAGE_HEBREW))); + PyDict_SetItemString(d,"LANGUAGE_HEBREW", SWIG_From_int(static_cast(wxLANGUAGE_HEBREW))); } { - PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_From_int((int)(wxLANGUAGE_HINDI))); + PyDict_SetItemString(d,"LANGUAGE_HINDI", SWIG_From_int(static_cast(wxLANGUAGE_HINDI))); } { - PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_From_int((int)(wxLANGUAGE_HUNGARIAN))); + PyDict_SetItemString(d,"LANGUAGE_HUNGARIAN", SWIG_From_int(static_cast(wxLANGUAGE_HUNGARIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_From_int((int)(wxLANGUAGE_ICELANDIC))); + PyDict_SetItemString(d,"LANGUAGE_ICELANDIC", SWIG_From_int(static_cast(wxLANGUAGE_ICELANDIC))); } { - PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_From_int((int)(wxLANGUAGE_INDONESIAN))); + PyDict_SetItemString(d,"LANGUAGE_INDONESIAN", SWIG_From_int(static_cast(wxLANGUAGE_INDONESIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUA))); + PyDict_SetItemString(d,"LANGUAGE_INTERLINGUA", SWIG_From_int(static_cast(wxLANGUAGE_INTERLINGUA))); } { - PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_From_int((int)(wxLANGUAGE_INTERLINGUE))); + PyDict_SetItemString(d,"LANGUAGE_INTERLINGUE", SWIG_From_int(static_cast(wxLANGUAGE_INTERLINGUE))); } { - PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_From_int((int)(wxLANGUAGE_INUKTITUT))); + PyDict_SetItemString(d,"LANGUAGE_INUKTITUT", SWIG_From_int(static_cast(wxLANGUAGE_INUKTITUT))); } { - PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_From_int((int)(wxLANGUAGE_INUPIAK))); + PyDict_SetItemString(d,"LANGUAGE_INUPIAK", SWIG_From_int(static_cast(wxLANGUAGE_INUPIAK))); } { - PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_From_int((int)(wxLANGUAGE_IRISH))); + PyDict_SetItemString(d,"LANGUAGE_IRISH", SWIG_From_int(static_cast(wxLANGUAGE_IRISH))); } { - PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_From_int((int)(wxLANGUAGE_ITALIAN))); + PyDict_SetItemString(d,"LANGUAGE_ITALIAN", SWIG_From_int(static_cast(wxLANGUAGE_ITALIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int((int)(wxLANGUAGE_ITALIAN_SWISS))); + PyDict_SetItemString(d,"LANGUAGE_ITALIAN_SWISS", SWIG_From_int(static_cast(wxLANGUAGE_ITALIAN_SWISS))); } { - PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_From_int((int)(wxLANGUAGE_JAPANESE))); + PyDict_SetItemString(d,"LANGUAGE_JAPANESE", SWIG_From_int(static_cast(wxLANGUAGE_JAPANESE))); } { - PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_From_int((int)(wxLANGUAGE_JAVANESE))); + PyDict_SetItemString(d,"LANGUAGE_JAVANESE", SWIG_From_int(static_cast(wxLANGUAGE_JAVANESE))); } { - PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_From_int((int)(wxLANGUAGE_KANNADA))); + PyDict_SetItemString(d,"LANGUAGE_KANNADA", SWIG_From_int(static_cast(wxLANGUAGE_KANNADA))); } { - PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI))); + PyDict_SetItemString(d,"LANGUAGE_KASHMIRI", SWIG_From_int(static_cast(wxLANGUAGE_KASHMIRI))); } { - PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int((int)(wxLANGUAGE_KASHMIRI_INDIA))); + PyDict_SetItemString(d,"LANGUAGE_KASHMIRI_INDIA", SWIG_From_int(static_cast(wxLANGUAGE_KASHMIRI_INDIA))); } { - PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_From_int((int)(wxLANGUAGE_KAZAKH))); + PyDict_SetItemString(d,"LANGUAGE_KAZAKH", SWIG_From_int(static_cast(wxLANGUAGE_KAZAKH))); } { - PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_From_int((int)(wxLANGUAGE_KERNEWEK))); + PyDict_SetItemString(d,"LANGUAGE_KERNEWEK", SWIG_From_int(static_cast(wxLANGUAGE_KERNEWEK))); } { - PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_From_int((int)(wxLANGUAGE_KINYARWANDA))); + PyDict_SetItemString(d,"LANGUAGE_KINYARWANDA", SWIG_From_int(static_cast(wxLANGUAGE_KINYARWANDA))); } { - PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_From_int((int)(wxLANGUAGE_KIRGHIZ))); + PyDict_SetItemString(d,"LANGUAGE_KIRGHIZ", SWIG_From_int(static_cast(wxLANGUAGE_KIRGHIZ))); } { - PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_From_int((int)(wxLANGUAGE_KIRUNDI))); + PyDict_SetItemString(d,"LANGUAGE_KIRUNDI", SWIG_From_int(static_cast(wxLANGUAGE_KIRUNDI))); } { - PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_From_int((int)(wxLANGUAGE_KONKANI))); + PyDict_SetItemString(d,"LANGUAGE_KONKANI", SWIG_From_int(static_cast(wxLANGUAGE_KONKANI))); } { - PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_From_int((int)(wxLANGUAGE_KOREAN))); + PyDict_SetItemString(d,"LANGUAGE_KOREAN", SWIG_From_int(static_cast(wxLANGUAGE_KOREAN))); } { - PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_From_int((int)(wxLANGUAGE_KURDISH))); + PyDict_SetItemString(d,"LANGUAGE_KURDISH", SWIG_From_int(static_cast(wxLANGUAGE_KURDISH))); } { - PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_From_int((int)(wxLANGUAGE_LAOTHIAN))); + PyDict_SetItemString(d,"LANGUAGE_LAOTHIAN", SWIG_From_int(static_cast(wxLANGUAGE_LAOTHIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_From_int((int)(wxLANGUAGE_LATIN))); + PyDict_SetItemString(d,"LANGUAGE_LATIN", SWIG_From_int(static_cast(wxLANGUAGE_LATIN))); } { - PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_From_int((int)(wxLANGUAGE_LATVIAN))); + PyDict_SetItemString(d,"LANGUAGE_LATVIAN", SWIG_From_int(static_cast(wxLANGUAGE_LATVIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_From_int((int)(wxLANGUAGE_LINGALA))); + PyDict_SetItemString(d,"LANGUAGE_LINGALA", SWIG_From_int(static_cast(wxLANGUAGE_LINGALA))); } { - PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_From_int((int)(wxLANGUAGE_LITHUANIAN))); + PyDict_SetItemString(d,"LANGUAGE_LITHUANIAN", SWIG_From_int(static_cast(wxLANGUAGE_LITHUANIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_From_int((int)(wxLANGUAGE_MACEDONIAN))); + PyDict_SetItemString(d,"LANGUAGE_MACEDONIAN", SWIG_From_int(static_cast(wxLANGUAGE_MACEDONIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_From_int((int)(wxLANGUAGE_MALAGASY))); + PyDict_SetItemString(d,"LANGUAGE_MALAGASY", SWIG_From_int(static_cast(wxLANGUAGE_MALAGASY))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_From_int((int)(wxLANGUAGE_MALAY))); + PyDict_SetItemString(d,"LANGUAGE_MALAY", SWIG_From_int(static_cast(wxLANGUAGE_MALAY))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_From_int((int)(wxLANGUAGE_MALAYALAM))); + PyDict_SetItemString(d,"LANGUAGE_MALAYALAM", SWIG_From_int(static_cast(wxLANGUAGE_MALAYALAM))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int((int)(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM))); + PyDict_SetItemString(d,"LANGUAGE_MALAY_BRUNEI_DARUSSALAM", SWIG_From_int(static_cast(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM))); } { - PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int((int)(wxLANGUAGE_MALAY_MALAYSIA))); + PyDict_SetItemString(d,"LANGUAGE_MALAY_MALAYSIA", SWIG_From_int(static_cast(wxLANGUAGE_MALAY_MALAYSIA))); } { - PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_From_int((int)(wxLANGUAGE_MALTESE))); + PyDict_SetItemString(d,"LANGUAGE_MALTESE", SWIG_From_int(static_cast(wxLANGUAGE_MALTESE))); } { - PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_From_int((int)(wxLANGUAGE_MANIPURI))); + PyDict_SetItemString(d,"LANGUAGE_MANIPURI", SWIG_From_int(static_cast(wxLANGUAGE_MANIPURI))); } { - PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_From_int((int)(wxLANGUAGE_MAORI))); + PyDict_SetItemString(d,"LANGUAGE_MAORI", SWIG_From_int(static_cast(wxLANGUAGE_MAORI))); } { - PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_From_int((int)(wxLANGUAGE_MARATHI))); + PyDict_SetItemString(d,"LANGUAGE_MARATHI", SWIG_From_int(static_cast(wxLANGUAGE_MARATHI))); } { - PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_From_int((int)(wxLANGUAGE_MOLDAVIAN))); + PyDict_SetItemString(d,"LANGUAGE_MOLDAVIAN", SWIG_From_int(static_cast(wxLANGUAGE_MOLDAVIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_From_int((int)(wxLANGUAGE_MONGOLIAN))); + PyDict_SetItemString(d,"LANGUAGE_MONGOLIAN", SWIG_From_int(static_cast(wxLANGUAGE_MONGOLIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_From_int((int)(wxLANGUAGE_NAURU))); + PyDict_SetItemString(d,"LANGUAGE_NAURU", SWIG_From_int(static_cast(wxLANGUAGE_NAURU))); } { - PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_From_int((int)(wxLANGUAGE_NEPALI))); + PyDict_SetItemString(d,"LANGUAGE_NEPALI", SWIG_From_int(static_cast(wxLANGUAGE_NEPALI))); } { - PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_From_int((int)(wxLANGUAGE_NEPALI_INDIA))); + PyDict_SetItemString(d,"LANGUAGE_NEPALI_INDIA", SWIG_From_int(static_cast(wxLANGUAGE_NEPALI_INDIA))); } { - PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_BOKMAL))); + PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_BOKMAL", SWIG_From_int(static_cast(wxLANGUAGE_NORWEGIAN_BOKMAL))); } { - PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int((int)(wxLANGUAGE_NORWEGIAN_NYNORSK))); + PyDict_SetItemString(d,"LANGUAGE_NORWEGIAN_NYNORSK", SWIG_From_int(static_cast(wxLANGUAGE_NORWEGIAN_NYNORSK))); } { - PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_From_int((int)(wxLANGUAGE_OCCITAN))); + PyDict_SetItemString(d,"LANGUAGE_OCCITAN", SWIG_From_int(static_cast(wxLANGUAGE_OCCITAN))); } { - PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_From_int((int)(wxLANGUAGE_ORIYA))); + PyDict_SetItemString(d,"LANGUAGE_ORIYA", SWIG_From_int(static_cast(wxLANGUAGE_ORIYA))); } { - PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_From_int((int)(wxLANGUAGE_OROMO))); + PyDict_SetItemString(d,"LANGUAGE_OROMO", SWIG_From_int(static_cast(wxLANGUAGE_OROMO))); } { - PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_From_int((int)(wxLANGUAGE_PASHTO))); + PyDict_SetItemString(d,"LANGUAGE_PASHTO", SWIG_From_int(static_cast(wxLANGUAGE_PASHTO))); } { - PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_From_int((int)(wxLANGUAGE_POLISH))); + PyDict_SetItemString(d,"LANGUAGE_POLISH", SWIG_From_int(static_cast(wxLANGUAGE_POLISH))); } { - PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE))); + PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE", SWIG_From_int(static_cast(wxLANGUAGE_PORTUGUESE))); } { - PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int((int)(wxLANGUAGE_PORTUGUESE_BRAZILIAN))); + PyDict_SetItemString(d,"LANGUAGE_PORTUGUESE_BRAZILIAN", SWIG_From_int(static_cast(wxLANGUAGE_PORTUGUESE_BRAZILIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_From_int((int)(wxLANGUAGE_PUNJABI))); + PyDict_SetItemString(d,"LANGUAGE_PUNJABI", SWIG_From_int(static_cast(wxLANGUAGE_PUNJABI))); } { - PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_From_int((int)(wxLANGUAGE_QUECHUA))); + PyDict_SetItemString(d,"LANGUAGE_QUECHUA", SWIG_From_int(static_cast(wxLANGUAGE_QUECHUA))); } { - PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int((int)(wxLANGUAGE_RHAETO_ROMANCE))); + PyDict_SetItemString(d,"LANGUAGE_RHAETO_ROMANCE", SWIG_From_int(static_cast(wxLANGUAGE_RHAETO_ROMANCE))); } { - PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_From_int((int)(wxLANGUAGE_ROMANIAN))); + PyDict_SetItemString(d,"LANGUAGE_ROMANIAN", SWIG_From_int(static_cast(wxLANGUAGE_ROMANIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN))); + PyDict_SetItemString(d,"LANGUAGE_RUSSIAN", SWIG_From_int(static_cast(wxLANGUAGE_RUSSIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int((int)(wxLANGUAGE_RUSSIAN_UKRAINE))); + PyDict_SetItemString(d,"LANGUAGE_RUSSIAN_UKRAINE", SWIG_From_int(static_cast(wxLANGUAGE_RUSSIAN_UKRAINE))); } { - PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_From_int((int)(wxLANGUAGE_SAMOAN))); + PyDict_SetItemString(d,"LANGUAGE_SAMOAN", SWIG_From_int(static_cast(wxLANGUAGE_SAMOAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_From_int((int)(wxLANGUAGE_SANGHO))); + PyDict_SetItemString(d,"LANGUAGE_SANGHO", SWIG_From_int(static_cast(wxLANGUAGE_SANGHO))); } { - PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_From_int((int)(wxLANGUAGE_SANSKRIT))); + PyDict_SetItemString(d,"LANGUAGE_SANSKRIT", SWIG_From_int(static_cast(wxLANGUAGE_SANSKRIT))); } { - PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int((int)(wxLANGUAGE_SCOTS_GAELIC))); + PyDict_SetItemString(d,"LANGUAGE_SCOTS_GAELIC", SWIG_From_int(static_cast(wxLANGUAGE_SCOTS_GAELIC))); } { - PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN))); + PyDict_SetItemString(d,"LANGUAGE_SERBIAN", SWIG_From_int(static_cast(wxLANGUAGE_SERBIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_CYRILLIC))); + PyDict_SetItemString(d,"LANGUAGE_SERBIAN_CYRILLIC", SWIG_From_int(static_cast(wxLANGUAGE_SERBIAN_CYRILLIC))); } { - PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int((int)(wxLANGUAGE_SERBIAN_LATIN))); + PyDict_SetItemString(d,"LANGUAGE_SERBIAN_LATIN", SWIG_From_int(static_cast(wxLANGUAGE_SERBIAN_LATIN))); } { - PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int((int)(wxLANGUAGE_SERBO_CROATIAN))); + PyDict_SetItemString(d,"LANGUAGE_SERBO_CROATIAN", SWIG_From_int(static_cast(wxLANGUAGE_SERBO_CROATIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_From_int((int)(wxLANGUAGE_SESOTHO))); + PyDict_SetItemString(d,"LANGUAGE_SESOTHO", SWIG_From_int(static_cast(wxLANGUAGE_SESOTHO))); } { - PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_From_int((int)(wxLANGUAGE_SETSWANA))); + PyDict_SetItemString(d,"LANGUAGE_SETSWANA", SWIG_From_int(static_cast(wxLANGUAGE_SETSWANA))); } { - PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_From_int((int)(wxLANGUAGE_SHONA))); + PyDict_SetItemString(d,"LANGUAGE_SHONA", SWIG_From_int(static_cast(wxLANGUAGE_SHONA))); } { - PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_From_int((int)(wxLANGUAGE_SINDHI))); + PyDict_SetItemString(d,"LANGUAGE_SINDHI", SWIG_From_int(static_cast(wxLANGUAGE_SINDHI))); } { - PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_From_int((int)(wxLANGUAGE_SINHALESE))); + PyDict_SetItemString(d,"LANGUAGE_SINHALESE", SWIG_From_int(static_cast(wxLANGUAGE_SINHALESE))); } { - PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_From_int((int)(wxLANGUAGE_SISWATI))); + PyDict_SetItemString(d,"LANGUAGE_SISWATI", SWIG_From_int(static_cast(wxLANGUAGE_SISWATI))); } { - PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_From_int((int)(wxLANGUAGE_SLOVAK))); + PyDict_SetItemString(d,"LANGUAGE_SLOVAK", SWIG_From_int(static_cast(wxLANGUAGE_SLOVAK))); } { - PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_From_int((int)(wxLANGUAGE_SLOVENIAN))); + PyDict_SetItemString(d,"LANGUAGE_SLOVENIAN", SWIG_From_int(static_cast(wxLANGUAGE_SLOVENIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_From_int((int)(wxLANGUAGE_SOMALI))); + PyDict_SetItemString(d,"LANGUAGE_SOMALI", SWIG_From_int(static_cast(wxLANGUAGE_SOMALI))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_From_int((int)(wxLANGUAGE_SPANISH))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ARGENTINA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_ARGENTINA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_ARGENTINA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_BOLIVIA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_BOLIVIA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_BOLIVIA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_From_int((int)(wxLANGUAGE_SPANISH_CHILE))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_CHILE", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_CHILE))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COLOMBIA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_COLOMBIA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_COLOMBIA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_COSTA_RICA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_COSTA_RICA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_COSTA_RICA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int((int)(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_DOMINICAN_REPUBLIC", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_ECUADOR))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_ECUADOR", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_ECUADOR))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int((int)(wxLANGUAGE_SPANISH_EL_SALVADOR))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_EL_SALVADOR", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_EL_SALVADOR))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_GUATEMALA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_GUATEMALA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_GUATEMALA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int((int)(wxLANGUAGE_SPANISH_HONDURAS))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_HONDURAS", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_HONDURAS))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MEXICAN))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_MEXICAN", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_MEXICAN))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_From_int((int)(wxLANGUAGE_SPANISH_MODERN))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_MODERN", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_MODERN))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_NICARAGUA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_NICARAGUA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_NICARAGUA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PANAMA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_PANAMA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_PANAMA))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PARAGUAY))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_PARAGUAY", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_PARAGUAY))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PERU))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_PERU", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_PERU))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int((int)(wxLANGUAGE_SPANISH_PUERTO_RICO))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_PUERTO_RICO", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_PUERTO_RICO))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int((int)(wxLANGUAGE_SPANISH_URUGUAY))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_URUGUAY", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_URUGUAY))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_From_int((int)(wxLANGUAGE_SPANISH_US))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_US", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_US))); } { - PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int((int)(wxLANGUAGE_SPANISH_VENEZUELA))); + PyDict_SetItemString(d,"LANGUAGE_SPANISH_VENEZUELA", SWIG_From_int(static_cast(wxLANGUAGE_SPANISH_VENEZUELA))); } { - PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_From_int((int)(wxLANGUAGE_SUNDANESE))); + PyDict_SetItemString(d,"LANGUAGE_SUNDANESE", SWIG_From_int(static_cast(wxLANGUAGE_SUNDANESE))); } { - PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_From_int((int)(wxLANGUAGE_SWAHILI))); + PyDict_SetItemString(d,"LANGUAGE_SWAHILI", SWIG_From_int(static_cast(wxLANGUAGE_SWAHILI))); } { - PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_From_int((int)(wxLANGUAGE_SWEDISH))); + PyDict_SetItemString(d,"LANGUAGE_SWEDISH", SWIG_From_int(static_cast(wxLANGUAGE_SWEDISH))); } { - PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int((int)(wxLANGUAGE_SWEDISH_FINLAND))); + PyDict_SetItemString(d,"LANGUAGE_SWEDISH_FINLAND", SWIG_From_int(static_cast(wxLANGUAGE_SWEDISH_FINLAND))); } { - PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_From_int((int)(wxLANGUAGE_TAGALOG))); + PyDict_SetItemString(d,"LANGUAGE_TAGALOG", SWIG_From_int(static_cast(wxLANGUAGE_TAGALOG))); } { - PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_From_int((int)(wxLANGUAGE_TAJIK))); + PyDict_SetItemString(d,"LANGUAGE_TAJIK", SWIG_From_int(static_cast(wxLANGUAGE_TAJIK))); } { - PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_From_int((int)(wxLANGUAGE_TAMIL))); + PyDict_SetItemString(d,"LANGUAGE_TAMIL", SWIG_From_int(static_cast(wxLANGUAGE_TAMIL))); } { - PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_From_int((int)(wxLANGUAGE_TATAR))); + PyDict_SetItemString(d,"LANGUAGE_TATAR", SWIG_From_int(static_cast(wxLANGUAGE_TATAR))); } { - PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_From_int((int)(wxLANGUAGE_TELUGU))); + PyDict_SetItemString(d,"LANGUAGE_TELUGU", SWIG_From_int(static_cast(wxLANGUAGE_TELUGU))); } { - PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_From_int((int)(wxLANGUAGE_THAI))); + PyDict_SetItemString(d,"LANGUAGE_THAI", SWIG_From_int(static_cast(wxLANGUAGE_THAI))); } { - PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_From_int((int)(wxLANGUAGE_TIBETAN))); + PyDict_SetItemString(d,"LANGUAGE_TIBETAN", SWIG_From_int(static_cast(wxLANGUAGE_TIBETAN))); } { - PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_From_int((int)(wxLANGUAGE_TIGRINYA))); + PyDict_SetItemString(d,"LANGUAGE_TIGRINYA", SWIG_From_int(static_cast(wxLANGUAGE_TIGRINYA))); } { - PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_From_int((int)(wxLANGUAGE_TONGA))); + PyDict_SetItemString(d,"LANGUAGE_TONGA", SWIG_From_int(static_cast(wxLANGUAGE_TONGA))); } { - PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_From_int((int)(wxLANGUAGE_TSONGA))); + PyDict_SetItemString(d,"LANGUAGE_TSONGA", SWIG_From_int(static_cast(wxLANGUAGE_TSONGA))); } { - PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_From_int((int)(wxLANGUAGE_TURKISH))); + PyDict_SetItemString(d,"LANGUAGE_TURKISH", SWIG_From_int(static_cast(wxLANGUAGE_TURKISH))); } { - PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_From_int((int)(wxLANGUAGE_TURKMEN))); + PyDict_SetItemString(d,"LANGUAGE_TURKMEN", SWIG_From_int(static_cast(wxLANGUAGE_TURKMEN))); } { - PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_From_int((int)(wxLANGUAGE_TWI))); + PyDict_SetItemString(d,"LANGUAGE_TWI", SWIG_From_int(static_cast(wxLANGUAGE_TWI))); } { - PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_From_int((int)(wxLANGUAGE_UIGHUR))); + PyDict_SetItemString(d,"LANGUAGE_UIGHUR", SWIG_From_int(static_cast(wxLANGUAGE_UIGHUR))); } { - PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_From_int((int)(wxLANGUAGE_UKRAINIAN))); + PyDict_SetItemString(d,"LANGUAGE_UKRAINIAN", SWIG_From_int(static_cast(wxLANGUAGE_UKRAINIAN))); } { - PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_From_int((int)(wxLANGUAGE_URDU))); + PyDict_SetItemString(d,"LANGUAGE_URDU", SWIG_From_int(static_cast(wxLANGUAGE_URDU))); } { - PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_From_int((int)(wxLANGUAGE_URDU_INDIA))); + PyDict_SetItemString(d,"LANGUAGE_URDU_INDIA", SWIG_From_int(static_cast(wxLANGUAGE_URDU_INDIA))); } { - PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int((int)(wxLANGUAGE_URDU_PAKISTAN))); + PyDict_SetItemString(d,"LANGUAGE_URDU_PAKISTAN", SWIG_From_int(static_cast(wxLANGUAGE_URDU_PAKISTAN))); } { - PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_From_int((int)(wxLANGUAGE_UZBEK))); + PyDict_SetItemString(d,"LANGUAGE_UZBEK", SWIG_From_int(static_cast(wxLANGUAGE_UZBEK))); } { - PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int((int)(wxLANGUAGE_UZBEK_CYRILLIC))); + PyDict_SetItemString(d,"LANGUAGE_UZBEK_CYRILLIC", SWIG_From_int(static_cast(wxLANGUAGE_UZBEK_CYRILLIC))); } { - PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_From_int((int)(wxLANGUAGE_UZBEK_LATIN))); + PyDict_SetItemString(d,"LANGUAGE_UZBEK_LATIN", SWIG_From_int(static_cast(wxLANGUAGE_UZBEK_LATIN))); } { - PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_From_int((int)(wxLANGUAGE_VIETNAMESE))); + PyDict_SetItemString(d,"LANGUAGE_VIETNAMESE", SWIG_From_int(static_cast(wxLANGUAGE_VIETNAMESE))); } { - PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_From_int((int)(wxLANGUAGE_VOLAPUK))); + PyDict_SetItemString(d,"LANGUAGE_VOLAPUK", SWIG_From_int(static_cast(wxLANGUAGE_VOLAPUK))); } { - PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_From_int((int)(wxLANGUAGE_WELSH))); + PyDict_SetItemString(d,"LANGUAGE_WELSH", SWIG_From_int(static_cast(wxLANGUAGE_WELSH))); } { - PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_From_int((int)(wxLANGUAGE_WOLOF))); + PyDict_SetItemString(d,"LANGUAGE_WOLOF", SWIG_From_int(static_cast(wxLANGUAGE_WOLOF))); } { - PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_From_int((int)(wxLANGUAGE_XHOSA))); + PyDict_SetItemString(d,"LANGUAGE_XHOSA", SWIG_From_int(static_cast(wxLANGUAGE_XHOSA))); } { - PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_From_int((int)(wxLANGUAGE_YIDDISH))); + PyDict_SetItemString(d,"LANGUAGE_YIDDISH", SWIG_From_int(static_cast(wxLANGUAGE_YIDDISH))); } { - PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_From_int((int)(wxLANGUAGE_YORUBA))); + PyDict_SetItemString(d,"LANGUAGE_YORUBA", SWIG_From_int(static_cast(wxLANGUAGE_YORUBA))); } { - PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_From_int((int)(wxLANGUAGE_ZHUANG))); + PyDict_SetItemString(d,"LANGUAGE_ZHUANG", SWIG_From_int(static_cast(wxLANGUAGE_ZHUANG))); } { - PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_From_int((int)(wxLANGUAGE_ZULU))); + PyDict_SetItemString(d,"LANGUAGE_ZULU", SWIG_From_int(static_cast(wxLANGUAGE_ZULU))); } { - PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_From_int((int)(wxLANGUAGE_USER_DEFINED))); + PyDict_SetItemString(d,"LANGUAGE_USER_DEFINED", SWIG_From_int(static_cast(wxLANGUAGE_USER_DEFINED))); } { - PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_From_int((int)(wxLOCALE_CAT_NUMBER))); + PyDict_SetItemString(d,"LOCALE_CAT_NUMBER", SWIG_From_int(static_cast(wxLOCALE_CAT_NUMBER))); } { - PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_From_int((int)(wxLOCALE_CAT_DATE))); + PyDict_SetItemString(d,"LOCALE_CAT_DATE", SWIG_From_int(static_cast(wxLOCALE_CAT_DATE))); } { - PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_From_int((int)(wxLOCALE_CAT_MONEY))); + PyDict_SetItemString(d,"LOCALE_CAT_MONEY", SWIG_From_int(static_cast(wxLOCALE_CAT_MONEY))); } { - PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_From_int((int)(wxLOCALE_CAT_MAX))); + PyDict_SetItemString(d,"LOCALE_CAT_MAX", SWIG_From_int(static_cast(wxLOCALE_CAT_MAX))); } { - PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_From_int((int)(wxLOCALE_THOUSANDS_SEP))); + PyDict_SetItemString(d,"LOCALE_THOUSANDS_SEP", SWIG_From_int(static_cast(wxLOCALE_THOUSANDS_SEP))); } { - PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_From_int((int)(wxLOCALE_DECIMAL_POINT))); + PyDict_SetItemString(d,"LOCALE_DECIMAL_POINT", SWIG_From_int(static_cast(wxLOCALE_DECIMAL_POINT))); } { - PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_From_int((int)(wxLOCALE_LOAD_DEFAULT))); + PyDict_SetItemString(d,"LOCALE_LOAD_DEFAULT", SWIG_From_int(static_cast(wxLOCALE_LOAD_DEFAULT))); } { - PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_From_int((int)(wxLOCALE_CONV_ENCODING))); + PyDict_SetItemString(d,"LOCALE_CONV_ENCODING", SWIG_From_int(static_cast(wxLOCALE_CONV_ENCODING))); } { - PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_From_int((int)(wxCONVERT_STRICT))); + PyDict_SetItemString(d,"CONVERT_STRICT", SWIG_From_int(static_cast(wxCONVERT_STRICT))); } { - PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_From_int((int)(wxCONVERT_SUBSTITUTE))); + PyDict_SetItemString(d,"CONVERT_SUBSTITUTE", SWIG_From_int(static_cast(wxCONVERT_SUBSTITUTE))); } { - PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_From_int((int)(wxPLATFORM_CURRENT))); + PyDict_SetItemString(d,"PLATFORM_CURRENT", SWIG_From_int(static_cast(wxPLATFORM_CURRENT))); } { - PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_From_int((int)(wxPLATFORM_UNIX))); + PyDict_SetItemString(d,"PLATFORM_UNIX", SWIG_From_int(static_cast(wxPLATFORM_UNIX))); } { - PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_From_int((int)(wxPLATFORM_WINDOWS))); + PyDict_SetItemString(d,"PLATFORM_WINDOWS", SWIG_From_int(static_cast(wxPLATFORM_WINDOWS))); } { - PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_From_int((int)(wxPLATFORM_OS2))); + PyDict_SetItemString(d,"PLATFORM_OS2", SWIG_From_int(static_cast(wxPLATFORM_OS2))); } { - PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_From_int((int)(wxPLATFORM_MAC))); + PyDict_SetItemString(d,"PLATFORM_MAC", SWIG_From_int(static_cast(wxPLATFORM_MAC))); } { - PyDict_SetItemString(d,"BUFFER_VIRTUAL_AREA", SWIG_From_int((int)(wxBUFFER_VIRTUAL_AREA))); + PyDict_SetItemString(d,"BUFFER_VIRTUAL_AREA", SWIG_From_int(static_cast(wxBUFFER_VIRTUAL_AREA))); } { - PyDict_SetItemString(d,"BUFFER_CLIENT_AREA", SWIG_From_int((int)(wxBUFFER_CLIENT_AREA))); + PyDict_SetItemString(d,"BUFFER_CLIENT_AREA", SWIG_From_int(static_cast(wxBUFFER_CLIENT_AREA))); } { - PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_From_int((int)(wxIMAGELIST_DRAW_NORMAL))); + PyDict_SetItemString(d,"IMAGELIST_DRAW_NORMAL", SWIG_From_int(static_cast(wxIMAGELIST_DRAW_NORMAL))); } { - PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int((int)(wxIMAGELIST_DRAW_TRANSPARENT))); + PyDict_SetItemString(d,"IMAGELIST_DRAW_TRANSPARENT", SWIG_From_int(static_cast(wxIMAGELIST_DRAW_TRANSPARENT))); } { - PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_From_int((int)(wxIMAGELIST_DRAW_SELECTED))); + PyDict_SetItemString(d,"IMAGELIST_DRAW_SELECTED", SWIG_From_int(static_cast(wxIMAGELIST_DRAW_SELECTED))); } { - PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int((int)(wxIMAGELIST_DRAW_FOCUSED))); + PyDict_SetItemString(d,"IMAGELIST_DRAW_FOCUSED", SWIG_From_int(static_cast(wxIMAGELIST_DRAW_FOCUSED))); } { - PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_From_int((int)(wxIMAGE_LIST_NORMAL))); + PyDict_SetItemString(d,"IMAGE_LIST_NORMAL", SWIG_From_int(static_cast(wxIMAGE_LIST_NORMAL))); } { - PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_From_int((int)(wxIMAGE_LIST_SMALL))); + PyDict_SetItemString(d,"IMAGE_LIST_SMALL", SWIG_From_int(static_cast(wxIMAGE_LIST_SMALL))); } { - PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_From_int((int)(wxIMAGE_LIST_STATE))); + PyDict_SetItemString(d,"IMAGE_LIST_STATE", SWIG_From_int(static_cast(wxIMAGE_LIST_STATE))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"NORMAL_FONT",_wrap_NORMAL_FONT_get, _wrap_NORMAL_FONT_set); @@ -24225,49 +25103,49 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"TheBrushList",_wrap_TheBrushList_get, _wrap_TheBrushList_set); SWIG_addvarlink(SWIG_globals,(char*)"TheColourDatabase",_wrap_TheColourDatabase_get, _wrap_TheColourDatabase_set); { - PyDict_SetItemString(d,"CONTROL_DISABLED", SWIG_From_int((int)(wxCONTROL_DISABLED))); + PyDict_SetItemString(d,"CONTROL_DISABLED", SWIG_From_int(static_cast(wxCONTROL_DISABLED))); } { - PyDict_SetItemString(d,"CONTROL_FOCUSED", SWIG_From_int((int)(wxCONTROL_FOCUSED))); + PyDict_SetItemString(d,"CONTROL_FOCUSED", SWIG_From_int(static_cast(wxCONTROL_FOCUSED))); } { - PyDict_SetItemString(d,"CONTROL_PRESSED", SWIG_From_int((int)(wxCONTROL_PRESSED))); + PyDict_SetItemString(d,"CONTROL_PRESSED", SWIG_From_int(static_cast(wxCONTROL_PRESSED))); } { - PyDict_SetItemString(d,"CONTROL_ISDEFAULT", SWIG_From_int((int)(wxCONTROL_ISDEFAULT))); + PyDict_SetItemString(d,"CONTROL_ISDEFAULT", SWIG_From_int(static_cast(wxCONTROL_ISDEFAULT))); } { - PyDict_SetItemString(d,"CONTROL_ISSUBMENU", SWIG_From_int((int)(wxCONTROL_ISSUBMENU))); + PyDict_SetItemString(d,"CONTROL_ISSUBMENU", SWIG_From_int(static_cast(wxCONTROL_ISSUBMENU))); } { - PyDict_SetItemString(d,"CONTROL_EXPANDED", SWIG_From_int((int)(wxCONTROL_EXPANDED))); + PyDict_SetItemString(d,"CONTROL_EXPANDED", SWIG_From_int(static_cast(wxCONTROL_EXPANDED))); } { - PyDict_SetItemString(d,"CONTROL_CURRENT", SWIG_From_int((int)(wxCONTROL_CURRENT))); + PyDict_SetItemString(d,"CONTROL_CURRENT", SWIG_From_int(static_cast(wxCONTROL_CURRENT))); } { - PyDict_SetItemString(d,"CONTROL_SELECTED", SWIG_From_int((int)(wxCONTROL_SELECTED))); + PyDict_SetItemString(d,"CONTROL_SELECTED", SWIG_From_int(static_cast(wxCONTROL_SELECTED))); } { - PyDict_SetItemString(d,"CONTROL_CHECKED", SWIG_From_int((int)(wxCONTROL_CHECKED))); + PyDict_SetItemString(d,"CONTROL_CHECKED", SWIG_From_int(static_cast(wxCONTROL_CHECKED))); } { - PyDict_SetItemString(d,"CONTROL_CHECKABLE", SWIG_From_int((int)(wxCONTROL_CHECKABLE))); + PyDict_SetItemString(d,"CONTROL_CHECKABLE", SWIG_From_int(static_cast(wxCONTROL_CHECKABLE))); } { - PyDict_SetItemString(d,"CONTROL_UNDETERMINED", SWIG_From_int((int)(wxCONTROL_UNDETERMINED))); + PyDict_SetItemString(d,"CONTROL_UNDETERMINED", SWIG_From_int(static_cast(wxCONTROL_UNDETERMINED))); } { - PyDict_SetItemString(d,"CONTROL_FLAGS_MASK", SWIG_From_int((int)(wxCONTROL_FLAGS_MASK))); + PyDict_SetItemString(d,"CONTROL_FLAGS_MASK", SWIG_From_int(static_cast(wxCONTROL_FLAGS_MASK))); } { - PyDict_SetItemString(d,"CONTROL_DIRTY", SWIG_From_int((int)(wxCONTROL_DIRTY))); + PyDict_SetItemString(d,"CONTROL_DIRTY", SWIG_From_int(static_cast(wxCONTROL_DIRTY))); } { - PyDict_SetItemString(d,"RendererVersion_Current_Version", SWIG_From_int((int)(wxRendererVersion::Current_Version))); + PyDict_SetItemString(d,"RendererVersion_Current_Version", SWIG_From_int(static_cast(wxRendererVersion::Current_Version))); } { - PyDict_SetItemString(d,"RendererVersion_Current_Age", SWIG_From_int((int)(wxRendererVersion::Current_Age))); + PyDict_SetItemString(d,"RendererVersion_Current_Age", SWIG_From_int(static_cast(wxRendererVersion::Current_Age))); } // Work around a chicken/egg problem in drawlist.cpp diff --git a/wxPython/src/mac/_misc.py b/wxPython/src/mac/_misc.py index ebb670e407..641301f145 100644 --- a/wxPython/src/mac/_misc.py +++ b/wxPython/src/mac/_misc.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _misc_ @@ -319,10 +319,6 @@ def GetElapsedTime(*args, **kwargs): """GetElapsedTime(bool resetTimer=True) -> long""" return _misc_.GetElapsedTime(*args, **kwargs) -def GetMousePosition(*args, **kwargs): - """GetMousePosition() -> (x,y)""" - return _misc_.GetMousePosition(*args, **kwargs) - def IsBusy(*args, **kwargs): """IsBusy() -> bool""" return _misc_.IsBusy(*args, **kwargs) @@ -539,8 +535,29 @@ def BeginBusyCursor(*args, **kwargs): """BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)""" return _misc_.BeginBusyCursor(*args, **kwargs) +def GetMousePosition(*args, **kwargs): + """ + GetMousePosition() -> Point + + Get the current mouse position on the screen. + """ + return _misc_.GetMousePosition(*args, **kwargs) + +def FindWindowAtPointer(*args, **kwargs): + """ + FindWindowAtPointer() -> Window + + Returns the window currently under the mouse pointer, if it belongs to + this application. Otherwise it returns None. + """ + return _misc_.FindWindowAtPointer(*args, **kwargs) + def GetActiveWindow(*args, **kwargs): - """GetActiveWindow() -> Window""" + """ + GetActiveWindow() -> Window + + Get the currently active window of this application, or None + """ return _misc_.GetActiveWindow(*args, **kwargs) def GenericFindWindowAtPoint(*args, **kwargs): @@ -571,10 +588,144 @@ def GetKeyState(*args, **kwargs): Get the state of a key (true if pressed or toggled on, false if not.) This is generally most useful getting the state of the modifier or - toggle keys. On some platforms those may be the only keys that work. + toggle keys. On some platforms those may be the only keys that this + function is able to detect. """ return _misc_.GetKeyState(*args, **kwargs) +class MouseState(object): + """ + `wx.MouseState` is used to hold information about mouse button and + modifier key states and is what is returned from `wx.GetMouseState`. + """ + def __repr__(self): + return "<%s.%s; proxy of C++ wxMouseState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """ + __init__(self) -> MouseState + + `wx.MouseState` is used to hold information about mouse button and + modifier key states and is what is returned from `wx.GetMouseState`. + """ + newobj = _misc_.new_MouseState(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def __del__(self, destroy=_misc_.delete_MouseState): + """__del__(self)""" + try: + if self.thisown: destroy(self) + except: pass + + def GetX(*args, **kwargs): + """GetX(self) -> int""" + return _misc_.MouseState_GetX(*args, **kwargs) + + def GetY(*args, **kwargs): + """GetY(self) -> int""" + return _misc_.MouseState_GetY(*args, **kwargs) + + def LeftDown(*args, **kwargs): + """LeftDown(self) -> bool""" + return _misc_.MouseState_LeftDown(*args, **kwargs) + + def MiddleDown(*args, **kwargs): + """MiddleDown(self) -> bool""" + return _misc_.MouseState_MiddleDown(*args, **kwargs) + + def RightDown(*args, **kwargs): + """RightDown(self) -> bool""" + return _misc_.MouseState_RightDown(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown(self) -> bool""" + return _misc_.MouseState_ControlDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown(self) -> bool""" + return _misc_.MouseState_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown(self) -> bool""" + return _misc_.MouseState_AltDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown(self) -> bool""" + return _misc_.MouseState_MetaDown(*args, **kwargs) + + def CmdDown(*args, **kwargs): + """CmdDown(self) -> bool""" + return _misc_.MouseState_CmdDown(*args, **kwargs) + + def SetX(*args, **kwargs): + """SetX(self, int x)""" + return _misc_.MouseState_SetX(*args, **kwargs) + + def SetY(*args, **kwargs): + """SetY(self, int y)""" + return _misc_.MouseState_SetY(*args, **kwargs) + + def SetLeftDown(*args, **kwargs): + """SetLeftDown(self, bool down)""" + return _misc_.MouseState_SetLeftDown(*args, **kwargs) + + def SetMiddleDown(*args, **kwargs): + """SetMiddleDown(self, bool down)""" + return _misc_.MouseState_SetMiddleDown(*args, **kwargs) + + def SetRightDown(*args, **kwargs): + """SetRightDown(self, bool down)""" + return _misc_.MouseState_SetRightDown(*args, **kwargs) + + def SetControlDown(*args, **kwargs): + """SetControlDown(self, bool down)""" + return _misc_.MouseState_SetControlDown(*args, **kwargs) + + def SetShiftDown(*args, **kwargs): + """SetShiftDown(self, bool down)""" + return _misc_.MouseState_SetShiftDown(*args, **kwargs) + + def SetAltDown(*args, **kwargs): + """SetAltDown(self, bool down)""" + return _misc_.MouseState_SetAltDown(*args, **kwargs) + + def SetMetaDown(*args, **kwargs): + """SetMetaDown(self, bool down)""" + return _misc_.MouseState_SetMetaDown(*args, **kwargs) + + x = property(GetX, SetX) + y = property(GetY, SetY) + leftDown = property(LeftDown, SetLeftDown) + middleDown = property(MiddleDown, SetMiddleDown) + rightDown = property(RightDown, SetRightDown) + controlDown = property(ControlDown, SetControlDown) + shiftDown = property(ShiftDown, SetShiftDown) + altDown = property(AltDown, SetAltDown) + metaDown = property(MetaDown, SetMetaDown) + cmdDown = property(CmdDown) + + +class MouseStatePtr(MouseState): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = MouseState +_misc_.MouseState_swigregister(MouseStatePtr) +FileSelectorPromptStr = cvar.FileSelectorPromptStr +FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr +DirSelectorPromptStr = cvar.DirSelectorPromptStr + + +def GetMouseState(*args, **kwargs): + """ + GetMouseState() -> MouseState + + Returns the current state of the mouse. Returns an instance of a + `wx.MouseState` object that contains the current position of the mouse + pointer in screen coordinants, as well as boolean values indicating + the up/down status of the mouse buttons and the modifier keys. + """ + return _misc_.GetMouseState(*args, **kwargs) def WakeUpMainThread(*args, **kwargs): """WakeUpMainThread()""" @@ -610,9 +761,6 @@ class MutexGuiLockerPtr(MutexGuiLocker): if not hasattr(self,"thisown"): self.thisown = 0 self.__class__ = MutexGuiLocker _misc_.MutexGuiLocker_swigregister(MutexGuiLockerPtr) -FileSelectorPromptStr = cvar.FileSelectorPromptStr -FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr -DirSelectorPromptStr = cvar.DirSelectorPromptStr def Thread_IsMain(*args, **kwargs): @@ -1162,6 +1310,7 @@ class TimerRunner(object): """ __init__(self, wxTimer timer) -> TimerRunner __init__(self, wxTimer timer, int milli, bool oneShot=False) -> TimerRunner + __init__(self, wxTimer timer, int milli) -> TimerRunner """ newobj = _misc_.new_TimerRunner(*args) self.this = newobj.this @@ -5177,7 +5326,7 @@ class CustomDataObjectPtr(CustomDataObject): self.__class__ = CustomDataObject _misc_.CustomDataObject_swigregister(CustomDataObjectPtr) -class URLDataObject(DataObjectComposite): +class URLDataObject(DataObject): """ This data object holds a URL in a format that is compatible with some browsers such that it is able to be dragged to or from them. @@ -6113,3 +6262,4 @@ def StandardPaths_Get(*args, **kwargs): return _misc_.StandardPaths_Get(*args, **kwargs) + diff --git a/wxPython/src/mac/_misc_wrap.cpp b/wxPython/src/mac/_misc_wrap.cpp index ad61f4c890..aeda3a44dc 100644 --- a/wxPython/src/mac/_misc_wrap.cpp +++ b/wxPython/src/mac/_misc_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -26,15 +26,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +106,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) -#else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -# define SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +125,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +143,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +186,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +204,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +317,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +439,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +461,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +520,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +533,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +610,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +631,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +643,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +683,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +711,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +747,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +790,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +824,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +844,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +877,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +896,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +925,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +934,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +947,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +981,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1001,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1045,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1072,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,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,107 +1431,183 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxLogChain swig_types[0] -#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1] -#define SWIGTYPE_p_wxMetafile swig_types[2] -#define SWIGTYPE_p_wxFileHistory swig_types[3] -#define SWIGTYPE_p_wxLog swig_types[4] -#define SWIGTYPE_p_wxMenu swig_types[5] -#define SWIGTYPE_p_wxEvent swig_types[6] -#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7] -#define SWIGTYPE_p_wxConfigBase swig_types[8] -#define SWIGTYPE_p_wxDisplay swig_types[9] -#define SWIGTYPE_p_wxFileType swig_types[10] -#define SWIGTYPE_p_wxLogGui swig_types[11] -#define SWIGTYPE_p_wxMemorySize swig_types[12] -#define SWIGTYPE_p_wxFont swig_types[13] -#define SWIGTYPE_p_wxDataFormat swig_types[14] -#define SWIGTYPE_p_wxTimerEvent swig_types[15] -#define SWIGTYPE_p_wxCaret swig_types[16] -#define SWIGTYPE_ptrdiff_t swig_types[17] -#define SWIGTYPE_std__ptrdiff_t swig_types[18] -#define SWIGTYPE_p_void swig_types[19] -#define SWIGTYPE_p_int swig_types[20] -#define SWIGTYPE_p_wxSize swig_types[21] -#define SWIGTYPE_p_wxClipboard swig_types[22] -#define SWIGTYPE_p_wxStopWatch swig_types[23] -#define SWIGTYPE_p_wxDC swig_types[24] -#define SWIGTYPE_p_wxClipboardLocker swig_types[25] -#define SWIGTYPE_p_wxIcon swig_types[26] -#define SWIGTYPE_p_wxLogStderr swig_types[27] -#define SWIGTYPE_p_wxLogTextCtrl swig_types[28] -#define SWIGTYPE_p_wxTextCtrl swig_types[29] -#define SWIGTYPE_p_wxBusyCursor swig_types[30] -#define SWIGTYPE_p_wxBitmapDataObject swig_types[31] -#define SWIGTYPE_p_wxTextDataObject swig_types[32] -#define SWIGTYPE_p_wxDataObject swig_types[33] -#define SWIGTYPE_p_wxPyTextDataObject swig_types[34] -#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[35] -#define SWIGTYPE_p_wxFileDataObject swig_types[36] -#define SWIGTYPE_p_wxCustomDataObject swig_types[37] -#define SWIGTYPE_p_wxURLDataObject swig_types[38] -#define SWIGTYPE_p_wxMetafileDataObject swig_types[39] -#define SWIGTYPE_p_wxSound swig_types[40] -#define SWIGTYPE_p_wxTimerRunner swig_types[41] -#define SWIGTYPE_p_wxLogWindow swig_types[42] -#define SWIGTYPE_p_wxTimeSpan swig_types[43] -#define SWIGTYPE_p_wxArrayString swig_types[44] -#define SWIGTYPE_p_wxWindowDisabler swig_types[45] -#define SWIGTYPE_p_form_ops_t swig_types[46] -#define SWIGTYPE_p_wxToolTip swig_types[47] -#define SWIGTYPE_p_wxDataObjectComposite swig_types[48] -#define SWIGTYPE_p_wxSystemSettings swig_types[49] -#define SWIGTYPE_p_wxFileConfig swig_types[50] -#define SWIGTYPE_p_wxVideoMode swig_types[51] -#define SWIGTYPE_p_wxDataObjectSimple swig_types[52] -#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[53] -#define SWIGTYPE_p_wxDuplexMode swig_types[54] -#define SWIGTYPE_p_wxEvtHandler swig_types[55] -#define SWIGTYPE_p_wxRect swig_types[56] -#define SWIGTYPE_p_char swig_types[57] -#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[58] -#define SWIGTYPE_p_wxStandardPaths swig_types[59] -#define SWIGTYPE_p_wxFileTypeInfo swig_types[60] -#define SWIGTYPE_p_wxFrame swig_types[61] -#define SWIGTYPE_p_wxTimer swig_types[62] -#define SWIGTYPE_p_wxPaperSize swig_types[63] -#define SWIGTYPE_p_wxMimeTypesManager swig_types[64] -#define SWIGTYPE_p_wxPyTipProvider swig_types[65] -#define SWIGTYPE_p_wxTipProvider swig_types[66] -#define SWIGTYPE_p_wxJoystick swig_types[67] -#define SWIGTYPE_p_wxSystemOptions swig_types[68] -#define SWIGTYPE_p_wxPyArtProvider swig_types[69] -#define SWIGTYPE_p_wxPoint swig_types[70] -#define SWIGTYPE_p_wxJoystickEvent swig_types[71] -#define SWIGTYPE_p_wxCursor swig_types[72] -#define SWIGTYPE_p_wxObject swig_types[73] -#define SWIGTYPE_p_wxOutputStream swig_types[74] -#define SWIGTYPE_p_wxDateTime swig_types[75] -#define SWIGTYPE_p_wxPyDropSource swig_types[76] -#define SWIGTYPE_p_unsigned_long swig_types[77] -#define SWIGTYPE_p_wxLogBuffer swig_types[78] -#define SWIGTYPE_p_wxKillError swig_types[79] -#define SWIGTYPE_p_wxWindow swig_types[80] -#define SWIGTYPE_p_wxString swig_types[81] -#define SWIGTYPE_p_wxPyProcess swig_types[82] -#define SWIGTYPE_p_wxBitmap swig_types[83] -#define SWIGTYPE_unsigned_int swig_types[84] -#define SWIGTYPE_p_unsigned_int swig_types[85] -#define SWIGTYPE_p_wxConfig swig_types[86] -#define SWIGTYPE_p_unsigned_char swig_types[87] -#define SWIGTYPE_p_wxChar swig_types[88] -#define SWIGTYPE_p_wxBusyInfo swig_types[89] -#define SWIGTYPE_p_wxPyDropTarget swig_types[90] -#define SWIGTYPE_p_wxPyTextDropTarget swig_types[91] -#define SWIGTYPE_p_wxPyFileDropTarget swig_types[92] -#define SWIGTYPE_p_wxProcessEvent swig_types[93] -#define SWIGTYPE_p_wxPyLog swig_types[94] -#define SWIGTYPE_p_wxLogNull swig_types[95] -#define SWIGTYPE_p_wxColour swig_types[96] -#define SWIGTYPE_p_wxPyTimer swig_types[97] -#define SWIGTYPE_p_wxConfigPathChanger swig_types[98] -#define SWIGTYPE_p_wxDateSpan swig_types[99] -static swig_type_info *swig_types[101]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_form_ops_t swig_types[1] +#define SWIGTYPE_p_int swig_types[2] +#define SWIGTYPE_p_unsigned_char swig_types[3] +#define SWIGTYPE_p_unsigned_int swig_types[4] +#define SWIGTYPE_p_unsigned_long swig_types[5] +#define SWIGTYPE_p_void swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxArrayString swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_wxBitmap swig_types[12] +#define SWIGTYPE_p_wxBitmapDataObject swig_types[13] +#define SWIGTYPE_p_wxBoxSizer swig_types[14] +#define SWIGTYPE_p_wxBusyCursor swig_types[15] +#define SWIGTYPE_p_wxBusyInfo swig_types[16] +#define SWIGTYPE_p_wxCURHandler swig_types[17] +#define SWIGTYPE_p_wxCaret swig_types[18] +#define SWIGTYPE_p_wxChar swig_types[19] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[20] +#define SWIGTYPE_p_wxClipboard swig_types[21] +#define SWIGTYPE_p_wxClipboardLocker swig_types[22] +#define SWIGTYPE_p_wxCloseEvent swig_types[23] +#define SWIGTYPE_p_wxColour swig_types[24] +#define SWIGTYPE_p_wxCommandEvent swig_types[25] +#define SWIGTYPE_p_wxConfig swig_types[26] +#define SWIGTYPE_p_wxConfigBase swig_types[27] +#define SWIGTYPE_p_wxConfigPathChanger swig_types[28] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[29] +#define SWIGTYPE_p_wxControl swig_types[30] +#define SWIGTYPE_p_wxControlWithItems swig_types[31] +#define SWIGTYPE_p_wxCursor swig_types[32] +#define SWIGTYPE_p_wxCustomDataObject swig_types[33] +#define SWIGTYPE_p_wxDC swig_types[34] +#define SWIGTYPE_p_wxDataFormat swig_types[35] +#define SWIGTYPE_p_wxDataObject swig_types[36] +#define SWIGTYPE_p_wxDataObjectComposite swig_types[37] +#define SWIGTYPE_p_wxDataObjectSimple swig_types[38] +#define SWIGTYPE_p_wxDateEvent swig_types[39] +#define SWIGTYPE_p_wxDateSpan swig_types[40] +#define SWIGTYPE_p_wxDateTime swig_types[41] +#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42] +#define SWIGTYPE_p_wxDisplay swig_types[43] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[45] +#define SWIGTYPE_p_wxDuplexMode swig_types[46] +#define SWIGTYPE_p_wxEraseEvent swig_types[47] +#define SWIGTYPE_p_wxEvent swig_types[48] +#define SWIGTYPE_p_wxEvtHandler swig_types[49] +#define SWIGTYPE_p_wxFSFile swig_types[50] +#define SWIGTYPE_p_wxFileConfig swig_types[51] +#define SWIGTYPE_p_wxFileDataObject swig_types[52] +#define SWIGTYPE_p_wxFileHistory swig_types[53] +#define SWIGTYPE_p_wxFileSystem swig_types[54] +#define SWIGTYPE_p_wxFileType swig_types[55] +#define SWIGTYPE_p_wxFileTypeInfo swig_types[56] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[57] +#define SWIGTYPE_p_wxFocusEvent swig_types[58] +#define SWIGTYPE_p_wxFont swig_types[59] +#define SWIGTYPE_p_wxFrame swig_types[60] +#define SWIGTYPE_p_wxGBSizerItem swig_types[61] +#define SWIGTYPE_p_wxGIFHandler swig_types[62] +#define SWIGTYPE_p_wxGridBagSizer swig_types[63] +#define SWIGTYPE_p_wxGridSizer swig_types[64] +#define SWIGTYPE_p_wxICOHandler swig_types[65] +#define SWIGTYPE_p_wxIcon swig_types[66] +#define SWIGTYPE_p_wxIconizeEvent swig_types[67] +#define SWIGTYPE_p_wxIdleEvent swig_types[68] +#define SWIGTYPE_p_wxImage swig_types[69] +#define SWIGTYPE_p_wxImageHandler swig_types[70] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[72] +#define SWIGTYPE_p_wxJPEGHandler swig_types[73] +#define SWIGTYPE_p_wxJoystick swig_types[74] +#define SWIGTYPE_p_wxJoystickEvent swig_types[75] +#define SWIGTYPE_p_wxKeyEvent swig_types[76] +#define SWIGTYPE_p_wxKillError swig_types[77] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[78] +#define SWIGTYPE_p_wxLog swig_types[79] +#define SWIGTYPE_p_wxLogBuffer swig_types[80] +#define SWIGTYPE_p_wxLogChain swig_types[81] +#define SWIGTYPE_p_wxLogGui swig_types[82] +#define SWIGTYPE_p_wxLogNull swig_types[83] +#define SWIGTYPE_p_wxLogStderr swig_types[84] +#define SWIGTYPE_p_wxLogTextCtrl swig_types[85] +#define SWIGTYPE_p_wxLogWindow swig_types[86] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[87] +#define SWIGTYPE_p_wxMemorySize swig_types[88] +#define SWIGTYPE_p_wxMenu swig_types[89] +#define SWIGTYPE_p_wxMenuBar swig_types[90] +#define SWIGTYPE_p_wxMenuEvent swig_types[91] +#define SWIGTYPE_p_wxMenuItem swig_types[92] +#define SWIGTYPE_p_wxMetafile swig_types[93] +#define SWIGTYPE_p_wxMetafileDataObject swig_types[94] +#define SWIGTYPE_p_wxMimeTypesManager swig_types[95] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96] +#define SWIGTYPE_p_wxMouseEvent swig_types[97] +#define SWIGTYPE_p_wxMouseState swig_types[98] +#define SWIGTYPE_p_wxMoveEvent swig_types[99] +#define SWIGTYPE_p_wxMutexGuiLocker swig_types[100] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[102] +#define SWIGTYPE_p_wxNotifyEvent swig_types[103] +#define SWIGTYPE_p_wxObject swig_types[104] +#define SWIGTYPE_p_wxOutputStream swig_types[105] +#define SWIGTYPE_p_wxPCXHandler swig_types[106] +#define SWIGTYPE_p_wxPNGHandler swig_types[107] +#define SWIGTYPE_p_wxPNMHandler swig_types[108] +#define SWIGTYPE_p_wxPaintEvent swig_types[109] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110] +#define SWIGTYPE_p_wxPaperSize swig_types[111] +#define SWIGTYPE_p_wxPoint swig_types[112] +#define SWIGTYPE_p_wxProcessEvent swig_types[113] +#define SWIGTYPE_p_wxPyApp swig_types[114] +#define SWIGTYPE_p_wxPyArtProvider swig_types[115] +#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[117] +#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118] +#define SWIGTYPE_p_wxPyDropSource swig_types[119] +#define SWIGTYPE_p_wxPyDropTarget swig_types[120] +#define SWIGTYPE_p_wxPyEvent swig_types[121] +#define SWIGTYPE_p_wxPyFileDropTarget swig_types[122] +#define SWIGTYPE_p_wxPyImageHandler swig_types[123] +#define SWIGTYPE_p_wxPyLog swig_types[124] +#define SWIGTYPE_p_wxPyProcess swig_types[125] +#define SWIGTYPE_p_wxPySizer swig_types[126] +#define SWIGTYPE_p_wxPyTextDataObject swig_types[127] +#define SWIGTYPE_p_wxPyTextDropTarget swig_types[128] +#define SWIGTYPE_p_wxPyTimer swig_types[129] +#define SWIGTYPE_p_wxPyTipProvider swig_types[130] +#define SWIGTYPE_p_wxPyValidator swig_types[131] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132] +#define SWIGTYPE_p_wxRect swig_types[133] +#define SWIGTYPE_p_wxScrollEvent swig_types[134] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[135] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[136] +#define SWIGTYPE_p_wxShowEvent swig_types[137] +#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138] +#define SWIGTYPE_p_wxSize swig_types[139] +#define SWIGTYPE_p_wxSizeEvent swig_types[140] +#define SWIGTYPE_p_wxSizer swig_types[141] +#define SWIGTYPE_p_wxSizerItem swig_types[142] +#define SWIGTYPE_p_wxSound swig_types[143] +#define SWIGTYPE_p_wxStandardPaths swig_types[144] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146] +#define SWIGTYPE_p_wxStopWatch swig_types[147] +#define SWIGTYPE_p_wxString swig_types[148] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149] +#define SWIGTYPE_p_wxSystemOptions swig_types[150] +#define SWIGTYPE_p_wxSystemSettings swig_types[151] +#define SWIGTYPE_p_wxTIFFHandler swig_types[152] +#define SWIGTYPE_p_wxTextCtrl swig_types[153] +#define SWIGTYPE_p_wxTextDataObject swig_types[154] +#define SWIGTYPE_p_wxTimeSpan swig_types[155] +#define SWIGTYPE_p_wxTimer swig_types[156] +#define SWIGTYPE_p_wxTimerEvent swig_types[157] +#define SWIGTYPE_p_wxTimerRunner swig_types[158] +#define SWIGTYPE_p_wxTipProvider swig_types[159] +#define SWIGTYPE_p_wxToolTip swig_types[160] +#define SWIGTYPE_p_wxURLDataObject swig_types[161] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[162] +#define SWIGTYPE_p_wxValidator swig_types[163] +#define SWIGTYPE_p_wxVideoMode swig_types[164] +#define SWIGTYPE_p_wxWindow swig_types[165] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[166] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167] +#define SWIGTYPE_p_wxWindowDisabler swig_types[168] +#define SWIGTYPE_p_wxXPMHandler swig_types[169] +#define SWIGTYPE_ptrdiff_t swig_types[170] +#define SWIGTYPE_std__ptrdiff_t swig_types[171] +#define SWIGTYPE_unsigned_int swig_types[172] +static swig_type_info *swig_types[174]; +static swig_module_info swig_module = {swig_types, 173, 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) -------- */ @@ -1459,7 +1627,7 @@ static swig_type_info *swig_types[101]; - /*@/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 /*@@*/ @@ -1512,7 +1680,7 @@ SWIGINTERN int long v; if (SWIG_AsVal_long(obj, &v)) { if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { - if (val) *val = (int)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1526,7 +1694,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1534,7 +1702,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1548,7 +1716,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1562,12 +1730,12 @@ SWIG_Check_int(PyObject* obj) static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1581,7 +1749,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1613,7 +1781,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1627,7 +1795,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1675,7 +1843,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; @@ -1689,19 +1857,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)); } @@ -1715,6 +1883,12 @@ SWIGINTERNSHORT PyObject* } + wxWindow* FindWindowAtPointer() { + wxPoint unused; + return wxFindWindowAtPointer(unused); + } + + bool wxThread_IsMain() { #ifdef WXP_WITH_THREAD return wxThread::IsMain(); @@ -1874,7 +2048,7 @@ SWIG_FromCharPtr(const char* cptr) if (cptr) { size_t size = strlen(cptr); if (size > INT_MAX) { - return SWIG_NewPointerObj((char*)(cptr), + return SWIG_NewPointerObj(const_cast(cptr), SWIG_TypeQuery("char *"), 0); } else { if (size != 0) { @@ -1889,7 +2063,7 @@ SWIG_FromCharPtr(const char* cptr) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1914,7 +2088,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -1926,7 +2100,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -1934,7 +2108,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -1948,13 +2122,13 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); } -static wxString Log_TimeStamp(){ +static wxString wxLog_TimeStamp(){ wxString msg; wxLog::TimeStamp(&msg); return msg; @@ -2322,7 +2496,7 @@ static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &file else RETURN_NONE(); } -static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){ +static wxString wxFileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){ return wxFileType::ExpandCommand(command, wxFileType::MessageParameters(filename, mimetype)); } @@ -2487,7 +2661,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -2501,7 +2675,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -2513,7 +2687,7 @@ static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,doub return rv; } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_double PyFloat_FromDouble /*@@*/ @@ -2530,7 +2704,7 @@ static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool de #define LOCAL_TZ wxDateTime::Local -static PyObject *DateTime_GetAmPmStrings(){ +static PyObject *wxDateTime_GetAmPmStrings(){ wxString am; wxString pm; wxDateTime::GetAmPmStrings(&am, &pm); @@ -2543,11 +2717,11 @@ static PyObject *DateTime_GetAmPmStrings(){ } #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif @@ -2931,7 +3105,7 @@ static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ retu #include #include -WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes); + WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes); #include "wx/arrimpl.cpp" WX_DEFINE_OBJARRAY(wxArrayVideoModes); const wxVideoMode wxDefaultVideoMode; @@ -2968,7 +3142,7 @@ public: }; #endif -static int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; } +static int wxDisplay_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; } static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){ PyObject* pyList = NULL; wxArrayVideoModes arr = self->GetModes(mode); @@ -2986,7 +3160,7 @@ static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDe #include -static wxStandardPaths *StandardPaths_Get(){ +static wxStandardPaths *wxStandardPaths_Get(){ return (wxStandardPaths*) &wxStandardPaths::Get(); } static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){} @@ -2995,7 +3169,7 @@ static wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return extern "C" { #endif static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemColour arg1 ; wxColour result; PyObject * obj0 = 0 ; @@ -3005,20 +3179,20 @@ static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemColour)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxSystemSettings::GetColour((wxSystemColour )arg1); + result = wxSystemSettings::GetColour(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3028,7 +3202,7 @@ static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemFont arg1 ; wxFont result; PyObject * obj0 = 0 ; @@ -3038,20 +3212,20 @@ static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemFont)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxSystemSettings::GetFont((wxSystemFont )arg1); + result = wxSystemSettings::GetFont(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -3061,7 +3235,7 @@ static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemMetric arg1 ; wxWindow *arg2 = (wxWindow *) NULL ; int result; @@ -3073,7 +3247,7 @@ static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxSystemMetric)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { @@ -3083,13 +3257,13 @@ static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyOb { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1,arg2); + result = (int)wxSystemSettings::GetMetric(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3098,7 +3272,7 @@ static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemFeature arg1 ; bool result; PyObject * obj0 = 0 ; @@ -3108,13 +3282,13 @@ static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemFeature)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1); + result = (bool)wxSystemSettings::HasFeature(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3129,7 +3303,7 @@ static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyO static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemScreenType result; char *kwnames[] = { NULL @@ -3152,7 +3326,7 @@ static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemScreenType arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3161,13 +3335,13 @@ static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemScreenType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxSystemSettings::SetScreenType((wxSystemScreenType )arg1); + wxSystemSettings::SetScreenType(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3193,7 +3367,7 @@ static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) { static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3207,7 +3381,7 @@ static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) { static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemOptions *result; char *kwnames[] = { NULL @@ -3229,7 +3403,7 @@ static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -3282,7 +3456,7 @@ static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 ; bool temp1 = false ; @@ -3299,7 +3473,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, Py temp1 = true; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3325,7 +3499,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, Py static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -3369,7 +3543,7 @@ static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int result; bool temp1 = false ; @@ -3392,7 +3566,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -3409,7 +3583,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, Py static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -3449,7 +3623,7 @@ static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -3502,7 +3676,7 @@ static int _wrap_FileSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_FileSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3522,7 +3696,7 @@ static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3542,7 +3716,7 @@ static int _wrap_DirSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_DirSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3556,7 +3730,7 @@ static PyObject *_wrap_DirSelectorPromptStr_get(void) { static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -3571,7 +3745,7 @@ static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -3580,7 +3754,7 @@ static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3589,7 +3763,7 @@ static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3607,7 +3781,7 @@ static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -3622,7 +3796,7 @@ static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -3631,7 +3805,7 @@ static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool result; PyObject * obj0 = 0 ; @@ -3641,7 +3815,7 @@ static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3661,7 +3835,7 @@ static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxString *arg2 = 0 ; bool result; @@ -3674,7 +3848,7 @@ static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3707,7 +3881,7 @@ static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool arg2 = (bool) true ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -3721,12 +3895,12 @@ static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3759,7 +3933,7 @@ static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3781,7 +3955,7 @@ static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3803,7 +3977,7 @@ static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; long result; PyObject * obj0 = 0 ; @@ -3814,7 +3988,7 @@ static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -3826,42 +4000,8 @@ static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - int *arg1 = (int *) 0 ; - int *arg2 = (int *) 0 ; - int temp1 ; - int res1 = 0 ; - int temp2 ; - int res2 = 0 ; - char *kwnames[] = { - NULL - }; - - arg1 = &temp1; res1 = SWIG_NEWOBJ; - arg2 = &temp2; res2 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail; - { - if (!wxPyCheckForApp()) SWIG_fail; - PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxGetMousePosition(arg1,arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; + resultobj = SWIG_From_long(static_cast(result)); } - Py_INCREF(Py_None); resultobj = Py_None; - resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0))); - resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); return resultobj; fail: return NULL; @@ -3869,7 +4009,7 @@ static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -3893,7 +4033,7 @@ static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -3921,7 +4061,7 @@ static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; bool result; @@ -3964,7 +4104,7 @@ static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3985,7 +4125,7 @@ static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int result; @@ -4008,7 +4148,7 @@ static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ? SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0))); @@ -4021,7 +4161,7 @@ static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4049,7 +4189,7 @@ static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemorySize result; char *kwnames[] = { NULL @@ -4065,7 +4205,7 @@ static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwarg } { wxMemorySize * resultptr; - resultptr = new wxMemorySize((wxMemorySize &)(result)); + resultptr = new wxMemorySize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMemorySize, 1); } return resultobj; @@ -4075,7 +4215,7 @@ static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShutdownFlags arg1 ; bool result; PyObject * obj0 = 0 ; @@ -4085,13 +4225,13 @@ static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail; { - arg1 = (wxShutdownFlags)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxShutdown((wxShutdownFlags )arg1); + result = (bool)wxShutdown(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4106,7 +4246,7 @@ static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4115,7 +4255,7 @@ static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4133,7 +4273,7 @@ static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4142,7 +4282,7 @@ static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4160,7 +4300,7 @@ static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4169,7 +4309,7 @@ static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4187,7 +4327,7 @@ static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4196,7 +4336,7 @@ static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4214,7 +4354,7 @@ static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -4258,7 +4398,7 @@ static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4286,7 +4426,7 @@ static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4314,7 +4454,7 @@ static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4342,7 +4482,7 @@ static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4370,7 +4510,7 @@ static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4398,7 +4538,7 @@ static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4426,7 +4566,7 @@ static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString result; @@ -4473,7 +4613,7 @@ static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long result; char *kwnames[] = { NULL @@ -4488,7 +4628,7 @@ static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -4497,7 +4637,7 @@ static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -4518,7 +4658,7 @@ static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -4590,7 +4730,7 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -4600,13 +4740,13 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -4672,7 +4812,7 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4758,7 +4898,7 @@ static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4844,7 +4984,7 @@ static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -4883,7 +5023,7 @@ static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4935,7 +5075,7 @@ static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -4986,19 +5126,19 @@ static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwa } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -5048,7 +5188,7 @@ static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -5137,7 +5277,7 @@ static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -5186,31 +5326,31 @@ static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwa } if (obj4) { { - arg6 = (int)(SWIG_As_int(obj4)); + arg6 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj5) { { - arg7 = (int)(SWIG_As_int(obj5)); + arg7 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj6) { { - arg8 = (bool)(SWIG_As_bool(obj6)); + arg8 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj7) { { - arg9 = (int)(SWIG_As_int(obj7)); + arg9 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj8) { { - arg10 = (int)(SWIG_As_int(obj8)); + arg10 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -5258,7 +5398,7 @@ static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -5307,31 +5447,31 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg6 = (int)(SWIG_As_int(obj4)); + arg6 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj5) { { - arg7 = (int)(SWIG_As_int(obj5)); + arg7 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj6) { { - arg8 = (bool)(SWIG_As_bool(obj6)); + arg8 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj7) { { - arg9 = (int)(SWIG_As_int(obj7)); + arg9 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj8) { { - arg10 = (int)(SWIG_As_int(obj8)); + arg10 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -5344,7 +5484,7 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -5375,7 +5515,7 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -5411,7 +5551,7 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5421,13 +5561,13 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -5440,7 +5580,7 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -5465,7 +5605,7 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -5490,7 +5630,7 @@ static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -5506,7 +5646,7 @@ static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5515,7 +5655,7 @@ static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -5531,7 +5671,7 @@ static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5540,7 +5680,7 @@ static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int temp1 ; @@ -5574,7 +5714,7 @@ static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize result; char *kwnames[] = { NULL @@ -5591,7 +5731,7 @@ static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -5601,7 +5741,7 @@ static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int temp1 ; @@ -5635,7 +5775,7 @@ static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize result; char *kwnames[] = { NULL @@ -5652,7 +5792,7 @@ static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kw } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -5662,7 +5802,7 @@ static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -5708,7 +5848,7 @@ static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect result; char *kwnames[] = { NULL @@ -5725,7 +5865,7 @@ static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5735,7 +5875,7 @@ static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5767,7 +5907,7 @@ static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; void *result; char *kwnames[] = { NULL @@ -5790,7 +5930,7 @@ static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5817,24 +5957,26 @@ static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *result; +static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPoint result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxGetActiveWindow(); + result = wxGetMousePosition(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + wxPoint * resultptr; + resultptr = new wxPoint(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; fail: @@ -5842,163 +5984,852 @@ static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint *arg1 = 0 ; +static PyObject *_wrap_FindWindowAtPointer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *result; - wxPoint temp1 ; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FindWindowAtPointer",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)FindWindowAtPointer(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxGetActiveWindow(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPoint *arg1 = 0 ; + wxWindow *result; + wxPoint temp1 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail; + { + arg1 = &temp1; + if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPoint *arg1 = 0 ; + wxWindow *result; + wxPoint temp1 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail; + { + arg1 = &temp1; + if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + wxWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "win", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxGetTopLevelParent(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxString *arg1 = 0 ; + bool result; + bool temp1 = false ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "url", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + +static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxKeyCode arg1 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "key", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail; + { + arg1 = static_cast(SWIG_As_int(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxGetKeyState(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_MouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MouseState",kwnames)) goto fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxMouseState *)new wxMouseState(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseState, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_MouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MouseState",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_GetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetX",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetX(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_GetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetY",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetY(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_LeftDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->LeftDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MiddleDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->MiddleDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_RightDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_RightDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->RightDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ControlDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ControlDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ShiftDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ShiftDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_AltDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->AltDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MetaDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->MetaDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_CmdDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->CmdDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "x", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetX",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetX(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "y", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetY",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetY(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetLeftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetLeftDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetLeftDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetMiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMiddleDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetMiddleDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetRightDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetRightDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetRightDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetControlDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "pt", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetControlDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - arg1 = &temp1; - if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1); + (arg1)->SetControlDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint *arg1 = 0 ; - wxWindow *result; - wxPoint temp1 ; +static PyObject *_wrap_MouseState_SetShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "pt", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetShiftDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - arg1 = &temp1; - if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1); + (arg1)->SetShiftDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - wxWindow *result; +static PyObject *_wrap_MouseState_SetAltDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "win", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetAltDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if (!wxPyCheckForApp()) SWIG_fail; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxGetTopLevelParent(arg1); + (arg1)->SetAltDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxString *arg1 = 0 ; - bool result; - bool temp1 = false ; +static PyObject *_wrap_MouseState_SetMetaDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "url", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMetaDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - arg1 = wxString_in_helper(obj0); - if (arg1 == NULL) SWIG_fail; - temp1 = true; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1); + (arg1)->SetMetaDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp1) - delete arg1; - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: - { - if (temp1) - delete arg1; - } return NULL; } -static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxKeyCode arg1 ; - bool result; - PyObject * obj0 = 0 ; +static PyObject * MouseState_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxMouseState, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_GetMouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState result; char *kwnames[] = { - (char *) "key", NULL + NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail; - { - arg1 = (wxKeyCode)(SWIG_As_int(obj0)); - if (SWIG_arg_fail(1)) SWIG_fail; - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMouseState",kwnames)) goto fail; { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxGetKeyState((wxKeyCode )arg1); + result = wxGetMouseState(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + wxMouseState * resultptr; + resultptr = new wxMouseState(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMouseState, 1); } return resultobj; fail: @@ -6007,7 +6838,7 @@ static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -6029,7 +6860,7 @@ static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -6051,7 +6882,7 @@ static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -6073,7 +6904,7 @@ static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMutexGuiLocker *result; char *kwnames[] = { NULL @@ -6096,7 +6927,7 @@ static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6128,7 +6959,7 @@ static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -6152,7 +6983,7 @@ static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxToolTip *result; bool temp1 = false ; @@ -6193,7 +7024,7 @@ static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -6234,7 +7065,7 @@ static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -6266,7 +7097,7 @@ static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -6294,7 +7125,7 @@ static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6303,7 +7134,7 @@ static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6321,7 +7152,7 @@ static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6330,7 +7161,7 @@ static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6355,7 +7186,7 @@ static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxCaret *result; @@ -6389,7 +7220,7 @@ static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6414,7 +7245,7 @@ static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6442,7 +7273,7 @@ static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6470,7 +7301,7 @@ static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -6490,7 +7321,7 @@ static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *k } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -6500,7 +7331,7 @@ static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6537,7 +7368,7 @@ static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -6557,7 +7388,7 @@ static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -6567,7 +7398,7 @@ static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6604,7 +7435,7 @@ static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -6632,7 +7463,7 @@ static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 ; int arg3 ; @@ -6647,11 +7478,11 @@ static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6669,7 +7500,7 @@ static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -6701,7 +7532,7 @@ static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 ; int arg3 ; @@ -6716,11 +7547,11 @@ static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6738,7 +7569,7 @@ static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -6770,7 +7601,7 @@ static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 = (int) true ; PyObject * obj0 = 0 ; @@ -6784,7 +7615,7 @@ static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -6803,7 +7634,7 @@ static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6828,7 +7659,7 @@ static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -6843,7 +7674,7 @@ static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6852,7 +7683,7 @@ static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6861,7 +7692,7 @@ static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6886,7 +7717,7 @@ static PyObject * Caret_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ; wxBusyCursor *result; PyObject * obj0 = 0 ; @@ -6915,7 +7746,7 @@ static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBusyCursor *arg1 = (wxBusyCursor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6947,7 +7778,7 @@ static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowDisabler *result; PyObject * obj0 = 0 ; @@ -6976,7 +7807,7 @@ static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7008,7 +7839,7 @@ static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBusyInfo *result; bool temp1 = false ; @@ -7047,7 +7878,7 @@ static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBusyInfo *arg1 = (wxBusyInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7079,7 +7910,7 @@ static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *result; char *kwnames[] = { NULL @@ -7101,7 +7932,7 @@ static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; long arg2 = (long) 0 ; PyObject * obj0 = 0 ; @@ -7115,7 +7946,7 @@ static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7134,7 +7965,7 @@ static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7159,7 +7990,7 @@ static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7184,7 +8015,7 @@ static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; long result; PyObject * obj0 = 0 ; @@ -7203,7 +8034,7 @@ static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7219,7 +8050,7 @@ static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 9 ; int arg2 = (int) wxID_FILE1 ; wxFileHistory *result; @@ -7232,13 +8063,13 @@ static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7257,7 +8088,7 @@ static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7282,7 +8113,7 @@ static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7323,7 +8154,7 @@ static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7336,7 +8167,7 @@ static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7354,7 +8185,7 @@ static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *a static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7373,7 +8204,7 @@ static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7382,7 +8213,7 @@ static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7411,7 +8242,7 @@ static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7440,7 +8271,7 @@ static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxConfigBase *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7475,7 +8306,7 @@ static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxConfigBase *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7510,7 +8341,7 @@ static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7535,7 +8366,7 @@ static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, Py static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7564,7 +8395,7 @@ static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int arg2 ; wxString result; @@ -7578,7 +8409,7 @@ static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7602,7 +8433,7 @@ static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, Py static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7621,7 +8452,7 @@ static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7637,7 +8468,7 @@ static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -7694,7 +8525,7 @@ static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyO static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *result; char *kwnames[] = { NULL @@ -7716,7 +8547,7 @@ static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7741,7 +8572,7 @@ static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -7804,7 +8635,7 @@ static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7839,7 +8670,7 @@ static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDC *arg2 = 0 ; bool result; @@ -7877,7 +8708,7 @@ static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7902,7 +8733,7 @@ static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7934,7 +8765,7 @@ static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -7953,7 +8784,7 @@ static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -7962,7 +8793,7 @@ static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyO static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8017,7 +8848,7 @@ static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t arg1 ; wxPyTipProvider *result; PyObject * obj0 = 0 ; @@ -8027,7 +8858,7 @@ static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail; { - arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -8045,7 +8876,7 @@ static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8083,7 +8914,7 @@ static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxTipProvider *arg2 = (wxTipProvider *) 0 ; bool arg3 = (bool) true ; @@ -8102,7 +8933,7 @@ static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8124,7 +8955,7 @@ static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; size_t arg2 ; wxTipProvider *result; @@ -8142,7 +8973,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObjec temp1 = true; } { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8169,7 +9000,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) NULL ; int arg2 = (int) -1 ; wxPyTimer *result; @@ -8186,7 +9017,7 @@ static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8206,7 +9037,7 @@ static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8231,7 +9062,7 @@ static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8251,7 +9082,7 @@ static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObje arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -8270,7 +9101,7 @@ static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; int arg3 = (int) -1 ; @@ -8288,7 +9119,7 @@ static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8307,7 +9138,7 @@ static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -8335,7 +9166,7 @@ static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int arg2 = (int) -1 ; bool arg3 = (bool) false ; @@ -8352,13 +9183,13 @@ static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8379,7 +9210,7 @@ static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8404,7 +9235,7 @@ static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8432,7 +9263,7 @@ static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8451,7 +9282,7 @@ static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8460,7 +9291,7 @@ static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8488,7 +9319,7 @@ static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8507,7 +9338,7 @@ static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8523,7 +9354,7 @@ static PyObject * Timer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxTimerEvent *result; @@ -8536,13 +9367,13 @@ static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8561,7 +9392,7 @@ static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerEvent *arg1 = (wxTimerEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8580,7 +9411,7 @@ static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8596,7 +9427,7 @@ static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimer *arg1 = 0 ; wxTimerRunner *result; PyObject * obj0 = 0 ; @@ -8626,16 +9457,16 @@ static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimer *arg1 = 0 ; int arg2 ; - bool arg3 = (bool) false ; + bool arg3 ; wxTimerRunner *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail; { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; @@ -8645,14 +9476,12 @@ static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) { if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } - if (obj2) { - { - arg3 = (bool)(SWIG_As_bool(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; - } + { + arg3 = static_cast(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; @@ -8669,6 +9498,42 @@ static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) { } +static PyObject *_wrap_new_TimerRunner__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxTimer *arg1 = 0 ; + int arg2 ; + wxTimerRunner *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:new_TimerRunner",&obj0,&obj1)) goto fail; + { + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (arg1 == NULL) { + SWIG_null_ref("wxTimer"); + } + if (SWIG_arg_fail(1)) SWIG_fail; + } + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; @@ -8693,7 +9558,25 @@ static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { return _wrap_new_TimerRunner__SWIG_0(self,args); } } - if ((argc >= 2) && (argc <= 3)) { + if (argc == 2) { + int _v; + { + void *ptr = 0; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = (ptr != 0); + } + } + if (_v) { + _v = SWIG_Check_int(argv[1]); + if (_v) { + return _wrap_new_TimerRunner__SWIG_2(self,args); + } + } + } + if (argc == 3) { int _v; { void *ptr = 0; @@ -8707,9 +9590,6 @@ static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { if (_v) { _v = SWIG_Check_int(argv[1]); if (_v) { - if (argc <= 2) { - return _wrap_new_TimerRunner__SWIG_1(self,args); - } _v = SWIG_Check_bool(argv[2]); if (_v) { return _wrap_new_TimerRunner__SWIG_1(self,args); @@ -8724,7 +9604,7 @@ static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerRunner *arg1 = (wxTimerRunner *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8749,7 +9629,7 @@ static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerRunner *arg1 = (wxTimerRunner *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -8764,12 +9644,12 @@ static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8795,7 +9675,7 @@ static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *result; char *kwnames[] = { NULL @@ -8817,7 +9697,7 @@ static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -8841,7 +9721,7 @@ static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; bool result; PyObject * obj0 = 0 ; @@ -8852,7 +9732,7 @@ static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -8873,7 +9753,7 @@ static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel arg1 ; wxChar *arg2 = (wxChar *) 0 ; time_t arg3 ; @@ -8886,13 +9766,13 @@ static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -8910,7 +9790,7 @@ static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8935,7 +9815,7 @@ static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -8956,7 +9836,7 @@ static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *result; char *kwnames[] = { NULL @@ -8978,7 +9858,7 @@ static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; wxLog *result; PyObject * obj0 = 0 ; @@ -9004,7 +9884,7 @@ static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9025,7 +9905,7 @@ static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9046,7 +9926,7 @@ static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9056,7 +9936,7 @@ static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -9075,7 +9955,7 @@ static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9084,7 +9964,7 @@ static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail; { - arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -9102,7 +9982,7 @@ static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9123,7 +10003,7 @@ static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTraceMask arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9132,7 +10012,7 @@ static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail; { - arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -9150,7 +10030,7 @@ static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9187,7 +10067,7 @@ static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9224,7 +10104,7 @@ static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9245,7 +10125,7 @@ static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxArrayString *result; char *kwnames[] = { NULL @@ -9272,7 +10152,7 @@ static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *arg1 = (wxChar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9297,7 +10177,7 @@ static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -9321,7 +10201,7 @@ static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTraceMask result; char *kwnames[] = { NULL @@ -9336,7 +10216,7 @@ static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -9345,7 +10225,7 @@ static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *arg1 = (wxChar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9373,7 +10253,7 @@ static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel result; char *kwnames[] = { NULL @@ -9388,7 +10268,7 @@ static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -9397,7 +10277,7 @@ static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *result; char *kwnames[] = { NULL @@ -9419,7 +10299,7 @@ static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -9428,7 +10308,7 @@ static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = Log_TimeStamp(); + result = wxLog_TimeStamp(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9447,7 +10327,7 @@ static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9479,7 +10359,7 @@ static PyObject * Log_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogStderr *result; char *kwnames[] = { NULL @@ -9508,7 +10388,7 @@ static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxLogTextCtrl *result; PyObject * obj0 = 0 ; @@ -9541,7 +10421,7 @@ static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogGui *result; char *kwnames[] = { NULL @@ -9570,7 +10450,7 @@ static PyObject * LogGui_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -9595,13 +10475,13 @@ static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwarg } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9628,7 +10508,7 @@ static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -9642,7 +10522,7 @@ static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -9661,7 +10541,7 @@ static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -9689,7 +10569,7 @@ static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; wxLog *result; PyObject * obj0 = 0 ; @@ -9715,7 +10595,7 @@ static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9743,7 +10623,7 @@ static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, P static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9756,7 +10636,7 @@ static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9781,7 +10661,7 @@ static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; wxLogChain *result; PyObject * obj0 = 0 ; @@ -9807,7 +10687,7 @@ static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; wxLog *arg2 = (wxLog *) 0 ; PyObject * obj0 = 0 ; @@ -9836,7 +10716,7 @@ static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9849,7 +10729,7 @@ static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9867,7 +10747,7 @@ static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9895,7 +10775,7 @@ static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, Py static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; wxLog *result; PyObject * obj0 = 0 ; @@ -9928,7 +10808,7 @@ static PyObject * LogChain_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogBuffer *result; char *kwnames[] = { NULL @@ -9950,7 +10830,7 @@ static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogBuffer *arg1 = (wxLogBuffer *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -9985,7 +10865,7 @@ static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogBuffer *arg1 = (wxLogBuffer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10017,7 +10897,7 @@ static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long result; char *kwnames[] = { NULL @@ -10032,7 +10912,7 @@ static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10041,7 +10921,7 @@ static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 = (unsigned long) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10052,7 +10932,7 @@ static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -10077,7 +10957,7 @@ static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10114,7 +10994,7 @@ static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10151,7 +11031,7 @@ static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10188,7 +11068,7 @@ static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10225,7 +11105,7 @@ static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10262,7 +11142,7 @@ static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10299,7 +11179,7 @@ static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10336,7 +11216,7 @@ static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10373,7 +11253,7 @@ static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10414,7 +11294,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10451,7 +11331,7 @@ static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10463,7 +11343,7 @@ static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10494,7 +11374,7 @@ static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10503,7 +11383,7 @@ static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10534,7 +11414,7 @@ static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -10625,7 +11505,7 @@ static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) { static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -10678,7 +11558,7 @@ static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogNull *result; char *kwnames[] = { NULL @@ -10700,7 +11580,7 @@ static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogNull *arg1 = (wxLogNull *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10732,7 +11612,7 @@ static PyObject * LogNull_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyLog *result; char *kwnames[] = { NULL @@ -10754,7 +11634,7 @@ static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyLog *arg1 = (wxPyLog *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10792,7 +11672,7 @@ static PyObject * PyLog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxSignal arg2 = (wxSignal) wxSIGTERM ; int arg3 = (int) wxKILL_NOCHILDREN ; @@ -10806,24 +11686,24 @@ static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxSignal)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3); + result = (wxKillError)wxPyProcess::Kill(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10836,7 +11716,7 @@ static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool result; PyObject * obj0 = 0 ; @@ -10846,7 +11726,7 @@ static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10866,7 +11746,7 @@ static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *result; @@ -10885,7 +11765,7 @@ static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -10912,7 +11792,7 @@ static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) NULL ; int arg2 = (int) -1 ; wxPyProcess *result; @@ -10929,7 +11809,7 @@ static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -10948,7 +11828,7 @@ static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10979,7 +11859,7 @@ static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; int arg2 ; int arg3 ; @@ -10994,11 +11874,11 @@ static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11016,7 +11896,7 @@ static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11041,7 +11921,7 @@ static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11069,7 +11949,7 @@ static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11094,7 +11974,7 @@ static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -11127,7 +12007,7 @@ static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -11160,7 +12040,7 @@ static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxOutputStream *result; PyObject * obj0 = 0 ; @@ -11186,7 +12066,7 @@ static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11211,7 +12091,7 @@ static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11239,7 +12119,7 @@ static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11267,7 +12147,7 @@ static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11302,7 +12182,7 @@ static PyObject * Process_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -11317,19 +12197,19 @@ static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -11348,7 +12228,7 @@ static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11367,7 +12247,7 @@ static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11376,7 +12256,7 @@ static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11395,7 +12275,7 @@ static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11404,7 +12284,7 @@ static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11417,7 +12297,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_pid = arg2; @@ -11430,7 +12310,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11444,7 +12324,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObje result = (int) ((arg1)->m_pid); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11453,7 +12333,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11466,7 +12346,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_exitcode = arg2; @@ -11479,7 +12359,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, P static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11493,7 +12373,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, P result = (int) ((arg1)->m_exitcode); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11509,7 +12389,7 @@ static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *arg3 = (wxPyProcess *) NULL ; @@ -11530,7 +12410,7 @@ static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -11547,7 +12427,7 @@ static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp1) @@ -11564,7 +12444,7 @@ static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxSignal arg2 = (wxSignal) wxSIGTERM ; wxKillError *arg3 = (wxKillError *) 0 ; @@ -11583,30 +12463,30 @@ static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { } if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxSignal)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg4 = (int)(SWIG_As_int(obj2)); + arg4 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4); + result = (int)wxKill(arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { PyObject* o; @@ -11620,7 +12500,7 @@ static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxJOYSTICK1 ; wxJoystick *result; PyObject * obj0 = 0 ; @@ -11631,7 +12511,7 @@ static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -11651,7 +12531,7 @@ static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11676,7 +12556,7 @@ static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -11696,7 +12576,7 @@ static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -11706,7 +12586,7 @@ static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11725,7 +12605,7 @@ static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11734,7 +12614,7 @@ static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11753,7 +12633,7 @@ static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11762,7 +12642,7 @@ static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11781,7 +12661,7 @@ static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11790,7 +12670,7 @@ static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11809,7 +12689,7 @@ static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11818,7 +12698,7 @@ static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11837,7 +12717,7 @@ static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11846,7 +12726,7 @@ static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11865,7 +12745,7 @@ static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11874,7 +12754,7 @@ static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11893,7 +12773,7 @@ static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11902,7 +12782,7 @@ static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11921,7 +12801,7 @@ static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11930,7 +12810,7 @@ static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11943,7 +12823,7 @@ static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11961,7 +12841,7 @@ static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11989,7 +12869,7 @@ static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12008,7 +12888,7 @@ static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12017,7 +12897,7 @@ static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, P static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12036,7 +12916,7 @@ static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12045,7 +12925,7 @@ static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12064,7 +12944,7 @@ static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12073,7 +12953,7 @@ static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -12105,7 +12985,7 @@ static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12124,7 +13004,7 @@ static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12133,7 +13013,7 @@ static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12152,7 +13032,7 @@ static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12161,7 +13041,7 @@ static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12180,7 +13060,7 @@ static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12189,7 +13069,7 @@ static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12208,7 +13088,7 @@ static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12217,7 +13097,7 @@ static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12236,7 +13116,7 @@ static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12245,7 +13125,7 @@ static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12264,7 +13144,7 @@ static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12273,7 +13153,7 @@ static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12292,7 +13172,7 @@ static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12301,7 +13181,7 @@ static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyO static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12320,7 +13200,7 @@ static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12329,7 +13209,7 @@ static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12348,7 +13228,7 @@ static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12357,7 +13237,7 @@ static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12376,7 +13256,7 @@ static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12385,7 +13265,7 @@ static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12404,7 +13284,7 @@ static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12413,7 +13293,7 @@ static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12432,7 +13312,7 @@ static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12441,7 +13321,7 @@ static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12460,7 +13340,7 @@ static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12469,7 +13349,7 @@ static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12488,7 +13368,7 @@ static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12497,7 +13377,7 @@ static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12516,7 +13396,7 @@ static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12525,7 +13405,7 @@ static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12544,7 +13424,7 @@ static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12553,7 +13433,7 @@ static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12572,7 +13452,7 @@ static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12581,7 +13461,7 @@ static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12600,7 +13480,7 @@ static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12609,7 +13489,7 @@ static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12637,7 +13517,7 @@ static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12665,7 +13545,7 @@ static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12693,7 +13573,7 @@ static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12721,7 +13601,7 @@ static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12749,7 +13629,7 @@ static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12777,7 +13657,7 @@ static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12805,7 +13685,7 @@ static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -12824,7 +13704,7 @@ static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -12845,7 +13725,7 @@ static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12880,7 +13760,7 @@ static PyObject * Joystick_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) wxJOYSTICK1 ; @@ -12897,25 +13777,25 @@ static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12934,7 +13814,7 @@ static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -12954,7 +13834,7 @@ static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyO } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -12964,7 +13844,7 @@ static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12983,7 +13863,7 @@ static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12992,7 +13872,7 @@ static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13011,7 +13891,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13020,7 +13900,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13039,7 +13919,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13048,7 +13928,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13067,7 +13947,7 @@ static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13076,7 +13956,7 @@ static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13089,7 +13969,7 @@ static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13107,7 +13987,7 @@ static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13120,7 +14000,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13138,7 +14018,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13151,7 +14031,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13169,7 +14049,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -13201,7 +14081,7 @@ static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13214,7 +14094,7 @@ static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13232,7 +14112,7 @@ static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13260,7 +14140,7 @@ static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObje static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13288,7 +14168,7 @@ static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13316,7 +14196,7 @@ static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13331,7 +14211,7 @@ static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13352,7 +14232,7 @@ static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyOb static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13367,7 +14247,7 @@ static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13388,7 +14268,7 @@ static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObje static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13403,7 +14283,7 @@ static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, Py if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13431,7 +14311,7 @@ static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxSound *result; @@ -13473,7 +14353,7 @@ static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxSound *result; PyObject * obj0 = 0 ; @@ -13499,7 +14379,7 @@ static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13524,7 +14404,7 @@ static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; wxString *arg2 = 0 ; bool result; @@ -13568,7 +14448,7 @@ static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -13599,7 +14479,7 @@ static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13627,7 +14507,7 @@ static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ; bool result; @@ -13642,7 +14522,7 @@ static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13664,7 +14544,7 @@ static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ; bool result; @@ -13683,7 +14563,7 @@ static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13713,7 +14593,7 @@ static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -13742,7 +14622,7 @@ static PyObject * Sound_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -13828,7 +14708,7 @@ static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxArrayString *arg1 = 0 ; wxFileTypeInfo *result; bool temp1 = false ; @@ -13876,7 +14756,7 @@ static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyOb static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *result; char *kwnames[] = { NULL @@ -13898,7 +14778,7 @@ static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13926,7 +14806,7 @@ static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -13948,7 +14828,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -13975,7 +14855,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14016,7 +14896,7 @@ static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14051,7 +14931,7 @@ static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14086,7 +14966,7 @@ static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, P static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14121,7 +15001,7 @@ static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14156,7 +15036,7 @@ static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14191,7 +15071,7 @@ static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, P static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxArrayString *result; PyObject * obj0 = 0 ; @@ -14222,7 +15102,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, Py static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14241,7 +15121,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14250,7 +15130,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *arg static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14285,7 +15165,7 @@ static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14304,7 +15184,7 @@ static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14320,7 +15200,7 @@ static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = 0 ; wxFileType *result; PyObject * obj0 = 0 ; @@ -14352,7 +15232,7 @@ static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14377,7 +15257,7 @@ static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14403,7 +15283,7 @@ static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14429,7 +15309,7 @@ static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14455,7 +15335,7 @@ static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -14481,7 +15361,7 @@ static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14507,7 +15387,7 @@ static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14533,7 +15413,7 @@ static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14594,7 +15474,7 @@ static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14655,7 +15535,7 @@ static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14716,7 +15596,7 @@ static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -14747,7 +15627,7 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -14784,7 +15664,7 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -14810,7 +15690,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -14839,7 +15719,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -14867,7 +15747,7 @@ static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14903,7 +15783,7 @@ static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObje } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3); + result = wxFileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14959,7 +15839,7 @@ static int _wrap_TheMimeTypesManager_set(PyObject *) { static PyObject *_wrap_TheMimeTypesManager_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0); return pyobj; @@ -14967,7 +15847,7 @@ static PyObject *_wrap_TheMimeTypesManager_get(void) { static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool result; @@ -15023,7 +15903,7 @@ static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyO static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *result; char *kwnames[] = { NULL @@ -15045,7 +15925,7 @@ static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; int arg2 = (int) wxMAILCAP_ALL ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -15063,7 +15943,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, P if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15097,7 +15977,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, P static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15122,7 +16002,7 @@ static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, Py static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; @@ -15164,7 +16044,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyO static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; @@ -15206,7 +16086,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyOb static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -15229,7 +16109,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -15258,7 +16138,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; bool result; @@ -15302,7 +16182,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -15328,7 +16208,7 @@ static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *a static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileTypeInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -15363,7 +16243,7 @@ static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileTypeInfo *arg2 = 0 ; wxFileType *result; @@ -15399,7 +16279,7 @@ static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, Py static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileType *arg2 = (wxFileType *) 0 ; bool result; @@ -15431,7 +16311,7 @@ static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15469,7 +16349,7 @@ static int _wrap_ART_TOOLBAR_set(PyObject *) { static PyObject *_wrap_ART_TOOLBAR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15489,7 +16369,7 @@ static int _wrap_ART_MENU_set(PyObject *) { static PyObject *_wrap_ART_MENU_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15509,7 +16389,7 @@ static int _wrap_ART_FRAME_ICON_set(PyObject *) { static PyObject *_wrap_ART_FRAME_ICON_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15529,7 +16409,7 @@ static int _wrap_ART_CMN_DIALOG_set(PyObject *) { static PyObject *_wrap_ART_CMN_DIALOG_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15549,7 +16429,7 @@ static int _wrap_ART_HELP_BROWSER_set(PyObject *) { static PyObject *_wrap_ART_HELP_BROWSER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15569,7 +16449,7 @@ static int _wrap_ART_MESSAGE_BOX_set(PyObject *) { static PyObject *_wrap_ART_MESSAGE_BOX_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15589,7 +16469,7 @@ static int _wrap_ART_BUTTON_set(PyObject *) { static PyObject *_wrap_ART_BUTTON_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15609,7 +16489,7 @@ static int _wrap_ART_OTHER_set(PyObject *) { static PyObject *_wrap_ART_OTHER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15629,7 +16509,7 @@ static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) { static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15649,7 +16529,7 @@ static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) { static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15669,7 +16549,7 @@ static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) { static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15689,7 +16569,7 @@ static int _wrap_ART_HELP_SETTINGS_set(PyObject *) { static PyObject *_wrap_ART_HELP_SETTINGS_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15709,7 +16589,7 @@ static int _wrap_ART_HELP_BOOK_set(PyObject *) { static PyObject *_wrap_ART_HELP_BOOK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15729,7 +16609,7 @@ static int _wrap_ART_HELP_FOLDER_set(PyObject *) { static PyObject *_wrap_ART_HELP_FOLDER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15749,7 +16629,7 @@ static int _wrap_ART_HELP_PAGE_set(PyObject *) { static PyObject *_wrap_ART_HELP_PAGE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15769,7 +16649,7 @@ static int _wrap_ART_GO_BACK_set(PyObject *) { static PyObject *_wrap_ART_GO_BACK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15789,7 +16669,7 @@ static int _wrap_ART_GO_FORWARD_set(PyObject *) { static PyObject *_wrap_ART_GO_FORWARD_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15809,7 +16689,7 @@ static int _wrap_ART_GO_UP_set(PyObject *) { static PyObject *_wrap_ART_GO_UP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15829,7 +16709,7 @@ static int _wrap_ART_GO_DOWN_set(PyObject *) { static PyObject *_wrap_ART_GO_DOWN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15849,7 +16729,7 @@ static int _wrap_ART_GO_TO_PARENT_set(PyObject *) { static PyObject *_wrap_ART_GO_TO_PARENT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15869,7 +16749,7 @@ static int _wrap_ART_GO_HOME_set(PyObject *) { static PyObject *_wrap_ART_GO_HOME_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15889,7 +16769,7 @@ static int _wrap_ART_FILE_OPEN_set(PyObject *) { static PyObject *_wrap_ART_FILE_OPEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15909,7 +16789,7 @@ static int _wrap_ART_FILE_SAVE_set(PyObject *) { static PyObject *_wrap_ART_FILE_SAVE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15929,7 +16809,7 @@ static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) { static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15949,7 +16829,7 @@ static int _wrap_ART_PRINT_set(PyObject *) { static PyObject *_wrap_ART_PRINT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15969,7 +16849,7 @@ static int _wrap_ART_HELP_set(PyObject *) { static PyObject *_wrap_ART_HELP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15989,7 +16869,7 @@ static int _wrap_ART_TIP_set(PyObject *) { static PyObject *_wrap_ART_TIP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16009,7 +16889,7 @@ static int _wrap_ART_REPORT_VIEW_set(PyObject *) { static PyObject *_wrap_ART_REPORT_VIEW_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16029,7 +16909,7 @@ static int _wrap_ART_LIST_VIEW_set(PyObject *) { static PyObject *_wrap_ART_LIST_VIEW_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16049,7 +16929,7 @@ static int _wrap_ART_NEW_DIR_set(PyObject *) { static PyObject *_wrap_ART_NEW_DIR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16069,7 +16949,7 @@ static int _wrap_ART_HARDDISK_set(PyObject *) { static PyObject *_wrap_ART_HARDDISK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16089,7 +16969,7 @@ static int _wrap_ART_FLOPPY_set(PyObject *) { static PyObject *_wrap_ART_FLOPPY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16109,7 +16989,7 @@ static int _wrap_ART_CDROM_set(PyObject *) { static PyObject *_wrap_ART_CDROM_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16129,7 +17009,7 @@ static int _wrap_ART_REMOVABLE_set(PyObject *) { static PyObject *_wrap_ART_REMOVABLE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16149,7 +17029,7 @@ static int _wrap_ART_FOLDER_set(PyObject *) { static PyObject *_wrap_ART_FOLDER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16169,7 +17049,7 @@ static int _wrap_ART_FOLDER_OPEN_set(PyObject *) { static PyObject *_wrap_ART_FOLDER_OPEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16189,7 +17069,7 @@ static int _wrap_ART_GO_DIR_UP_set(PyObject *) { static PyObject *_wrap_ART_GO_DIR_UP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16209,7 +17089,7 @@ static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) { static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16229,7 +17109,7 @@ static int _wrap_ART_NORMAL_FILE_set(PyObject *) { static PyObject *_wrap_ART_NORMAL_FILE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16249,7 +17129,7 @@ static int _wrap_ART_TICK_MARK_set(PyObject *) { static PyObject *_wrap_ART_TICK_MARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16269,7 +17149,7 @@ static int _wrap_ART_CROSS_MARK_set(PyObject *) { static PyObject *_wrap_ART_CROSS_MARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16289,7 +17169,7 @@ static int _wrap_ART_ERROR_set(PyObject *) { static PyObject *_wrap_ART_ERROR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16309,7 +17189,7 @@ static int _wrap_ART_QUESTION_set(PyObject *) { static PyObject *_wrap_ART_QUESTION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16329,7 +17209,7 @@ static int _wrap_ART_WARNING_set(PyObject *) { static PyObject *_wrap_ART_WARNING_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16349,7 +17229,7 @@ static int _wrap_ART_INFORMATION_set(PyObject *) { static PyObject *_wrap_ART_INFORMATION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16369,7 +17249,7 @@ static int _wrap_ART_MISSING_IMAGE_set(PyObject *) { static PyObject *_wrap_ART_MISSING_IMAGE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16389,7 +17269,7 @@ static int _wrap_ART_COPY_set(PyObject *) { static PyObject *_wrap_ART_COPY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16409,7 +17289,7 @@ static int _wrap_ART_CUT_set(PyObject *) { static PyObject *_wrap_ART_CUT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16429,7 +17309,7 @@ static int _wrap_ART_PASTE_set(PyObject *) { static PyObject *_wrap_ART_PASTE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16449,7 +17329,7 @@ static int _wrap_ART_DELETE_set(PyObject *) { static PyObject *_wrap_ART_DELETE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16469,7 +17349,7 @@ static int _wrap_ART_NEW_set(PyObject *) { static PyObject *_wrap_ART_NEW_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16489,7 +17369,7 @@ static int _wrap_ART_UNDO_set(PyObject *) { static PyObject *_wrap_ART_UNDO_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16509,7 +17389,7 @@ static int _wrap_ART_REDO_set(PyObject *) { static PyObject *_wrap_ART_REDO_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16529,7 +17409,7 @@ static int _wrap_ART_QUIT_set(PyObject *) { static PyObject *_wrap_ART_QUIT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16549,7 +17429,7 @@ static int _wrap_ART_FIND_set(PyObject *) { static PyObject *_wrap_ART_FIND_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16569,7 +17449,7 @@ static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) { static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16583,7 +17463,7 @@ static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) { static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *result; char *kwnames[] = { NULL @@ -16606,7 +17486,7 @@ static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -16637,7 +17517,7 @@ static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16662,7 +17542,7 @@ static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -16686,7 +17566,7 @@ static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16714,7 +17594,7 @@ static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, Py static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyART_OTHER ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -16760,7 +17640,7 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObjec } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } { @@ -16786,7 +17666,7 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyART_OTHER ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -16832,7 +17712,7 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } { @@ -16858,7 +17738,7 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool arg2 = (bool) false ; wxSize result; @@ -16877,7 +17757,7 @@ static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObj } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16890,7 +17770,7 @@ static PyObject *_wrap_ArtProvider_GetSizeHint(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); } { @@ -16908,7 +17788,7 @@ static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16940,7 +17820,7 @@ static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16965,7 +17845,7 @@ static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxConfigBase *result; PyObject * obj0 = 0 ; @@ -16991,7 +17871,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; wxConfigBase *result; PyObject * obj0 = 0 ; @@ -17002,7 +17882,7 @@ static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -17021,7 +17901,7 @@ static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *result; char *kwnames[] = { NULL @@ -17043,7 +17923,7 @@ static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -17064,7 +17944,7 @@ static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -17105,7 +17985,7 @@ static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -17140,7 +18020,7 @@ static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -17166,7 +18046,7 @@ static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject *result; @@ -17180,7 +18060,7 @@ static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17198,7 +18078,7 @@ static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -17224,7 +18104,7 @@ static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject *result; @@ -17238,7 +18118,7 @@ static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17256,7 +18136,7 @@ static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; size_t result; @@ -17271,7 +18151,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17283,7 +18163,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -17292,7 +18172,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; size_t result; @@ -17307,7 +18187,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17319,7 +18199,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -17328,7 +18208,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -17372,7 +18252,7 @@ static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -17416,7 +18296,7 @@ static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -17460,7 +18340,7 @@ static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxConfigBase::EntryType result; @@ -17502,7 +18382,7 @@ static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -17569,7 +18449,7 @@ static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) 0 ; @@ -17592,7 +18472,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17604,7 +18484,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp2) @@ -17621,7 +18501,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; double arg3 = (double) 0.0 ; @@ -17644,7 +18524,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17656,7 +18536,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } { if (temp2) @@ -17673,7 +18553,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -17696,7 +18576,7 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17725,7 +18605,7 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -17785,7 +18665,7 @@ static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; long arg3 ; @@ -17807,7 +18687,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17835,7 +18715,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; double arg3 ; @@ -17857,7 +18737,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObjec temp2 = true; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17885,7 +18765,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 ; @@ -17907,7 +18787,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17935,7 +18815,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; bool result; @@ -17950,7 +18830,7 @@ static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17971,7 +18851,7 @@ static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -18031,7 +18911,7 @@ static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -18091,7 +18971,7 @@ static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -18114,7 +18994,7 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -18143,7 +19023,7 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -18187,7 +19067,7 @@ static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18215,7 +19095,7 @@ static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -18229,7 +19109,7 @@ static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, P if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -18248,7 +19128,7 @@ static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, P static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18276,7 +19156,7 @@ static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -18290,7 +19170,7 @@ static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -18309,7 +19189,7 @@ static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18337,7 +19217,7 @@ static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -18385,7 +19265,7 @@ static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18417,7 +19297,7 @@ static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -18449,7 +19329,7 @@ static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -18490,7 +19370,7 @@ static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -18531,7 +19411,7 @@ static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -18544,7 +19424,7 @@ static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -18562,7 +19442,7 @@ static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long result; PyObject * obj0 = 0 ; @@ -18581,7 +19461,7 @@ static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -18597,7 +19477,7 @@ static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -18652,7 +19532,7 @@ static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -18703,7 +19583,7 @@ static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfig *arg1 = (wxConfig *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18735,7 +19615,7 @@ static PyObject * Config_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -18790,7 +19670,7 @@ static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwar } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -18841,7 +19721,7 @@ static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileConfig *arg1 = (wxFileConfig *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18873,7 +19753,7 @@ static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxConfigPathChanger *result; @@ -18915,7 +19795,7 @@ static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18940,7 +19820,7 @@ static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -18982,7 +19862,7 @@ static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -19032,7 +19912,7 @@ static int _wrap_DefaultDateTimeFormat_set(PyObject *) { static PyObject *_wrap_DefaultDateTimeFormat_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -19052,7 +19932,7 @@ static int _wrap_DefaultTimeSpanFormat_set(PyObject *) { static PyObject *_wrap_DefaultTimeSpanFormat_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -19066,7 +19946,7 @@ static PyObject *_wrap_DefaultTimeSpanFormat_get(void) { static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19075,12 +19955,12 @@ static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail; { - arg1 = (wxDateTime::Country)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxDateTime::SetCountry((wxDateTime::Country )arg1); + wxDateTime::SetCountry(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19093,7 +19973,7 @@ static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country result; char *kwnames[] = { NULL @@ -19115,7 +19995,7 @@ static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; PyObject * obj0 = 0 ; @@ -19126,13 +20006,13 @@ static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Country)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1); + result = (bool)wxDateTime::IsWestEuropeanCountry(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19147,7 +20027,7 @@ static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ; int result; PyObject * obj0 = 0 ; @@ -19158,19 +20038,19 @@ static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1); + result = (int)wxDateTime::GetCurrentYear(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19179,7 +20059,7 @@ static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -19189,7 +20069,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -19200,7 +20080,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19209,7 +20089,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ; wxDateTime::Month result; PyObject * obj0 = 0 ; @@ -19220,13 +20100,13 @@ static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1); + result = (wxDateTime::Month)wxDateTime::GetCurrentMonth(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19239,7 +20119,7 @@ static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ; bool result; @@ -19252,19 +20132,19 @@ static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2); + result = (bool)wxDateTime::IsLeapYear(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19279,7 +20159,7 @@ static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; int result; PyObject * obj0 = 0 ; @@ -19290,7 +20170,7 @@ static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -19302,7 +20182,7 @@ static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19311,7 +20191,7 @@ static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ; int result; @@ -19323,24 +20203,24 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2); + result = (int)wxDateTime::GetNumberOfDays(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19349,7 +20229,7 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Month arg1 ; int arg2 = (int) wxDateTime::Inv_Year ; wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ; @@ -19363,30 +20243,30 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (wxDateTime::Month)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (wxDateTime::Calendar)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3); + result = (int)wxDateTime::GetNumberOfDays(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -19395,7 +20275,7 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *arg static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Month arg1 ; wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ; wxString result; @@ -19407,18 +20287,18 @@ static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxDateTime::Month)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2); + result = wxDateTime::GetMonthName(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19437,7 +20317,7 @@ static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::WeekDay arg1 ; wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ; wxString result; @@ -19449,18 +20329,18 @@ static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2); + result = wxDateTime::GetWeekDayName(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19479,7 +20359,7 @@ static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *result; char *kwnames[] = { NULL @@ -19488,7 +20368,7 @@ static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)DateTime_GetAmPmStrings(); + result = (PyObject *)wxDateTime_GetAmPmStrings(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19501,7 +20381,7 @@ static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; @@ -19514,19 +20394,19 @@ static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2); + result = (bool)wxDateTime::IsDSTApplicable(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19541,7 +20421,7 @@ static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; wxDateTime result; @@ -19554,26 +20434,26 @@ static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2); + result = wxDateTime::GetBeginDST(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19583,7 +20463,7 @@ static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; wxDateTime result; @@ -19596,26 +20476,26 @@ static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2); + result = wxDateTime::GetEndDST(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19625,7 +20505,7 @@ static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19641,7 +20521,7 @@ static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19651,7 +20531,7 @@ static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19667,7 +20547,7 @@ static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwarg } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19677,7 +20557,7 @@ static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19693,7 +20573,7 @@ static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwar } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19703,7 +20583,7 @@ static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *result; char *kwnames[] = { NULL @@ -19725,7 +20605,7 @@ static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; time_t arg1 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19735,7 +20615,7 @@ static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail; { - arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -19753,7 +20633,7 @@ static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19763,7 +20643,7 @@ static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail; { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -19781,7 +20661,7 @@ static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -19797,24 +20677,24 @@ static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -19833,7 +20713,7 @@ static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -19855,48 +20735,48 @@ static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7); + result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4,arg5,arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19909,7 +20789,7 @@ static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19934,7 +20814,7 @@ static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19963,7 +20843,7 @@ static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; time_t arg2 ; wxDateTime *result; @@ -19977,7 +20857,7 @@ static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19998,7 +20878,7 @@ static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double arg2 ; wxDateTime *result; @@ -20012,7 +20892,7 @@ static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20033,7 +20913,7 @@ static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; int arg3 = (int) 0 ; @@ -20053,24 +20933,24 @@ static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -20092,7 +20972,7 @@ static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -20118,49 +20998,49 @@ static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::Month)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8); + wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7,arg8); result = (wxDateTime *) &_result_ref; } @@ -20175,7 +21055,7 @@ static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -20204,7 +21084,7 @@ static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20218,7 +21098,7 @@ static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20239,7 +21119,7 @@ static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 ; wxDateTime *result; @@ -20253,13 +21133,13 @@ static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2); + wxDateTime &_result_ref = (arg1)->SetMonth(arg2); result = (wxDateTime *) &_result_ref; } @@ -20274,7 +21154,7 @@ static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20288,7 +21168,7 @@ static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20309,7 +21189,7 @@ static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20323,7 +21203,7 @@ static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20344,7 +21224,7 @@ static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20358,7 +21238,7 @@ static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20379,7 +21259,7 @@ static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20393,7 +21273,7 @@ static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20414,7 +21294,7 @@ static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20428,7 +21308,7 @@ static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20449,7 +21329,7 @@ static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; @@ -20465,19 +21345,19 @@ static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3); + wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek(arg2,arg3); result = (wxDateTime *) &_result_ref; } @@ -20492,7 +21372,7 @@ static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *arg static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; @@ -20508,25 +21388,25 @@ static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3); + result = (arg1)->GetWeekDayInSameWeek(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20536,7 +21416,7 @@ static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime *result; @@ -20550,13 +21430,13 @@ static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2); + wxDateTime &_result_ref = (arg1)->SetToNextWeekDay(arg2); result = (wxDateTime *) &_result_ref; } @@ -20571,7 +21451,7 @@ static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime result; @@ -20585,19 +21465,19 @@ static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2); + result = (arg1)->GetNextWeekDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20607,7 +21487,7 @@ static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime *result; @@ -20621,13 +21501,13 @@ static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2); + wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay(arg2); result = (wxDateTime *) &_result_ref; } @@ -20642,7 +21522,7 @@ static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime result; @@ -20656,19 +21536,19 @@ static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2); + result = (arg1)->GetPrevWeekDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20678,7 +21558,7 @@ static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; int arg3 = (int) 1 ; @@ -20698,30 +21578,30 @@ static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxDateTime::Month)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5); + result = (bool)(arg1)->SetToWeekDay(arg2,arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20736,7 +21616,7 @@ static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -20754,24 +21634,24 @@ static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::Month)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4); + result = (bool)(arg1)->SetToLastWeekDay(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20786,7 +21666,7 @@ static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -20804,31 +21684,31 @@ static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::Month)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4); + result = (arg1)->GetLastWeekDay(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20838,7 +21718,7 @@ static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20856,24 +21736,24 @@ static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4); + result = (bool)(arg1)->SetToTheWeek(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20888,7 +21768,7 @@ static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20906,31 +21786,31 @@ static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4); + result = (arg1)->GetWeek(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20940,7 +21820,7 @@ static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20954,29 +21834,29 @@ static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3); + result = wxDateTime::SetToWeekOfYear(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20986,7 +21866,7 @@ static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -21003,20 +21883,20 @@ static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, Py if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3); + wxDateTime &_result_ref = (arg1)->SetToLastMonthDay(arg2,arg3); result = (wxDateTime *) &_result_ref; } @@ -21031,7 +21911,7 @@ static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, Py static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -21048,26 +21928,26 @@ static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3); + result = (arg1)->GetLastMonthDay(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21077,7 +21957,7 @@ static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -21091,7 +21971,7 @@ static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21112,7 +21992,7 @@ static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime result; @@ -21126,7 +22006,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21138,7 +22018,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21148,7 +22028,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21167,7 +22047,7 @@ static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21176,7 +22056,7 @@ static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, P static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21195,7 +22075,7 @@ static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21204,7 +22084,7 @@ static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21223,7 +22103,7 @@ static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21232,7 +22112,7 @@ static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21251,7 +22131,7 @@ static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21260,7 +22140,7 @@ static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -21279,7 +22159,7 @@ static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -21288,7 +22168,7 @@ static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -21310,7 +22190,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -21323,7 +22203,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } { @@ -21339,7 +22219,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -21361,7 +22241,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObjec } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -21389,7 +22269,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -21411,7 +22291,7 @@ static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObjec } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -21424,7 +22304,7 @@ static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObjec } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } { @@ -21440,7 +22320,7 @@ static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -21462,7 +22342,7 @@ static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -21490,7 +22370,7 @@ static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime result; @@ -21505,7 +22385,7 @@ static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21518,7 +22398,7 @@ static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwar } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21528,7 +22408,7 @@ static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime *result; @@ -21543,7 +22423,7 @@ static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21565,7 +22445,7 @@ static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime result; @@ -21580,7 +22460,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21593,7 +22473,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwar } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21603,7 +22483,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime *result; @@ -21618,7 +22498,7 @@ static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21640,7 +22520,7 @@ static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime result; @@ -21655,7 +22535,7 @@ static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21668,7 +22548,7 @@ static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kw } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -21678,7 +22558,7 @@ static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime *result; @@ -21693,7 +22573,7 @@ static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject 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; } } @@ -21715,7 +22595,7 @@ static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; int result; @@ -21730,19 +22610,19 @@ static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->IsDST((wxDateTime::Country )arg2); + result = (int)(arg1)->IsDST(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -21751,7 +22631,7 @@ static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21779,7 +22659,7 @@ static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; time_t result; PyObject * obj0 = 0 ; @@ -21798,7 +22678,7 @@ static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -21807,7 +22687,7 @@ static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21836,7 +22716,7 @@ static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21851,7 +22731,7 @@ static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21893,7 +22773,7 @@ static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21922,7 +22802,7 @@ static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21937,7 +22817,7 @@ static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21979,7 +22859,7 @@ static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22008,7 +22888,7 @@ static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22023,7 +22903,7 @@ static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22052,7 +22932,7 @@ static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22067,7 +22947,7 @@ static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22096,7 +22976,7 @@ static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22111,7 +22991,7 @@ static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22140,7 +23020,7 @@ static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22155,7 +23035,7 @@ static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -22184,7 +23064,7 @@ static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -22199,7 +23079,7 @@ static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ; @@ -22218,7 +23098,7 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22230,13 +23110,13 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3); + result = (int)((wxDateTime const *)arg1)->GetWeekOfYear(arg2,(wxDateTime::TimeZone const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) delete arg3; @@ -22251,7 +23131,7 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ; @@ -22270,7 +23150,7 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22282,13 +23162,13 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3); + result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth(arg2,(wxDateTime::TimeZone const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) delete arg3; @@ -22303,7 +23183,7 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; @@ -22318,13 +23198,13 @@ static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2); + result = (bool)((wxDateTime const *)arg1)->IsWorkDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -22339,7 +23219,7 @@ static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22377,7 +23257,7 @@ static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22415,7 +23295,7 @@ static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22453,7 +23333,7 @@ static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxDateTime *arg3 = 0 ; @@ -22501,7 +23381,7 @@ static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, Py static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxDateTime *arg3 = 0 ; @@ -22549,7 +23429,7 @@ static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22587,7 +23467,7 @@ static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -22625,7 +23505,7 @@ static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan *arg3 = 0 ; @@ -22673,7 +23553,7 @@ static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22712,7 +23592,7 @@ static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -22751,7 +23631,7 @@ static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22790,7 +23670,7 @@ static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -22829,7 +23709,7 @@ static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan result; @@ -22859,7 +23739,7 @@ static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *k } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -22869,7 +23749,7 @@ static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22905,7 +23785,7 @@ static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -23008,7 +23888,7 @@ static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -23044,7 +23924,7 @@ static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -23147,7 +24027,7 @@ static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime result; @@ -23174,7 +24054,7 @@ static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -23184,7 +24064,7 @@ static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime result; @@ -23211,7 +24091,7 @@ static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -23288,7 +24168,7 @@ static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan result; @@ -23315,7 +24195,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23325,7 +24205,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime result; @@ -23352,7 +24232,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -23362,7 +24242,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime result; @@ -23389,7 +24269,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -23492,7 +24372,7 @@ static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23524,7 +24404,7 @@ static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23556,7 +24436,7 @@ static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23588,7 +24468,7 @@ static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23620,7 +24500,7 @@ static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23652,7 +24532,7 @@ static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -23684,7 +24564,7 @@ static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23711,7 +24591,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23728,7 +24608,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ; @@ -23779,7 +24659,7 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23804,7 +24684,7 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23831,7 +24711,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23848,7 +24728,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23875,7 +24755,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23892,7 +24772,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23919,7 +24799,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23936,7 +24816,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -24003,7 +24883,7 @@ static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24035,7 +24915,7 @@ static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24067,7 +24947,7 @@ static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24099,7 +24979,7 @@ static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24138,7 +25018,7 @@ static PyObject * DateTime_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24148,7 +25028,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24160,7 +25040,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24170,7 +25050,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24186,7 +25066,7 @@ static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwa } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24196,7 +25076,7 @@ static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24206,7 +25086,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24218,7 +25098,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24228,7 +25108,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24244,7 +25124,7 @@ static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwa } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24254,7 +25134,7 @@ static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24264,7 +25144,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24276,7 +25156,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24286,7 +25166,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24302,7 +25182,7 @@ static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24312,7 +25192,7 @@ static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24322,7 +25202,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24334,7 +25214,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24344,7 +25224,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24360,7 +25240,7 @@ static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24370,7 +25250,7 @@ static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24380,7 +25260,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24392,7 +25272,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24402,7 +25282,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -24418,7 +25298,7 @@ static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24428,7 +25308,7 @@ static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 = (long) 0 ; long arg2 = (long) 0 ; long arg3 = (long) 0 ; @@ -24445,25 +25325,25 @@ static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -24482,7 +25362,7 @@ static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24507,7 +25387,7 @@ static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24546,7 +25426,7 @@ static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24585,7 +25465,7 @@ static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan *result; @@ -24599,7 +25479,7 @@ static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24620,7 +25500,7 @@ static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *result; PyObject * obj0 = 0 ; @@ -24649,7 +25529,7 @@ static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -24669,7 +25549,7 @@ static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24679,7 +25559,7 @@ static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24718,7 +25598,7 @@ static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24757,7 +25637,7 @@ static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan *result; @@ -24771,7 +25651,7 @@ static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24792,7 +25672,7 @@ static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *result; PyObject * obj0 = 0 ; @@ -24821,7 +25701,7 @@ static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan result; @@ -24851,7 +25731,7 @@ static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24861,7 +25741,7 @@ static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan result; @@ -24891,7 +25771,7 @@ static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24901,7 +25781,7 @@ static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan result; @@ -24915,7 +25795,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24927,7 +25807,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24937,7 +25817,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan result; @@ -24951,7 +25831,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24963,7 +25843,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24973,7 +25853,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25005,7 +25885,7 @@ static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25037,7 +25917,7 @@ static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25069,7 +25949,7 @@ static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25101,7 +25981,7 @@ static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25133,7 +26013,7 @@ static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -25165,7 +26045,7 @@ static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25193,7 +26073,7 @@ static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25221,7 +26101,7 @@ static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25249,7 +26129,7 @@ static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -25287,7 +26167,7 @@ static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -25325,7 +26205,7 @@ static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -25363,7 +26243,7 @@ static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25382,7 +26262,7 @@ static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25391,7 +26271,7 @@ static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25410,7 +26290,7 @@ static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25419,7 +26299,7 @@ static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25438,7 +26318,7 @@ static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25447,7 +26327,7 @@ static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25466,7 +26346,7 @@ static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25475,7 +26355,7 @@ static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxLongLong result; PyObject * obj0 = 0 ; @@ -25512,7 +26392,7 @@ static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxLongLong result; PyObject * obj0 = 0 ; @@ -25549,7 +26429,7 @@ static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -25607,7 +26487,7 @@ static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -25624,25 +26504,25 @@ static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -25661,7 +26541,7 @@ static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25686,7 +26566,7 @@ static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25696,7 +26576,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25708,7 +26588,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25718,7 +26598,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25734,7 +26614,7 @@ static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25744,7 +26624,7 @@ static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25754,7 +26634,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25766,7 +26646,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25776,7 +26656,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25792,7 +26672,7 @@ static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25802,7 +26682,7 @@ static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25812,7 +26692,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25824,7 +26704,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25834,7 +26714,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25850,7 +26730,7 @@ static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25860,7 +26740,7 @@ static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25870,7 +26750,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25882,7 +26762,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25892,7 +26772,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25908,7 +26788,7 @@ static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25918,7 +26798,7 @@ static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25932,7 +26812,7 @@ static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25953,7 +26833,7 @@ static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25967,7 +26847,7 @@ static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25988,7 +26868,7 @@ static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -26002,7 +26882,7 @@ static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26023,7 +26903,7 @@ static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -26037,7 +26917,7 @@ static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26058,7 +26938,7 @@ static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26077,7 +26957,7 @@ static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26086,7 +26966,7 @@ static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26105,7 +26985,7 @@ static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26114,7 +26994,7 @@ static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26133,7 +27013,7 @@ static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26142,7 +27022,7 @@ static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26161,7 +27041,7 @@ static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26170,7 +27050,7 @@ static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -26189,7 +27069,7 @@ static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -26198,7 +27078,7 @@ static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -26237,7 +27117,7 @@ static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -26276,7 +27156,7 @@ static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *result; PyObject * obj0 = 0 ; @@ -26305,7 +27185,7 @@ static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -26319,7 +27199,7 @@ static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26340,7 +27220,7 @@ static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -26379,7 +27259,7 @@ static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -26418,7 +27298,7 @@ static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *result; PyObject * obj0 = 0 ; @@ -26447,7 +27327,7 @@ static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -26461,7 +27341,7 @@ static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26482,7 +27362,7 @@ static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan result; @@ -26512,7 +27392,7 @@ static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -26522,7 +27402,7 @@ static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan result; @@ -26552,7 +27432,7 @@ static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -26562,7 +27442,7 @@ static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan result; @@ -26576,7 +27456,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26588,7 +27468,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -26598,7 +27478,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan result; @@ -26612,7 +27492,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26624,7 +27504,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -26634,7 +27514,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = (wxDateSpan *) 0 ; bool result; @@ -26666,7 +27546,7 @@ static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = (wxDateSpan *) 0 ; bool result; @@ -26705,7 +27585,7 @@ static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -26720,7 +27600,7 @@ static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26729,7 +27609,7 @@ static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -26744,7 +27624,7 @@ static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26753,7 +27633,7 @@ static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -26768,7 +27648,7 @@ static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26777,7 +27657,7 @@ static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLongLong result; char *kwnames[] = { NULL @@ -26816,7 +27696,7 @@ static int _wrap_DefaultDateTime_set(PyObject *) { static PyObject *_wrap_DefaultDateTime_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0); return pyobj; @@ -26824,7 +27704,7 @@ static PyObject *_wrap_DefaultDateTime_get(void) { static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormatId arg1 ; wxDataFormat *result; PyObject * obj0 = 0 ; @@ -26834,12 +27714,12 @@ static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail; { - arg1 = (wxDataFormatId)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1); + result = (wxDataFormat *)new wxDataFormat(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26852,7 +27732,7 @@ static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxDataFormat *result; bool temp1 = false ; @@ -26890,7 +27770,7 @@ static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26915,7 +27795,7 @@ static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; bool result; @@ -26926,12 +27806,12 @@ static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2); + result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26946,7 +27826,7 @@ static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; bool result; @@ -26957,12 +27837,12 @@ static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2); + result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26977,7 +27857,7 @@ static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -27071,7 +27951,7 @@ static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) { static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -27165,7 +28045,7 @@ static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) { static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; PyObject * obj0 = 0 ; @@ -27178,12 +28058,12 @@ static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetType((wxDataFormatId )arg2); + (arg1)->SetType(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -27196,7 +28076,7 @@ static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId result; PyObject * obj0 = 0 ; @@ -27222,7 +28102,7 @@ static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -27254,7 +28134,7 @@ static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -27308,7 +28188,7 @@ static int _wrap_FormatInvalid_set(PyObject *) { static PyObject *_wrap_FormatInvalid_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0); return pyobj; @@ -27316,7 +28196,7 @@ static PyObject *_wrap_FormatInvalid_get(void) { static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27341,7 +28221,7 @@ static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; SwigValueWrapper result; @@ -27356,20 +28236,20 @@ static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2); + result = ((wxDataObject const *)arg1)->GetPreferredFormat(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDataFormat * resultptr; - resultptr = new wxDataFormat((wxDataFormat &)(result)); + resultptr = new wxDataFormat(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1); } return resultobj; @@ -27379,7 +28259,7 @@ static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; size_t result; @@ -27394,19 +28274,19 @@ static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyO if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2); + result = (size_t)((wxDataObject const *)arg1)->GetFormatCount(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -27415,7 +28295,7 @@ static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyO static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ; @@ -27440,13 +28320,13 @@ static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3); + result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -27461,7 +28341,7 @@ static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; size_t result; @@ -27490,7 +28370,7 @@ static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -27499,7 +28379,7 @@ static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; PyObject *result; @@ -27514,13 +28394,13 @@ static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2); + result = (PyObject *)wxDataObject_GetAllFormats(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -27533,7 +28413,7 @@ static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; PyObject *result; @@ -27569,7 +28449,7 @@ static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -27617,7 +28497,7 @@ static PyObject * DataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat const &arg1_defvalue = wxFormatInvalid ; wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ; wxDataObjectSimple *result; @@ -27652,7 +28532,7 @@ static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; wxDataFormat *result; PyObject * obj0 = 0 ; @@ -27681,7 +28561,7 @@ static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, Py static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; wxDataFormat *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27716,7 +28596,7 @@ static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, Py static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -27735,7 +28615,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -27744,7 +28624,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -27770,7 +28650,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -27808,7 +28688,7 @@ static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat const &arg1_defvalue = wxFormatInvalid ; wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ; wxPyDataObjectSimple *result; @@ -27843,7 +28723,7 @@ static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -27881,7 +28761,7 @@ static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectComposite *result; char *kwnames[] = { NULL @@ -27903,7 +28783,7 @@ static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ; wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ; bool arg3 = (bool) false ; @@ -27921,7 +28801,7 @@ static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -27947,7 +28827,7 @@ static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxTextDataObject *result; @@ -27988,7 +28868,7 @@ static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -28007,7 +28887,7 @@ static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -28016,7 +28896,7 @@ static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -28048,7 +28928,7 @@ static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -28096,7 +28976,7 @@ static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxPyTextDataObject *result; @@ -28137,7 +29017,7 @@ static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28175,7 +29055,7 @@ static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap const &arg1_defvalue = wxNullBitmap ; wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ; wxBitmapDataObject *result; @@ -28210,7 +29090,7 @@ static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -28230,7 +29110,7 @@ static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, Py } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -28240,7 +29120,7 @@ static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -28282,7 +29162,7 @@ static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap const &arg1_defvalue = wxNullBitmap ; wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ; wxPyBitmapDataObject *result; @@ -28317,7 +29197,7 @@ static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28355,7 +29235,7 @@ static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *result; char *kwnames[] = { NULL @@ -28377,7 +29257,7 @@ static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *arg1 = (wxFileDataObject *) 0 ; wxArrayString *result; PyObject * obj0 = 0 ; @@ -28408,7 +29288,7 @@ static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, P static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *arg1 = (wxFileDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -28456,7 +29336,7 @@ static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = 0 ; wxCustomDataObject *result; PyObject * obj0 = 0 ; @@ -28485,7 +29365,7 @@ static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxCustomDataObject *result; bool temp1 = false ; @@ -28520,7 +29400,7 @@ static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *result; if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail; @@ -28581,7 +29461,7 @@ static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) { static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -28612,7 +29492,7 @@ static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -28631,7 +29511,7 @@ static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -28640,7 +29520,7 @@ static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -28673,7 +29553,7 @@ static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *result; char *kwnames[] = { NULL @@ -28695,7 +29575,7 @@ static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *arg1 = (wxURLDataObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -28727,7 +29607,7 @@ static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *arg1 = (wxURLDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -28775,7 +29655,7 @@ static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetafileDataObject *result; char *kwnames[] = { NULL @@ -28797,7 +29677,7 @@ static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ; wxMetafile *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -28832,7 +29712,7 @@ static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ; wxMetafile result; PyObject * obj0 = 0 ; @@ -28852,7 +29732,7 @@ static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args } { wxMetafile * resultptr; - resultptr = new wxMetafile((wxMetafile &)(result)); + resultptr = new wxMetafile(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1); } return resultobj; @@ -28869,7 +29749,7 @@ static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDragResult arg1 ; bool result; PyObject * obj0 = 0 ; @@ -28879,12 +29759,12 @@ static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail; { - arg1 = (wxDragResult)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxIsDragResultOk((wxDragResult )arg1); + result = (bool)wxIsDragResultOk(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28899,7 +29779,7 @@ static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor const &arg2_defvalue = wxNullCursor ; wxCursor *arg2 = (wxCursor *) &arg2_defvalue ; @@ -28964,7 +29844,7 @@ static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28983,7 +29863,7 @@ static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, P arg2 = obj1; arg3 = obj2; { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -29001,7 +29881,7 @@ static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, P static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29026,7 +29906,7 @@ static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDataObject *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -29061,7 +29941,7 @@ static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDataObject *result; PyObject * obj0 = 0 ; @@ -29087,7 +29967,7 @@ static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDragResult arg2 ; wxCursor *arg3 = 0 ; @@ -29102,7 +29982,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -29115,7 +29995,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3); + (arg1)->SetCursor(arg2,(wxCursor const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29128,7 +30008,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; int arg2 = (int) wxDrag_CopyOnly ; wxDragResult result; @@ -29143,7 +30023,7 @@ static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -29162,7 +30042,7 @@ static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDragResult arg2 ; bool result; @@ -29176,12 +30056,12 @@ static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2); + result = (bool)(arg1)->base_GiveFeedback(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29203,7 +30083,7 @@ static PyObject * DropSource_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) NULL ; wxPyDropTarget *result; PyObject * obj0 = 0 ; @@ -29231,7 +30111,7 @@ static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -29262,7 +30142,7 @@ static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, P static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29287,7 +30167,7 @@ static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDataObject *result; PyObject * obj0 = 0 ; @@ -29313,7 +30193,7 @@ static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; PyObject * obj0 = 0 ; @@ -29342,7 +30222,7 @@ static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29360,20 +30240,20 @@ static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29386,7 +30266,7 @@ static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29404,20 +30284,20 @@ static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29430,7 +30310,7 @@ static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, Py static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29455,7 +30335,7 @@ static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29471,11 +30351,11 @@ static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -29495,7 +30375,7 @@ static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29523,7 +30403,7 @@ static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDragResult arg2 ; PyObject * obj0 = 0 ; @@ -29536,12 +30416,12 @@ static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDefaultAction((wxDragResult )arg2); + (arg1)->SetDefaultAction(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29554,7 +30434,7 @@ static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, P static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDragResult result; PyObject * obj0 = 0 ; @@ -29587,7 +30467,7 @@ static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *result; char *kwnames[] = { NULL @@ -29609,7 +30489,7 @@ static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -29640,7 +30520,7 @@ static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29658,20 +30538,20 @@ static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29684,7 +30564,7 @@ static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, P static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29702,20 +30582,20 @@ static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29728,7 +30608,7 @@ static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29753,7 +30633,7 @@ static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, P static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29769,11 +30649,11 @@ static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -29793,7 +30673,7 @@ static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, Py static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29811,20 +30691,20 @@ static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29844,7 +30724,7 @@ static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *result; char *kwnames[] = { NULL @@ -29866,7 +30746,7 @@ static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -29897,7 +30777,7 @@ static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29915,20 +30795,20 @@ static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29941,7 +30821,7 @@ static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, P static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29959,20 +30839,20 @@ static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29985,7 +30865,7 @@ static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30010,7 +30890,7 @@ static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, P static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -30026,11 +30906,11 @@ static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -30050,7 +30930,7 @@ static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, Py static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -30068,20 +30948,20 @@ static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -30101,7 +30981,7 @@ static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *result; char *kwnames[] = { NULL @@ -30123,7 +31003,7 @@ static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30148,7 +31028,7 @@ static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30176,7 +31056,7 @@ static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30201,7 +31081,7 @@ static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30229,7 +31109,7 @@ static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; bool result; @@ -30261,7 +31141,7 @@ static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; bool result; @@ -30293,7 +31173,7 @@ static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -30331,7 +31211,7 @@ static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = 0 ; bool result; @@ -30369,7 +31249,7 @@ static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30394,7 +31274,7 @@ static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30422,7 +31302,7 @@ static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -30436,7 +31316,7 @@ static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -30455,7 +31335,7 @@ static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *result; char *kwnames[] = { NULL @@ -30484,7 +31364,7 @@ static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) NULL ; wxClipboardLocker *result; PyObject * obj0 = 0 ; @@ -30512,7 +31392,7 @@ static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30537,7 +31417,7 @@ static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30572,7 +31452,7 @@ static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -30589,25 +31469,25 @@ static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -30626,7 +31506,7 @@ static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30651,7 +31531,7 @@ static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = 0 ; bool result; @@ -30689,7 +31569,7 @@ static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30708,7 +31588,7 @@ static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30717,7 +31597,7 @@ static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30736,7 +31616,7 @@ static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30745,7 +31625,7 @@ static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30764,7 +31644,7 @@ static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30773,7 +31653,7 @@ static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30801,7 +31681,7 @@ static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = (wxVideoMode *) 0 ; bool result; @@ -30833,7 +31713,7 @@ static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = (wxVideoMode *) 0 ; bool result; @@ -30865,7 +31745,7 @@ static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30878,7 +31758,7 @@ static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->w = arg2; @@ -30891,7 +31771,7 @@ static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30905,7 +31785,7 @@ static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->w); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30914,7 +31794,7 @@ static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30927,7 +31807,7 @@ static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->h = arg2; @@ -30940,7 +31820,7 @@ static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30954,7 +31834,7 @@ static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->h); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30963,7 +31843,7 @@ static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30976,7 +31856,7 @@ static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->bpp = arg2; @@ -30989,7 +31869,7 @@ static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -31003,7 +31883,7 @@ static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *k result = (int) ((arg1)->bpp); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31012,7 +31892,7 @@ static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -31025,7 +31905,7 @@ static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->refresh = arg2; @@ -31038,7 +31918,7 @@ static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -31052,7 +31932,7 @@ static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObjec result = (int) ((arg1)->refresh); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31074,7 +31954,7 @@ static int _wrap_DefaultVideoMode_set(PyObject *) { static PyObject *_wrap_DefaultVideoMode_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0); return pyobj; @@ -31082,7 +31962,7 @@ static PyObject *_wrap_DefaultVideoMode_get(void) { static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t arg1 = (size_t) 0 ; wxDisplay *result; PyObject * obj0 = 0 ; @@ -31093,7 +31973,7 @@ static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -31112,7 +31992,7 @@ static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31137,7 +32017,7 @@ static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t result; char *kwnames[] = { NULL @@ -31152,7 +32032,7 @@ static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -31161,7 +32041,7 @@ static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; int result; wxPoint temp1 ; @@ -31183,7 +32063,7 @@ static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31192,7 +32072,7 @@ static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -31205,13 +32085,13 @@ static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)Display_GetFromWindow(arg1); + result = (int)wxDisplay_GetFromWindow(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31220,7 +32100,7 @@ static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31248,7 +32128,7 @@ static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -31268,7 +32148,7 @@ static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -31278,7 +32158,7 @@ static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31310,7 +32190,7 @@ static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31338,7 +32218,7 @@ static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ; wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ; @@ -31377,7 +32257,7 @@ static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode result; PyObject * obj0 = 0 ; @@ -31397,7 +32277,7 @@ static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObje } { wxVideoMode * resultptr; - resultptr = new wxVideoMode((wxVideoMode &)(result)); + resultptr = new wxVideoMode(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1); } return resultobj; @@ -31407,7 +32287,7 @@ static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ; wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ; @@ -31448,7 +32328,7 @@ static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -31480,7 +32360,7 @@ static PyObject * Display_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *result; char *kwnames[] = { NULL @@ -31489,7 +32369,7 @@ static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxStandardPaths *)StandardPaths_Get(); + result = (wxStandardPaths *)wxStandardPaths_Get(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -31502,7 +32382,7 @@ static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31534,7 +32414,7 @@ static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, Py static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31566,7 +32446,7 @@ static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31598,7 +32478,7 @@ static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31630,7 +32510,7 @@ static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31662,7 +32542,7 @@ static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31694,7 +32574,7 @@ static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *a static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31726,7 +32606,7 @@ static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, P static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31767,7 +32647,7 @@ static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31830,7 +32710,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31874,12 +32753,37 @@ static PyMethodDef SwigMethods[] = { { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FindWindowAtPointer", (PyCFunction) _wrap_FindWindowAtPointer, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_MouseState", (PyCFunction) _wrap_new_MouseState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_MouseState", (PyCFunction) _wrap_delete_MouseState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_GetX", (PyCFunction) _wrap_MouseState_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_GetY", (PyCFunction) _wrap_MouseState_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_LeftDown", (PyCFunction) _wrap_MouseState_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_MiddleDown", (PyCFunction) _wrap_MouseState_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_RightDown", (PyCFunction) _wrap_MouseState_RightDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_ControlDown", (PyCFunction) _wrap_MouseState_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_ShiftDown", (PyCFunction) _wrap_MouseState_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_AltDown", (PyCFunction) _wrap_MouseState_AltDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_MetaDown", (PyCFunction) _wrap_MouseState_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_CmdDown", (PyCFunction) _wrap_MouseState_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetX", (PyCFunction) _wrap_MouseState_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetY", (PyCFunction) _wrap_MouseState_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetLeftDown", (PyCFunction) _wrap_MouseState_SetLeftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetMiddleDown", (PyCFunction) _wrap_MouseState_SetMiddleDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetRightDown", (PyCFunction) _wrap_MouseState_SetRightDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetControlDown", (PyCFunction) _wrap_MouseState_SetControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetShiftDown", (PyCFunction) _wrap_MouseState_SetShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetAltDown", (PyCFunction) _wrap_MouseState_SetAltDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetMetaDown", (PyCFunction) _wrap_MouseState_SetMetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_swigregister", MouseState_swigregister, METH_VARARGS, NULL}, + { (char *)"GetMouseState", (PyCFunction) _wrap_GetMouseState, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -32786,14 +33690,11 @@ static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) { return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x)); } static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) { - return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x)); + return (void *)((wxDataObject *) ((wxURLDataObject *) x)); } static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) { return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x)); } -static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) { - return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x)); -} static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) { return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x)); } @@ -33145,209 +34046,704 @@ static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) { static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) { return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x)); } -static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemorySize[] = {{"_p_wxMemorySize", 0, "wxMemorySize *", 0, 0, 0, 0},{"_p_wxMemorySize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogBuffer[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxLogChain, -_swigt__p_wxMutexGuiLocker, -_swigt__p_wxMetafile, -_swigt__p_wxFileHistory, -_swigt__p_wxLog, -_swigt__p_wxMenu, -_swigt__p_wxEvent, -_swigt__p_wxDateTime__TimeZone, -_swigt__p_wxConfigBase, -_swigt__p_wxDisplay, -_swigt__p_wxFileType, -_swigt__p_wxLogGui, -_swigt__p_wxMemorySize, -_swigt__p_wxFont, -_swigt__p_wxDataFormat, -_swigt__p_wxTimerEvent, -_swigt__p_wxCaret, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_void, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxClipboard, -_swigt__p_wxStopWatch, -_swigt__p_wxDC, -_swigt__p_wxClipboardLocker, -_swigt__p_wxIcon, -_swigt__p_wxLogStderr, -_swigt__p_wxLogTextCtrl, -_swigt__p_wxTextCtrl, -_swigt__p_wxBusyCursor, -_swigt__p_wxBitmapDataObject, -_swigt__p_wxTextDataObject, -_swigt__p_wxDataObject, -_swigt__p_wxPyTextDataObject, -_swigt__p_wxPyBitmapDataObject, -_swigt__p_wxFileDataObject, -_swigt__p_wxCustomDataObject, -_swigt__p_wxURLDataObject, -_swigt__p_wxMetafileDataObject, -_swigt__p_wxSound, -_swigt__p_wxTimerRunner, -_swigt__p_wxLogWindow, -_swigt__p_wxTimeSpan, -_swigt__p_wxArrayString, -_swigt__p_wxWindowDisabler, -_swigt__p_form_ops_t, -_swigt__p_wxToolTip, -_swigt__p_wxDataObjectComposite, -_swigt__p_wxSystemSettings, -_swigt__p_wxFileConfig, -_swigt__p_wxVideoMode, -_swigt__p_wxDataObjectSimple, -_swigt__p_wxPyDataObjectSimple, -_swigt__p_wxDuplexMode, -_swigt__p_wxEvtHandler, -_swigt__p_wxRect, -_swigt__p_char, -_swigt__p_wxSingleInstanceChecker, -_swigt__p_wxStandardPaths, -_swigt__p_wxFileTypeInfo, -_swigt__p_wxFrame, -_swigt__p_wxTimer, -_swigt__p_wxPaperSize, -_swigt__p_wxMimeTypesManager, -_swigt__p_wxPyTipProvider, -_swigt__p_wxTipProvider, -_swigt__p_wxJoystick, -_swigt__p_wxSystemOptions, -_swigt__p_wxPyArtProvider, -_swigt__p_wxPoint, -_swigt__p_wxJoystickEvent, -_swigt__p_wxCursor, -_swigt__p_wxObject, -_swigt__p_wxOutputStream, -_swigt__p_wxDateTime, -_swigt__p_wxPyDropSource, -_swigt__p_unsigned_long, -_swigt__p_wxLogBuffer, -_swigt__p_wxKillError, -_swigt__p_wxWindow, -_swigt__p_wxString, -_swigt__p_wxPyProcess, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_wxConfig, -_swigt__p_unsigned_char, -_swigt__p_wxChar, -_swigt__p_wxBusyInfo, -_swigt__p_wxPyDropTarget, -_swigt__p_wxPyTextDropTarget, -_swigt__p_wxPyFileDropTarget, -_swigt__p_wxProcessEvent, -_swigt__p_wxPyLog, -_swigt__p_wxLogNull, -_swigt__p_wxColour, -_swigt__p_wxPyTimer, -_swigt__p_wxConfigPathChanger, -_swigt__p_wxDateSpan, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0}; +static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", "wxClipboard *", 0, 0, 0}; +static swig_type_info _swigt__p_wxClipboardLocker = {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfig = {"_p_wxConfig", "wxConfig *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfigPathChanger = {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCustomDataObject = {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataFormat = {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObject = {"_p_wxDataObject", "wxDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObjectComposite = {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObjectSimple = {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateSpan = {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime__TimeZone = {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplay = {"_p_wxDisplay", "wxDisplay *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileConfig = {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDataObject = {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileType = {"_p_wxFileType", "wxFileType *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLog = {"_p_wxLog", "wxLog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogBuffer = {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogChain = {"_p_wxLogChain", "wxLogChain *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogGui = {"_p_wxLogGui", "wxLogGui *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogNull = {"_p_wxLogNull", "wxLogNull *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogStderr = {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogTextCtrl = {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogWindow = {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemorySize = {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMetafile = {"_p_wxMetafile", "wxMetafile *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMimeTypesManager = {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseState = {"_p_wxMouseState", "wxMouseState *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMutexGuiLocker = {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyArtProvider = {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyBitmapDataObject = {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDataObjectSimple = {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropSource = {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyFileDropTarget = {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyLog = {"_p_wxPyLog", "wxPyLog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTextDataObject = {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTextDropTarget = {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTipProvider = {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleInstanceChecker = {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSound = {"_p_wxSound", "wxSound *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStandardPaths = {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStopWatch = {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemSettings = {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextDataObject = {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimeSpan = {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimer = {"_p_wxTimer", "wxTimer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimerRunner = {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTipProvider = {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0}; +static swig_type_info _swigt__p_wxURLDataObject = {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVideoMode = {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDisabler = {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0}; +static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; + +static swig_type_info *swig_type_initial[] = { + &_swigt__p_char, + &_swigt__p_form_ops_t, + &_swigt__p_int, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_void, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBitmapDataObject, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBusyCursor, + &_swigt__p_wxBusyInfo, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCaret, + &_swigt__p_wxChar, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClipboard, + &_swigt__p_wxClipboardLocker, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxConfig, + &_swigt__p_wxConfigBase, + &_swigt__p_wxConfigPathChanger, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxCustomDataObject, + &_swigt__p_wxDC, + &_swigt__p_wxDataFormat, + &_swigt__p_wxDataObject, + &_swigt__p_wxDataObjectComposite, + &_swigt__p_wxDataObjectSimple, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDateSpan, + &_swigt__p_wxDateTime, + &_swigt__p_wxDateTime__TimeZone, + &_swigt__p_wxDisplay, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileConfig, + &_swigt__p_wxFileDataObject, + &_swigt__p_wxFileHistory, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFileType, + &_swigt__p_wxFileTypeInfo, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFrame, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxJoystick, + &_swigt__p_wxJoystickEvent, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxKillError, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxLog, + &_swigt__p_wxLogBuffer, + &_swigt__p_wxLogChain, + &_swigt__p_wxLogGui, + &_swigt__p_wxLogNull, + &_swigt__p_wxLogStderr, + &_swigt__p_wxLogTextCtrl, + &_swigt__p_wxLogWindow, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemorySize, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMetafile, + &_swigt__p_wxMetafileDataObject, + &_swigt__p_wxMimeTypesManager, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMouseState, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxMutexGuiLocker, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxOutputStream, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxProcessEvent, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyArtProvider, + &_swigt__p_wxPyBitmapDataObject, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyDataObjectSimple, + &_swigt__p_wxPyDropSource, + &_swigt__p_wxPyDropTarget, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyFileDropTarget, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyLog, + &_swigt__p_wxPyProcess, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTextDataObject, + &_swigt__p_wxPyTextDropTarget, + &_swigt__p_wxPyTimer, + &_swigt__p_wxPyTipProvider, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSingleInstanceChecker, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSound, + &_swigt__p_wxStandardPaths, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxStopWatch, + &_swigt__p_wxString, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxSystemOptions, + &_swigt__p_wxSystemSettings, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTextCtrl, + &_swigt__p_wxTextDataObject, + &_swigt__p_wxTimeSpan, + &_swigt__p_wxTimer, + &_swigt__p_wxTimerEvent, + &_swigt__p_wxTimerRunner, + &_swigt__p_wxTipProvider, + &_swigt__p_wxToolTip, + &_swigt__p_wxURLDataObject, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVideoMode, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxWindowDisabler, + &_swigt__p_wxXPMHandler, + &_swigt__ptrdiff_t, + &_swigt__std__ptrdiff_t, + &_swigt__unsigned_int, +}; + +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmapDataObject[] = { {&_swigt__p_wxBitmapDataObject, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBusyInfo[] = { {&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxClipboard[] = { {&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxClipboardLocker[] = { {&_swigt__p_wxClipboardLocker, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfig[] = { {&_swigt__p_wxConfig, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxFileConfig, _p_wxFileConfigTo_p_wxConfigBase, 0, 0}, {&_swigt__p_wxConfigBase, 0, 0, 0}, {&_swigt__p_wxConfig, _p_wxConfigTo_p_wxConfigBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfigPathChanger[] = { {&_swigt__p_wxConfigPathChanger, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCustomDataObject[] = { {&_swigt__p_wxCustomDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataFormat[] = { {&_swigt__p_wxDataFormat, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObject[] = { {&_swigt__p_wxDataObjectSimple, _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObjectComposite, _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObject, 0, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxURLDataObject, _p_wxURLDataObjectTo_p_wxDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObjectComposite[] = { {&_swigt__p_wxDataObjectComposite, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObjectSimple[] = { {&_swigt__p_wxDataObjectSimple, 0, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateSpan[] = { {&_swigt__p_wxDateSpan, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime__TimeZone[] = { {&_swigt__p_wxDateTime__TimeZone, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDisplay[] = { {&_swigt__p_wxDisplay, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileConfig[] = { {&_swigt__p_wxFileConfig, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileDataObject[] = { {&_swigt__p_wxFileDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileHistory[] = { {&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileType[] = { {&_swigt__p_wxFileType, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLog[] = { {&_swigt__p_wxLogBuffer, _p_wxLogBufferTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogStderr, _p_wxLogStderrTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogTextCtrl, _p_wxLogTextCtrlTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogWindow, _p_wxLogWindowTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogChain, _p_wxLogChainTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogGui, _p_wxLogGuiTo_p_wxLog, 0, 0}, {&_swigt__p_wxPyLog, _p_wxPyLogTo_p_wxLog, 0, 0}, {&_swigt__p_wxLog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogBuffer[] = { {&_swigt__p_wxLogBuffer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogChain[] = { {&_swigt__p_wxLogChain, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogGui[] = { {&_swigt__p_wxLogGui, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogNull[] = { {&_swigt__p_wxLogNull, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogStderr[] = { {&_swigt__p_wxLogStderr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogTextCtrl[] = { {&_swigt__p_wxLogTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogWindow[] = { {&_swigt__p_wxLogWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemorySize[] = { {&_swigt__p_wxMemorySize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMetafile[] = { {&_swigt__p_wxMetafile, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMimeTypesManager[] = { {&_swigt__p_wxMimeTypesManager, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseState[] = { {&_swigt__p_wxMouseState, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMutexGuiLocker[] = { {&_swigt__p_wxMutexGuiLocker, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxProcessEvent[] = { {&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyArtProvider[] = { {&_swigt__p_wxPyArtProvider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyBitmapDataObject[] = { {&_swigt__p_wxPyBitmapDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDataObjectSimple[] = { {&_swigt__p_wxPyDataObjectSimple, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropSource[] = { {&_swigt__p_wxPyDropSource, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0}, {&_swigt__p_wxPyTextDropTarget, _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0}, {&_swigt__p_wxPyFileDropTarget, _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyFileDropTarget[] = { {&_swigt__p_wxPyFileDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyLog[] = { {&_swigt__p_wxPyLog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyProcess[] = { {&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTextDataObject[] = { {&_swigt__p_wxPyTextDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTextDropTarget[] = { {&_swigt__p_wxPyTextDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTimer[] = { {&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTipProvider[] = { {&_swigt__p_wxPyTipProvider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSingleInstanceChecker[] = { {&_swigt__p_wxSingleInstanceChecker, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSound[] = { {&_swigt__p_wxSound, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStandardPaths[] = { {&_swigt__p_wxStandardPaths, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStopWatch[] = { {&_swigt__p_wxStopWatch, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemOptions[] = { {&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemSettings[] = { {&_swigt__p_wxSystemSettings, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextDataObject[] = { {&_swigt__p_wxTextDataObject, 0, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimeSpan[] = { {&_swigt__p_wxTimeSpan, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimer[] = { {&_swigt__p_wxTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimerEvent[] = { {&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimerRunner[] = { {&_swigt__p_wxTimerRunner, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTipProvider[] = { {&_swigt__p_wxTipProvider, 0, 0, 0}, {&_swigt__p_wxPyTipProvider, _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxURLDataObject[] = { {&_swigt__p_wxURLDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVideoMode[] = { {&_swigt__p_wxVideoMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDisabler[] = { {&_swigt__p_wxWindowDisabler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_void, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBitmapDataObject, + _swigc__p_wxBoxSizer, + _swigc__p_wxBusyCursor, + _swigc__p_wxBusyInfo, + _swigc__p_wxCURHandler, + _swigc__p_wxCaret, + _swigc__p_wxChar, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClipboard, + _swigc__p_wxClipboardLocker, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxConfig, + _swigc__p_wxConfigBase, + _swigc__p_wxConfigPathChanger, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxCustomDataObject, + _swigc__p_wxDC, + _swigc__p_wxDataFormat, + _swigc__p_wxDataObject, + _swigc__p_wxDataObjectComposite, + _swigc__p_wxDataObjectSimple, + _swigc__p_wxDateEvent, + _swigc__p_wxDateSpan, + _swigc__p_wxDateTime, + _swigc__p_wxDateTime__TimeZone, + _swigc__p_wxDisplay, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileConfig, + _swigc__p_wxFileDataObject, + _swigc__p_wxFileHistory, + _swigc__p_wxFileSystem, + _swigc__p_wxFileType, + _swigc__p_wxFileTypeInfo, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFrame, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxJoystick, + _swigc__p_wxJoystickEvent, + _swigc__p_wxKeyEvent, + _swigc__p_wxKillError, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxLog, + _swigc__p_wxLogBuffer, + _swigc__p_wxLogChain, + _swigc__p_wxLogGui, + _swigc__p_wxLogNull, + _swigc__p_wxLogStderr, + _swigc__p_wxLogTextCtrl, + _swigc__p_wxLogWindow, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemorySize, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMetafile, + _swigc__p_wxMetafileDataObject, + _swigc__p_wxMimeTypesManager, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMouseState, + _swigc__p_wxMoveEvent, + _swigc__p_wxMutexGuiLocker, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxOutputStream, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxProcessEvent, + _swigc__p_wxPyApp, + _swigc__p_wxPyArtProvider, + _swigc__p_wxPyBitmapDataObject, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyDataObjectSimple, + _swigc__p_wxPyDropSource, + _swigc__p_wxPyDropTarget, + _swigc__p_wxPyEvent, + _swigc__p_wxPyFileDropTarget, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyLog, + _swigc__p_wxPyProcess, + _swigc__p_wxPySizer, + _swigc__p_wxPyTextDataObject, + _swigc__p_wxPyTextDropTarget, + _swigc__p_wxPyTimer, + _swigc__p_wxPyTipProvider, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSingleInstanceChecker, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSound, + _swigc__p_wxStandardPaths, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxStopWatch, + _swigc__p_wxString, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxSystemOptions, + _swigc__p_wxSystemSettings, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTextCtrl, + _swigc__p_wxTextDataObject, + _swigc__p_wxTimeSpan, + _swigc__p_wxTimer, + _swigc__p_wxTimerEvent, + _swigc__p_wxTimerRunner, + _swigc__p_wxTipProvider, + _swigc__p_wxToolTip, + _swigc__p_wxURLDataObject, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVideoMode, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxWindowDisabler, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -33364,6 +34760,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 @@ -33381,7 +34988,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; @@ -33391,13 +34998,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; @@ -33410,7 +35017,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -33423,7 +35030,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) { @@ -33436,72 +35043,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; } @@ -33510,11 +35134,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); @@ -33551,7 +35175,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, @@ -33563,7 +35187,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]); @@ -33576,14 +35200,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; + } + } } } } @@ -33593,69 +35221,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 @@ -33664,316 +35229,295 @@ extern "C" { * Partial Init method * -----------------------------------------------------------------------------*/ -#ifdef SWIG_LINK_RUNTIME -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); -#endif - #ifdef __cplusplus extern "C" #endif -SWIGEXPORT(void) SWIG_init(void) { +SWIGEXPORT void SWIG_init(void) { static PyObject *SWIG_globals = 0; - static int typeinit = 0; PyObject *m, *d; - int i; if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); /* Fix SwigMethods to carry the callback ptrs when needed */ - SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); + SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); m = Py_InitModule((char *) SWIG_name, SwigMethods); d = PyModule_GetDict(m); - if (!typeinit) { -#ifdef SWIG_LINK_RUNTIME - swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); -#else -# ifndef SWIG_STATIC_RUNTIME - swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); -# endif -#endif - for (i = 0; swig_types_initial[i]; i++) { - swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); - } - typeinit = 1; - } + SWIG_InitializeModule(0); SWIG_InstallConstants(d,swig_const_table); { - PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_OEM_FIXED_FONT))); } { - PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_ANSI_FIXED_FONT))); } { - PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT))); + PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast(wxSYS_ANSI_VAR_FONT))); } { - PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT))); + PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast(wxSYS_SYSTEM_FONT))); } { - PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT))); + PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast(wxSYS_DEVICE_DEFAULT_FONT))); } { - PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE))); + PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast(wxSYS_DEFAULT_PALETTE))); } { - PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_SYSTEM_FIXED_FONT))); } { - PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT))); + PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast(wxSYS_DEFAULT_GUI_FONT))); } { - PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT))); + PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast(wxSYS_ICONTITLE_FONT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR))); + PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast(wxSYS_COLOUR_SCROLLBAR))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND))); + PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast(wxSYS_COLOUR_BACKGROUND))); } { - PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP))); + PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast(wxSYS_COLOUR_DESKTOP))); } { - PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_ACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU))); + PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int(static_cast(wxSYS_COLOUR_MENU))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOWFRAME))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOWTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_CAPTIONTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER))); + PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast(wxSYS_COLOUR_ACTIVEBORDER))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVEBORDER))); } { - PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE))); + PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast(wxSYS_COLOUR_APPWORKSPACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_HIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_HIGHLIGHTTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNFACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE))); + PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast(wxSYS_COLOUR_3DFACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_3DSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_GRAYTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVECAPTIONTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNHIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DHIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_3DDKSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_INFOTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK))); + PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast(wxSYS_COLOUR_INFOBK))); } { - PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX))); + PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast(wxSYS_COLOUR_LISTBOX))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_HOTLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_GRADIENTACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_GRADIENTINACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUBAR))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX))); + PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int(static_cast(wxSYS_COLOUR_MAX))); } { - PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS))); + PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast(wxSYS_MOUSE_BUTTONS))); } { - PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X))); + PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int(static_cast(wxSYS_BORDER_X))); } { - PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y))); + PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int(static_cast(wxSYS_BORDER_Y))); } { - PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X))); + PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int(static_cast(wxSYS_CURSOR_X))); } { - PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y))); + PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int(static_cast(wxSYS_CURSOR_Y))); } { - PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X))); + PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int(static_cast(wxSYS_DCLICK_X))); } { - PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y))); + PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int(static_cast(wxSYS_DCLICK_Y))); } { - PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X))); + PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int(static_cast(wxSYS_DRAG_X))); } { - PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y))); + PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int(static_cast(wxSYS_DRAG_Y))); } { - PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X))); + PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int(static_cast(wxSYS_EDGE_X))); } { - PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y))); + PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int(static_cast(wxSYS_EDGE_Y))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X))); + PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast(wxSYS_HSCROLL_ARROW_X))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y))); + PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast(wxSYS_HSCROLL_ARROW_Y))); } { - PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X))); + PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int(static_cast(wxSYS_HTHUMB_X))); } { - PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X))); + PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int(static_cast(wxSYS_ICON_X))); } { - PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y))); + PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int(static_cast(wxSYS_ICON_Y))); } { - PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X))); + PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int(static_cast(wxSYS_ICONSPACING_X))); } { - PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y))); + PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast(wxSYS_ICONSPACING_Y))); } { - PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X))); + PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast(wxSYS_WINDOWMIN_X))); } { - PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y))); + PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast(wxSYS_WINDOWMIN_Y))); } { - PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X))); + PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int(static_cast(wxSYS_SCREEN_X))); } { - PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y))); + PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int(static_cast(wxSYS_SCREEN_Y))); } { - PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X))); + PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast(wxSYS_FRAMESIZE_X))); } { - PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y))); + PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast(wxSYS_FRAMESIZE_Y))); } { - PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X))); + PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int(static_cast(wxSYS_SMALLICON_X))); } { - PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y))); + PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int(static_cast(wxSYS_SMALLICON_Y))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y))); + PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int(static_cast(wxSYS_HSCROLL_Y))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X))); + PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int(static_cast(wxSYS_VSCROLL_X))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X))); + PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast(wxSYS_VSCROLL_ARROW_X))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y))); + PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast(wxSYS_VSCROLL_ARROW_Y))); } { - PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y))); + PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int(static_cast(wxSYS_VTHUMB_Y))); } { - PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y))); + PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int(static_cast(wxSYS_CAPTION_Y))); } { - PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y))); + PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int(static_cast(wxSYS_MENU_Y))); } { - PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT))); + PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast(wxSYS_NETWORK_PRESENT))); } { - PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT))); + PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast(wxSYS_PENWINDOWS_PRESENT))); } { - PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS))); + PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast(wxSYS_SHOW_SOUNDS))); } { - PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS))); + PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast(wxSYS_SWAP_BUTTONS))); } { - PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS))); + PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast(wxSYS_CAN_DRAW_FRAME_DECORATIONS))); } { - PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME))); + PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast(wxSYS_CAN_ICONIZE_FRAME))); } { - PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE))); + PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int(static_cast(wxSYS_SCREEN_NONE))); } { - PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY))); + PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int(static_cast(wxSYS_SCREEN_TINY))); } { - PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA))); + PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int(static_cast(wxSYS_SCREEN_PDA))); } { - PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL))); + PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast(wxSYS_SCREEN_SMALL))); } { - PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP))); + PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast(wxSYS_SCREEN_DESKTOP))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set); @@ -33981,53 +35525,53 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); { - PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF))); + PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast(wxSHUTDOWN_POWEROFF))); } { - PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT))); + PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast(wxSHUTDOWN_REBOOT))); } { - PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS))); + PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int(static_cast(wxTIMER_CONTINUOUS))); } { - PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT))); + PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int(static_cast(wxTIMER_ONE_SHOT))); } PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER)); wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer"); { - PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError))); + PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int(static_cast(wxLOG_FatalError))); } { - PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error))); + PyDict_SetItemString(d,"LOG_Error", SWIG_From_int(static_cast(wxLOG_Error))); } { - PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning))); + PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int(static_cast(wxLOG_Warning))); } { - PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message))); + PyDict_SetItemString(d,"LOG_Message", SWIG_From_int(static_cast(wxLOG_Message))); } { - PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status))); + PyDict_SetItemString(d,"LOG_Status", SWIG_From_int(static_cast(wxLOG_Status))); } { - PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info))); + PyDict_SetItemString(d,"LOG_Info", SWIG_From_int(static_cast(wxLOG_Info))); } { - PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug))); + PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int(static_cast(wxLOG_Debug))); } { - PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace))); + PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int(static_cast(wxLOG_Trace))); } { - PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress))); + PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int(static_cast(wxLOG_Progress))); } { - PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User))); + PyDict_SetItemString(d,"LOG_User", SWIG_From_int(static_cast(wxLOG_User))); } { - PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max))); + PyDict_SetItemString(d,"LOG_Max", SWIG_From_int(static_cast(wxLOG_Max))); } PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc")); PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages")); @@ -34035,165 +35579,165 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount")); PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole")); { - PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"TraceMessages", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004))); + PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int(static_cast(0x0004))); } { - PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008))); + PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int(static_cast(0x0008))); } { - PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100))); + PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int(static_cast(0x0100))); } { - PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT))); + PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int(static_cast(wxPROCESS_DEFAULT))); } { - PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT))); + PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int(static_cast(wxPROCESS_REDIRECT))); } { - PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK))); + PyDict_SetItemString(d,"KILL_OK", SWIG_From_int(static_cast(wxKILL_OK))); } { - PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL))); + PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast(wxKILL_BAD_SIGNAL))); } { - PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED))); + PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast(wxKILL_ACCESS_DENIED))); } { - PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS))); + PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int(static_cast(wxKILL_NO_PROCESS))); } { - PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR))); + PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int(static_cast(wxKILL_ERROR))); } { - PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN))); + PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int(static_cast(wxKILL_NOCHILDREN))); } { - PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN))); + PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int(static_cast(wxKILL_CHILDREN))); } { - PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE))); + PyDict_SetItemString(d,"SIGNONE", SWIG_From_int(static_cast(wxSIGNONE))); } { - PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP))); + PyDict_SetItemString(d,"SIGHUP", SWIG_From_int(static_cast(wxSIGHUP))); } { - PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT))); + PyDict_SetItemString(d,"SIGINT", SWIG_From_int(static_cast(wxSIGINT))); } { - PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT))); + PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int(static_cast(wxSIGQUIT))); } { - PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL))); + PyDict_SetItemString(d,"SIGILL", SWIG_From_int(static_cast(wxSIGILL))); } { - PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP))); + PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int(static_cast(wxSIGTRAP))); } { - PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT))); + PyDict_SetItemString(d,"SIGABRT", SWIG_From_int(static_cast(wxSIGABRT))); } { - PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT))); + PyDict_SetItemString(d,"SIGIOT", SWIG_From_int(static_cast(wxSIGIOT))); } { - PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT))); + PyDict_SetItemString(d,"SIGEMT", SWIG_From_int(static_cast(wxSIGEMT))); } { - PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE))); + PyDict_SetItemString(d,"SIGFPE", SWIG_From_int(static_cast(wxSIGFPE))); } { - PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL))); + PyDict_SetItemString(d,"SIGKILL", SWIG_From_int(static_cast(wxSIGKILL))); } { - PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS))); + PyDict_SetItemString(d,"SIGBUS", SWIG_From_int(static_cast(wxSIGBUS))); } { - PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV))); + PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int(static_cast(wxSIGSEGV))); } { - PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS))); + PyDict_SetItemString(d,"SIGSYS", SWIG_From_int(static_cast(wxSIGSYS))); } { - PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE))); + PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int(static_cast(wxSIGPIPE))); } { - PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM))); + PyDict_SetItemString(d,"SIGALRM", SWIG_From_int(static_cast(wxSIGALRM))); } { - PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM))); + PyDict_SetItemString(d,"SIGTERM", SWIG_From_int(static_cast(wxSIGTERM))); } PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS)); { - PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC))); + PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int(static_cast(wxEXEC_ASYNC))); } { - PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC))); + PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int(static_cast(wxEXEC_SYNC))); } { - PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE))); + PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int(static_cast(wxEXEC_NOHIDE))); } { - PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER))); + PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast(wxEXEC_MAKE_GROUP_LEADER))); } { - PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE))); + PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int(static_cast(wxEXEC_NODISABLE))); } wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); { - PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1))); + PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int(static_cast(wxJOYSTICK1))); } { - PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2))); + PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int(static_cast(wxJOYSTICK2))); } { - PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY))); + PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int(static_cast(wxJOY_BUTTON_ANY))); } { - PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1))); + PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int(static_cast(wxJOY_BUTTON1))); } { - PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2))); + PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int(static_cast(wxJOY_BUTTON2))); } { - PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3))); + PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int(static_cast(wxJOY_BUTTON3))); } { - PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4))); + PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int(static_cast(wxJOY_BUTTON4))); } PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN)); PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP)); PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE)); PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE)); { - PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC))); + PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int(static_cast(wxSOUND_SYNC))); } { - PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC))); + PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int(static_cast(wxSOUND_ASYNC))); } { - PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP))); + PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int(static_cast(wxSOUND_LOOP))); } { - PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD))); + PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int(static_cast(wxMAILCAP_STANDARD))); } { - PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE))); + PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast(wxMAILCAP_NETSCAPE))); } { - PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE))); + PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int(static_cast(wxMAILCAP_KDE))); } { - PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME))); + PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int(static_cast(wxMAILCAP_GNOME))); } { - PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL))); + PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int(static_cast(wxMAILCAP_ALL))); } SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set); @@ -34256,596 +35800,596 @@ SWIGEXPORT(void) SWIG_init(void) { wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider"); { - PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE))); + PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast(wxCONFIG_USE_LOCAL_FILE))); } { - PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE))); + PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast(wxCONFIG_USE_GLOBAL_FILE))); } { - PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH))); + PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast(wxCONFIG_USE_RELATIVE_PATH))); } { - PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS))); + PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast(wxCONFIG_USE_NO_ESCAPE_CHARACTERS))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown))); + PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast(wxConfigBase::Type_Unknown))); } { - PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String))); + PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int(static_cast(wxConfigBase::Type_String))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean))); + PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast(wxConfigBase::Type_Boolean))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer))); + PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int(static_cast(wxConfigBase::Type_Integer))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float))); + PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int(static_cast(wxConfigBase::Type_Float))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set); { - PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local))); + PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int(static_cast(wxDateTime::Local))); } { - PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12))); + PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int(static_cast(wxDateTime::GMT_12))); } { - PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11))); + PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int(static_cast(wxDateTime::GMT_11))); } { - PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10))); + PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int(static_cast(wxDateTime::GMT_10))); } { - PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9))); + PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int(static_cast(wxDateTime::GMT_9))); } { - PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8))); + PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int(static_cast(wxDateTime::GMT_8))); } { - PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7))); + PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int(static_cast(wxDateTime::GMT_7))); } { - PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6))); + PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int(static_cast(wxDateTime::GMT_6))); } { - PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5))); + PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int(static_cast(wxDateTime::GMT_5))); } { - PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4))); + PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int(static_cast(wxDateTime::GMT_4))); } { - PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3))); + PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int(static_cast(wxDateTime::GMT_3))); } { - PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2))); + PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int(static_cast(wxDateTime::GMT_2))); } { - PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1))); + PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int(static_cast(wxDateTime::GMT_1))); } { - PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0))); + PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int(static_cast(wxDateTime::GMT0))); } { - PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1))); + PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int(static_cast(wxDateTime::GMT1))); } { - PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2))); + PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int(static_cast(wxDateTime::GMT2))); } { - PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3))); + PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int(static_cast(wxDateTime::GMT3))); } { - PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4))); + PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int(static_cast(wxDateTime::GMT4))); } { - PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5))); + PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int(static_cast(wxDateTime::GMT5))); } { - PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6))); + PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int(static_cast(wxDateTime::GMT6))); } { - PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7))); + PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int(static_cast(wxDateTime::GMT7))); } { - PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8))); + PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int(static_cast(wxDateTime::GMT8))); } { - PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9))); + PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int(static_cast(wxDateTime::GMT9))); } { - PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10))); + PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int(static_cast(wxDateTime::GMT10))); } { - PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11))); + PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int(static_cast(wxDateTime::GMT11))); } { - PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12))); + PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int(static_cast(wxDateTime::GMT12))); } { - PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET))); + PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int(static_cast(wxDateTime::WET))); } { - PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST))); + PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int(static_cast(wxDateTime::WEST))); } { - PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET))); + PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int(static_cast(wxDateTime::CET))); } { - PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST))); + PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int(static_cast(wxDateTime::CEST))); } { - PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET))); + PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int(static_cast(wxDateTime::EET))); } { - PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST))); + PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int(static_cast(wxDateTime::EEST))); } { - PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK))); + PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int(static_cast(wxDateTime::MSK))); } { - PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD))); + PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int(static_cast(wxDateTime::MSD))); } { - PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST))); + PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int(static_cast(wxDateTime::AST))); } { - PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT))); + PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int(static_cast(wxDateTime::ADT))); } { - PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST))); + PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int(static_cast(wxDateTime::EST))); } { - PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT))); + PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int(static_cast(wxDateTime::EDT))); } { - PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST))); + PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int(static_cast(wxDateTime::CST))); } { - PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT))); + PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int(static_cast(wxDateTime::CDT))); } { - PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST))); + PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int(static_cast(wxDateTime::MST))); } { - PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT))); + PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int(static_cast(wxDateTime::MDT))); } { - PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST))); + PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int(static_cast(wxDateTime::PST))); } { - PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT))); + PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int(static_cast(wxDateTime::PDT))); } { - PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST))); + PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int(static_cast(wxDateTime::HST))); } { - PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST))); + PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int(static_cast(wxDateTime::AKST))); } { - PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT))); + PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int(static_cast(wxDateTime::AKDT))); } { - PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST))); + PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int(static_cast(wxDateTime::A_WST))); } { - PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST))); + PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int(static_cast(wxDateTime::A_CST))); } { - PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST))); + PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int(static_cast(wxDateTime::A_EST))); } { - PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST))); + PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int(static_cast(wxDateTime::A_ESST))); } { - PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC))); + PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int(static_cast(wxDateTime::UTC))); } { - PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian))); + PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int(static_cast(wxDateTime::Gregorian))); } { - PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian))); + PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int(static_cast(wxDateTime::Julian))); } { - PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown))); + PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int(static_cast(wxDateTime::Gr_Unknown))); } { - PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard))); + PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int(static_cast(wxDateTime::Gr_Standard))); } { - PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska))); + PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int(static_cast(wxDateTime::Gr_Alaska))); } { - PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania))); + PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int(static_cast(wxDateTime::Gr_Albania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria))); + PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int(static_cast(wxDateTime::Gr_Austria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Brixen))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Salzburg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Tyrol))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Carinthia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Styria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium))); + PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int(static_cast(wxDateTime::Gr_Belgium))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_3))); } { - PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada))); + PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int(static_cast(wxDateTime::Gr_Canada))); } { - PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China))); + PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int(static_cast(wxDateTime::Gr_China))); } { - PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1))); + PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int(static_cast(wxDateTime::Gr_China_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2))); + PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int(static_cast(wxDateTime::Gr_China_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia))); + PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast(wxDateTime::Gr_Czechoslovakia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark))); + PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int(static_cast(wxDateTime::Gr_Denmark))); } { - PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt))); + PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int(static_cast(wxDateTime::Gr_Egypt))); } { - PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia))); + PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int(static_cast(wxDateTime::Gr_Estonia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland))); + PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int(static_cast(wxDateTime::Gr_Finland))); } { - PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France))); + PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int(static_cast(wxDateTime::Gr_France))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace))); + PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast(wxDateTime::Gr_France_Alsace))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine))); + PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast(wxDateTime::Gr_France_Lorraine))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg))); + PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast(wxDateTime::Gr_France_Strasbourg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany))); + PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int(static_cast(wxDateTime::Gr_Germany))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Catholic))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Prussia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Protestant))); } { - PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain))); + PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast(wxDateTime::Gr_GreatBritain))); } { - PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece))); + PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int(static_cast(wxDateTime::Gr_Greece))); } { - PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary))); + PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int(static_cast(wxDateTime::Gr_Hungary))); } { - PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland))); + PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int(static_cast(wxDateTime::Gr_Ireland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy))); + PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int(static_cast(wxDateTime::Gr_Italy))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan))); + PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int(static_cast(wxDateTime::Gr_Japan))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_3))); } { - PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia))); + PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int(static_cast(wxDateTime::Gr_Latvia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania))); + PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast(wxDateTime::Gr_Lithuania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg))); + PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast(wxDateTime::Gr_Luxemburg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Groningen))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Gelderland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Utrecht))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Friesland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway))); + PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int(static_cast(wxDateTime::Gr_Norway))); } { - PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland))); + PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int(static_cast(wxDateTime::Gr_Poland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal))); + PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int(static_cast(wxDateTime::Gr_Portugal))); } { - PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania))); + PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int(static_cast(wxDateTime::Gr_Romania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia))); + PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int(static_cast(wxDateTime::Gr_Russia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland))); + PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int(static_cast(wxDateTime::Gr_Scotland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain))); + PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int(static_cast(wxDateTime::Gr_Spain))); } { - PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden))); + PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int(static_cast(wxDateTime::Gr_Sweden))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland_Catholic))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland_Protestant))); } { - PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey))); + PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int(static_cast(wxDateTime::Gr_Turkey))); } { - PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA))); + PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int(static_cast(wxDateTime::Gr_USA))); } { - PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales))); + PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int(static_cast(wxDateTime::Gr_Wales))); } { - PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia))); + PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast(wxDateTime::Gr_Yugoslavia))); } { - PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown))); + PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int(static_cast(wxDateTime::Country_Unknown))); } { - PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default))); + PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int(static_cast(wxDateTime::Country_Default))); } { - PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start))); + PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast(wxDateTime::Country_WesternEurope_Start))); } { - PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC))); + PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int(static_cast(wxDateTime::Country_EEC))); } { - PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France))); + PyDict_SetItemString(d,"DateTime_France", SWIG_From_int(static_cast(wxDateTime::France))); } { - PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany))); + PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int(static_cast(wxDateTime::Germany))); } { - PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK))); + PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int(static_cast(wxDateTime::UK))); } { - PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End))); + PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast(wxDateTime::Country_WesternEurope_End))); } { - PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia))); + PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int(static_cast(wxDateTime::Russia))); } { - PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA))); + PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int(static_cast(wxDateTime::USA))); } { - PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan))); + PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int(static_cast(wxDateTime::Jan))); } { - PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb))); + PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int(static_cast(wxDateTime::Feb))); } { - PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar))); + PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int(static_cast(wxDateTime::Mar))); } { - PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr))); + PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int(static_cast(wxDateTime::Apr))); } { - PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May))); + PyDict_SetItemString(d,"DateTime_May", SWIG_From_int(static_cast(wxDateTime::May))); } { - PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun))); + PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int(static_cast(wxDateTime::Jun))); } { - PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul))); + PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int(static_cast(wxDateTime::Jul))); } { - PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug))); + PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int(static_cast(wxDateTime::Aug))); } { - PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep))); + PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int(static_cast(wxDateTime::Sep))); } { - PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct))); + PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int(static_cast(wxDateTime::Oct))); } { - PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov))); + PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int(static_cast(wxDateTime::Nov))); } { - PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec))); + PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int(static_cast(wxDateTime::Dec))); } { - PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month))); + PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int(static_cast(wxDateTime::Inv_Month))); } { - PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun))); + PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int(static_cast(wxDateTime::Sun))); } { - PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon))); + PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int(static_cast(wxDateTime::Mon))); } { - PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue))); + PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int(static_cast(wxDateTime::Tue))); } { - PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed))); + PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int(static_cast(wxDateTime::Wed))); } { - PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu))); + PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int(static_cast(wxDateTime::Thu))); } { - PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri))); + PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int(static_cast(wxDateTime::Fri))); } { - PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat))); + PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int(static_cast(wxDateTime::Sat))); } { - PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay))); + PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast(wxDateTime::Inv_WeekDay))); } { - PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year))); + PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int(static_cast(wxDateTime::Inv_Year))); } { - PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full))); + PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int(static_cast(wxDateTime::Name_Full))); } { - PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr))); + PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int(static_cast(wxDateTime::Name_Abbr))); } { - PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First))); + PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int(static_cast(wxDateTime::Default_First))); } { - PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First))); + PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int(static_cast(wxDateTime::Monday_First))); } { - PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First))); + PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int(static_cast(wxDateTime::Sunday_First))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set); { - PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID))); + PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int(static_cast(wxDF_INVALID))); } { - PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT))); + PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int(static_cast(wxDF_TEXT))); } { - PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP))); + PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int(static_cast(wxDF_BITMAP))); } { - PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE))); + PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int(static_cast(wxDF_METAFILE))); } { - PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK))); + PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int(static_cast(wxDF_SYLK))); } { - PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF))); + PyDict_SetItemString(d,"DF_DIF", SWIG_From_int(static_cast(wxDF_DIF))); } { - PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF))); + PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int(static_cast(wxDF_TIFF))); } { - PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT))); + PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int(static_cast(wxDF_OEMTEXT))); } { - PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB))); + PyDict_SetItemString(d,"DF_DIB", SWIG_From_int(static_cast(wxDF_DIB))); } { - PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE))); + PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int(static_cast(wxDF_PALETTE))); } { - PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA))); + PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int(static_cast(wxDF_PENDATA))); } { - PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF))); + PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int(static_cast(wxDF_RIFF))); } { - PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE))); + PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int(static_cast(wxDF_WAVE))); } { - PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT))); + PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int(static_cast(wxDF_UNICODETEXT))); } { - PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE))); + PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int(static_cast(wxDF_ENHMETAFILE))); } { - PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME))); + PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int(static_cast(wxDF_FILENAME))); } { - PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE))); + PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int(static_cast(wxDF_LOCALE))); } { - PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE))); + PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int(static_cast(wxDF_PRIVATE))); } { - PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML))); + PyDict_SetItemString(d,"DF_HTML", SWIG_From_int(static_cast(wxDF_HTML))); } { - PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX))); + PyDict_SetItemString(d,"DF_MAX", SWIG_From_int(static_cast(wxDF_MAX))); } SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set); { - PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get))); + PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int(static_cast(wxDataObject::Get))); } { - PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set))); + PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int(static_cast(wxDataObject::Set))); } { - PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both))); + PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int(static_cast(wxDataObject::Both))); } { - PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly))); + PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int(static_cast(wxDrag_CopyOnly))); } { - PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove))); + PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int(static_cast(wxDrag_AllowMove))); } { - PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove))); + PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int(static_cast(wxDrag_DefaultMove))); } { - PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError))); + PyDict_SetItemString(d,"DragError", SWIG_From_int(static_cast(wxDragError))); } { - PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone))); + PyDict_SetItemString(d,"DragNone", SWIG_From_int(static_cast(wxDragNone))); } { - PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy))); + PyDict_SetItemString(d,"DragCopy", SWIG_From_int(static_cast(wxDragCopy))); } { - PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove))); + PyDict_SetItemString(d,"DragMove", SWIG_From_int(static_cast(wxDragMove))); } { - PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink))); + PyDict_SetItemString(d,"DragLink", SWIG_From_int(static_cast(wxDragLink))); } { - PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel))); + PyDict_SetItemString(d,"DragCancel", SWIG_From_int(static_cast(wxDragCancel))); } wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource"); diff --git a/wxPython/src/mac/_windows.py b/wxPython/src/mac/_windows.py index 0b4979cd0b..56bf8701e1 100644 --- a/wxPython/src/mac/_windows.py +++ b/wxPython/src/mac/_windows.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _windows_ @@ -628,6 +628,7 @@ class Dialog(TopLevelWindow): """Proxy of C++ Dialog class""" def __repr__(self): return "<%s.%s; proxy of C++ wxDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + ButtonSizerFlags = _windows_.Dialog_ButtonSizerFlags def __init__(self, *args, **kwargs): """ __init__(self, Window parent, int id=-1, String title=EmptyString, @@ -661,7 +662,7 @@ class Dialog(TopLevelWindow): return _windows_.Dialog_CreateTextSizer(*args, **kwargs) def CreateButtonSizer(*args, **kwargs): - """CreateButtonSizer(self, long flags) -> Sizer""" + """CreateButtonSizer(self, long flags, bool separated=False, int distance=0) -> Sizer""" return _windows_.Dialog_CreateButtonSizer(*args, **kwargs) def CreateStdDialogButtonSizer(*args, **kwargs): @@ -2373,6 +2374,13 @@ class ColourDialogPtr(ColourDialog): self.__class__ = ColourDialog _windows_.ColourDialog_swigregister(ColourDialogPtr) + +def GetColourFromUser(*args, **kwargs): + """ + GetColourFromUser(Window parent=(wxWindow *) NULL, Colour colInit=wxNullColour, + String caption=EmptyString) -> Colour + """ + return _windows_.GetColourFromUser(*args, **kwargs) class DirDialog(Dialog): """ wx.DirDialog allows the user to select a directory by browising the @@ -2976,6 +2984,10 @@ class FontDialogPtr(FontDialog): self.__class__ = FontDialog _windows_.FontDialog_swigregister(FontDialogPtr) + +def GetFontFromUser(*args, **kwargs): + """GetFontFromUser(Window parent=None, Font fontInit=wxNullFont, String caption=EmptyString) -> Font""" + return _windows_.GetFontFromUser(*args, **kwargs) class MessageDialog(Dialog): """ This class provides a simple dialog that shows a single or multi-line @@ -4682,6 +4694,7 @@ class PrintPreview(_core.Object): def __init__(self, *args): """ __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PrintPreview + __init__(self, Printout printout, Printout printoutForPrinting) -> PrintPreview __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PrintPreview """ newobj = _windows_.new_PrintPreview(*args) @@ -4792,6 +4805,7 @@ class PyPrintPreview(PrintPreview): def __init__(self, *args): """ __init__(self, Printout printout, Printout printoutForPrinting, PrintDialogData data=None) -> PyPrintPreview + __init__(self, Printout printout, Printout printoutForPrinting) -> PyPrintPreview __init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview """ newobj = _windows_.new_PyPrintPreview(*args) @@ -4929,3 +4943,4 @@ class PyPreviewControlBarPtr(PyPreviewControlBar): _windows_.PyPreviewControlBar_swigregister(PyPreviewControlBarPtr) + 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"); diff --git a/wxPython/src/mac/calendar.py b/wxPython/src/mac/calendar.py index cebc5cfc2b..b6b4a33193 100644 --- a/wxPython/src/mac/calendar.py +++ b/wxPython/src/mac/calendar.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -591,3 +591,4 @@ def _wxdate2pydate(date): return None + diff --git a/wxPython/src/mac/calendar_wrap.cpp b/wxPython/src/mac/calendar_wrap.cpp index 8d2be85bf3..fb358f4840 100644 --- a/wxPython/src/mac/calendar_wrap.cpp +++ b/wxPython/src/mac/calendar_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,32 +1431,115 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxObject swig_types[0] -#define SWIGTYPE_p_unsigned_char swig_types[1] -#define SWIGTYPE_p_wxColour swig_types[2] -#define SWIGTYPE_p_wxCalendarDateAttr swig_types[3] -#define SWIGTYPE_p_wxCalendarEvent swig_types[4] -#define SWIGTYPE_p_wxVisualAttributes swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_wxCommandEvent swig_types[7] -#define SWIGTYPE_p_unsigned_long swig_types[8] -#define SWIGTYPE_p_unsigned_int swig_types[9] -#define SWIGTYPE_unsigned_int swig_types[10] -#define SWIGTYPE_p_form_ops_t swig_types[11] -#define SWIGTYPE_p_wxDuplexMode swig_types[12] -#define SWIGTYPE_p_wxDateEvent swig_types[13] -#define SWIGTYPE_p_char swig_types[14] -#define SWIGTYPE_p_wxEvtHandler swig_types[15] -#define SWIGTYPE_std__ptrdiff_t swig_types[16] -#define SWIGTYPE_ptrdiff_t swig_types[17] -#define SWIGTYPE_p_wxFont swig_types[18] -#define SWIGTYPE_p_wxDateTime swig_types[19] -#define SWIGTYPE_p_wxControl swig_types[20] -#define SWIGTYPE_p_wxEvent swig_types[21] -#define SWIGTYPE_p_wxPaperSize swig_types[22] -#define SWIGTYPE_p_wxCalendarCtrl swig_types[23] -#define SWIGTYPE_p_int swig_types[24] -static swig_type_info *swig_types[26]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBoxSizer swig_types[10] +#define SWIGTYPE_p_wxBusyInfo swig_types[11] +#define SWIGTYPE_p_wxCURHandler swig_types[12] +#define SWIGTYPE_p_wxCalendarCtrl swig_types[13] +#define SWIGTYPE_p_wxCalendarDateAttr swig_types[14] +#define SWIGTYPE_p_wxCalendarEvent swig_types[15] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[16] +#define SWIGTYPE_p_wxClipboard swig_types[17] +#define SWIGTYPE_p_wxCloseEvent swig_types[18] +#define SWIGTYPE_p_wxColour 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_wxDateEvent swig_types[24] +#define SWIGTYPE_p_wxDateTime swig_types[25] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[27] +#define SWIGTYPE_p_wxDuplexMode swig_types[28] +#define SWIGTYPE_p_wxEraseEvent swig_types[29] +#define SWIGTYPE_p_wxEvent swig_types[30] +#define SWIGTYPE_p_wxEvtHandler swig_types[31] +#define SWIGTYPE_p_wxFSFile swig_types[32] +#define SWIGTYPE_p_wxFileHistory swig_types[33] +#define SWIGTYPE_p_wxFileSystem swig_types[34] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[35] +#define SWIGTYPE_p_wxFocusEvent swig_types[36] +#define SWIGTYPE_p_wxFont swig_types[37] +#define SWIGTYPE_p_wxGBSizerItem swig_types[38] +#define SWIGTYPE_p_wxGIFHandler swig_types[39] +#define SWIGTYPE_p_wxGridBagSizer swig_types[40] +#define SWIGTYPE_p_wxGridSizer swig_types[41] +#define SWIGTYPE_p_wxICOHandler swig_types[42] +#define SWIGTYPE_p_wxIconizeEvent swig_types[43] +#define SWIGTYPE_p_wxIdleEvent swig_types[44] +#define SWIGTYPE_p_wxImage swig_types[45] +#define SWIGTYPE_p_wxImageHandler swig_types[46] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[47] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[48] +#define SWIGTYPE_p_wxJPEGHandler swig_types[49] +#define SWIGTYPE_p_wxJoystickEvent swig_types[50] +#define SWIGTYPE_p_wxKeyEvent swig_types[51] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[52] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[53] +#define SWIGTYPE_p_wxMenu swig_types[54] +#define SWIGTYPE_p_wxMenuBar swig_types[55] +#define SWIGTYPE_p_wxMenuEvent swig_types[56] +#define SWIGTYPE_p_wxMenuItem swig_types[57] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[58] +#define SWIGTYPE_p_wxMouseEvent swig_types[59] +#define SWIGTYPE_p_wxMoveEvent swig_types[60] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[61] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[62] +#define SWIGTYPE_p_wxNotifyEvent swig_types[63] +#define SWIGTYPE_p_wxObject swig_types[64] +#define SWIGTYPE_p_wxPCXHandler swig_types[65] +#define SWIGTYPE_p_wxPNGHandler swig_types[66] +#define SWIGTYPE_p_wxPNMHandler swig_types[67] +#define SWIGTYPE_p_wxPaintEvent swig_types[68] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[69] +#define SWIGTYPE_p_wxPaperSize swig_types[70] +#define SWIGTYPE_p_wxProcessEvent swig_types[71] +#define SWIGTYPE_p_wxPyApp swig_types[72] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[73] +#define SWIGTYPE_p_wxPyEvent swig_types[74] +#define SWIGTYPE_p_wxPyImageHandler swig_types[75] +#define SWIGTYPE_p_wxPyProcess swig_types[76] +#define SWIGTYPE_p_wxPySizer swig_types[77] +#define SWIGTYPE_p_wxPyTimer swig_types[78] +#define SWIGTYPE_p_wxPyValidator swig_types[79] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[80] +#define SWIGTYPE_p_wxScrollEvent swig_types[81] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[82] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[83] +#define SWIGTYPE_p_wxShowEvent swig_types[84] +#define SWIGTYPE_p_wxSizeEvent swig_types[85] +#define SWIGTYPE_p_wxSizer swig_types[86] +#define SWIGTYPE_p_wxSizerItem swig_types[87] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[88] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[89] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[90] +#define SWIGTYPE_p_wxSystemOptions swig_types[91] +#define SWIGTYPE_p_wxTIFFHandler swig_types[92] +#define SWIGTYPE_p_wxTimerEvent swig_types[93] +#define SWIGTYPE_p_wxToolTip swig_types[94] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[95] +#define SWIGTYPE_p_wxValidator swig_types[96] +#define SWIGTYPE_p_wxVisualAttributes swig_types[97] +#define SWIGTYPE_p_wxWindow swig_types[98] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[99] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[100] +#define SWIGTYPE_p_wxXPMHandler swig_types[101] +#define SWIGTYPE_ptrdiff_t swig_types[102] +#define SWIGTYPE_std__ptrdiff_t swig_types[103] +#define SWIGTYPE_unsigned_int swig_types[104] +static swig_type_info *swig_types[106]; +static swig_module_info swig_module = {swig_types, 105, 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) -------- */ @@ -1382,7 +1557,7 @@ static swig_type_info *swig_types[26]; #include - /*@/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 /*@@*/ @@ -1435,7 +1610,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; @@ -1449,7 +1624,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1457,7 +1632,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1471,7 +1646,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1503,7 +1678,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1517,7 +1692,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1525,7 +1700,7 @@ SWIG_Check_bool(PyObject* obj) static const wxString wxPyCalendarNameStr(wxCalendarNameStr); -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1539,7 +1714,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1559,7 +1734,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; @@ -1573,7 +1748,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -1595,7 +1770,7 @@ static PyObject *wxCalendarCtrl_HitTest(wxCalendarCtrl *self,wxPoint const &pos) extern "C" { #endif static PyObject *_wrap_new_CalendarDateAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour const &arg1_defvalue = wxNullColour ; wxColour *arg1 = (wxColour *) &arg1_defvalue ; wxColour const &arg2_defvalue = wxNullColour ; @@ -1649,13 +1824,13 @@ static PyObject *_wrap_new_CalendarDateAttr(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg5 = (wxCalendarDateBorder)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxCalendarDateAttr *)new wxCalendarDateAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxColour const &)*arg3,(wxFont const &)*arg4,(wxCalendarDateBorder )arg5); + result = (wxCalendarDateAttr *)new wxCalendarDateAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxColour const &)*arg3,(wxFont const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -1668,7 +1843,7 @@ static PyObject *_wrap_new_CalendarDateAttr(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarDateAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -1700,7 +1875,7 @@ static PyObject *_wrap_CalendarDateAttr_SetTextColour(PyObject *, PyObject *args static PyObject *_wrap_CalendarDateAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -1732,7 +1907,7 @@ static PyObject *_wrap_CalendarDateAttr_SetBackgroundColour(PyObject *, PyObject static PyObject *_wrap_CalendarDateAttr_SetBorderColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -1764,7 +1939,7 @@ static PyObject *_wrap_CalendarDateAttr_SetBorderColour(PyObject *, PyObject *ar static PyObject *_wrap_CalendarDateAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -1799,7 +1974,7 @@ static PyObject *_wrap_CalendarDateAttr_SetFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalendarDateAttr_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxCalendarDateBorder arg2 ; PyObject * obj0 = 0 ; @@ -1812,12 +1987,12 @@ static PyObject *_wrap_CalendarDateAttr_SetBorder(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxCalendarDateBorder)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetBorder((wxCalendarDateBorder )arg2); + (arg1)->SetBorder(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -1830,7 +2005,7 @@ static PyObject *_wrap_CalendarDateAttr_SetBorder(PyObject *, PyObject *args, Py static PyObject *_wrap_CalendarDateAttr_SetHoliday(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -1843,7 +2018,7 @@ static PyObject *_wrap_CalendarDateAttr_SetHoliday(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarDateAttr, 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; } { @@ -1861,7 +2036,7 @@ static PyObject *_wrap_CalendarDateAttr_SetHoliday(PyObject *, PyObject *args, P static PyObject *_wrap_CalendarDateAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1889,7 +2064,7 @@ static PyObject *_wrap_CalendarDateAttr_HasTextColour(PyObject *, PyObject *args static PyObject *_wrap_CalendarDateAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1917,7 +2092,7 @@ static PyObject *_wrap_CalendarDateAttr_HasBackgroundColour(PyObject *, PyObject static PyObject *_wrap_CalendarDateAttr_HasBorderColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1945,7 +2120,7 @@ static PyObject *_wrap_CalendarDateAttr_HasBorderColour(PyObject *, PyObject *ar static PyObject *_wrap_CalendarDateAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1973,7 +2148,7 @@ static PyObject *_wrap_CalendarDateAttr_HasFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalendarDateAttr_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2001,7 +2176,7 @@ static PyObject *_wrap_CalendarDateAttr_HasBorder(PyObject *, PyObject *args, Py static PyObject *_wrap_CalendarDateAttr_IsHoliday(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2029,7 +2204,7 @@ static PyObject *_wrap_CalendarDateAttr_IsHoliday(PyObject *, PyObject *args, Py static PyObject *_wrap_CalendarDateAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2049,7 +2224,7 @@ static PyObject *_wrap_CalendarDateAttr_GetTextColour(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2059,7 +2234,7 @@ static PyObject *_wrap_CalendarDateAttr_GetTextColour(PyObject *, PyObject *args static PyObject *_wrap_CalendarDateAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2079,7 +2254,7 @@ static PyObject *_wrap_CalendarDateAttr_GetBackgroundColour(PyObject *, 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; @@ -2089,7 +2264,7 @@ static PyObject *_wrap_CalendarDateAttr_GetBackgroundColour(PyObject *, PyObject static PyObject *_wrap_CalendarDateAttr_GetBorderColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2109,7 +2284,7 @@ static PyObject *_wrap_CalendarDateAttr_GetBorderColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2119,7 +2294,7 @@ static PyObject *_wrap_CalendarDateAttr_GetBorderColour(PyObject *, PyObject *ar static PyObject *_wrap_CalendarDateAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -2139,7 +2314,7 @@ static PyObject *_wrap_CalendarDateAttr_GetFont(PyObject *, PyObject *args, PyOb } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -2149,7 +2324,7 @@ static PyObject *_wrap_CalendarDateAttr_GetFont(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalendarDateAttr_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarDateAttr *arg1 = (wxCalendarDateAttr *) 0 ; wxCalendarDateBorder result; PyObject * obj0 = 0 ; @@ -2182,7 +2357,7 @@ static PyObject * CalendarDateAttr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CalendarEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxEventType arg2 ; wxCalendarEvent *result; @@ -2196,7 +2371,7 @@ static PyObject *_wrap_new_CalendarEvent(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2214,7 +2389,7 @@ static PyObject *_wrap_new_CalendarEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_CalendarEvent_SetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ; wxDateTime::WeekDay arg2 ; PyObject * obj0 = 0 ; @@ -2227,12 +2402,12 @@ static PyObject *_wrap_CalendarEvent_SetWeekDay(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetWeekDay((wxDateTime::WeekDay )arg2); + (arg1)->SetWeekDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2245,7 +2420,7 @@ static PyObject *_wrap_CalendarEvent_SetWeekDay(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalendarEvent_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarEvent *arg1 = (wxCalendarEvent *) 0 ; wxDateTime::WeekDay result; PyObject * obj0 = 0 ; @@ -2284,7 +2459,7 @@ static int _wrap_CalendarNameStr_set(PyObject *) { static PyObject *_wrap_CalendarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2298,7 +2473,7 @@ static PyObject *_wrap_CalendarNameStr_get(void) { static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxDateTime const &arg3_defvalue = wxDefaultDateTime ; @@ -2330,7 +2505,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2358,7 +2533,7 @@ static PyObject *_wrap_new_CalendarCtrl(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; } } @@ -2393,7 +2568,7 @@ static PyObject *_wrap_new_CalendarCtrl(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PreCalendarCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *result; char *kwnames[] = { NULL @@ -2416,7 +2591,7 @@ static PyObject *_wrap_new_PreCalendarCtrl(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -2451,7 +2626,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject 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) { @@ -2478,7 +2653,7 @@ static PyObject *_wrap_CalendarCtrl_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; } } @@ -2514,7 +2689,7 @@ static PyObject *_wrap_CalendarCtrl_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_SetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -2549,7 +2724,7 @@ static PyObject *_wrap_CalendarCtrl_SetDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_GetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -2578,7 +2753,7 @@ static PyObject *_wrap_CalendarCtrl_GetDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_SetLowerDateLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime const &arg2_defvalue = wxDefaultDateTime ; wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ; @@ -2619,7 +2794,7 @@ static PyObject *_wrap_CalendarCtrl_SetLowerDateLimit(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_SetUpperDateLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime const &arg2_defvalue = wxDefaultDateTime ; wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ; @@ -2660,7 +2835,7 @@ static PyObject *_wrap_CalendarCtrl_SetUpperDateLimit(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_GetLowerDateLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -2689,7 +2864,7 @@ static PyObject *_wrap_CalendarCtrl_GetLowerDateLimit(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_GetUpperDateLimit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -2718,7 +2893,7 @@ static PyObject *_wrap_CalendarCtrl_GetUpperDateLimit(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxDateTime const &arg2_defvalue = wxDefaultDateTime ; wxDateTime *arg2 = (wxDateTime *) &arg2_defvalue ; @@ -2772,7 +2947,7 @@ static PyObject *_wrap_CalendarCtrl_SetDateRange(PyObject *, PyObject *args, PyO static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -2786,7 +2961,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2805,7 +2980,7 @@ static PyObject *_wrap_CalendarCtrl_EnableYearChange(PyObject *, PyObject *args, static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -2819,7 +2994,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2838,7 +3013,7 @@ static PyObject *_wrap_CalendarCtrl_EnableMonthChange(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -2852,7 +3027,7 @@ static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *a 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; } } @@ -2871,7 +3046,7 @@ static PyObject *_wrap_CalendarCtrl_EnableHolidayDisplay(PyObject *, PyObject *a static PyObject *_wrap_CalendarCtrl_SetHeaderColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -2910,7 +3085,7 @@ static PyObject *_wrap_CalendarCtrl_SetHeaderColours(PyObject *, PyObject *args, static PyObject *_wrap_CalendarCtrl_GetHeaderColourFg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2930,7 +3105,7 @@ static PyObject *_wrap_CalendarCtrl_GetHeaderColourFg(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2940,7 +3115,7 @@ static PyObject *_wrap_CalendarCtrl_GetHeaderColourFg(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_GetHeaderColourBg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -2960,7 +3135,7 @@ static PyObject *_wrap_CalendarCtrl_GetHeaderColourBg(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2970,7 +3145,7 @@ static PyObject *_wrap_CalendarCtrl_GetHeaderColourBg(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_SetHighlightColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -3009,7 +3184,7 @@ static PyObject *_wrap_CalendarCtrl_SetHighlightColours(PyObject *, PyObject *ar static PyObject *_wrap_CalendarCtrl_GetHighlightColourFg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3029,7 +3204,7 @@ static PyObject *_wrap_CalendarCtrl_GetHighlightColourFg(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3039,7 +3214,7 @@ static PyObject *_wrap_CalendarCtrl_GetHighlightColourFg(PyObject *, PyObject *a static PyObject *_wrap_CalendarCtrl_GetHighlightColourBg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3059,7 +3234,7 @@ static PyObject *_wrap_CalendarCtrl_GetHighlightColourBg(PyObject *, PyObject *a } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3069,7 +3244,7 @@ static PyObject *_wrap_CalendarCtrl_GetHighlightColourBg(PyObject *, PyObject *a static PyObject *_wrap_CalendarCtrl_SetHolidayColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -3108,7 +3283,7 @@ static PyObject *_wrap_CalendarCtrl_SetHolidayColours(PyObject *, PyObject *args static PyObject *_wrap_CalendarCtrl_GetHolidayColourFg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3128,7 +3303,7 @@ static PyObject *_wrap_CalendarCtrl_GetHolidayColourFg(PyObject *, PyObject *arg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3138,7 +3313,7 @@ static PyObject *_wrap_CalendarCtrl_GetHolidayColourFg(PyObject *, PyObject *arg static PyObject *_wrap_CalendarCtrl_GetHolidayColourBg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3158,7 +3333,7 @@ static PyObject *_wrap_CalendarCtrl_GetHolidayColourBg(PyObject *, PyObject *arg } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3168,7 +3343,7 @@ static PyObject *_wrap_CalendarCtrl_GetHolidayColourBg(PyObject *, PyObject *arg static PyObject *_wrap_CalendarCtrl_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; size_t arg2 ; wxCalendarDateAttr *result; @@ -3182,7 +3357,7 @@ static PyObject *_wrap_CalendarCtrl_GetAttr(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, 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; } { @@ -3200,7 +3375,7 @@ static PyObject *_wrap_CalendarCtrl_GetAttr(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; size_t arg2 ; wxCalendarDateAttr *arg3 = (wxCalendarDateAttr *) 0 ; @@ -3215,7 +3390,7 @@ static PyObject *_wrap_CalendarCtrl_SetAttr(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCalendarDateAttr, SWIG_POINTER_EXCEPTION | 0); @@ -3235,7 +3410,7 @@ static PyObject *_wrap_CalendarCtrl_SetAttr(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_SetHoliday(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -3248,7 +3423,7 @@ static PyObject *_wrap_CalendarCtrl_SetHoliday(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, 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; } { @@ -3266,7 +3441,7 @@ static PyObject *_wrap_CalendarCtrl_SetHoliday(PyObject *, PyObject *args, PyObj static PyObject *_wrap_CalendarCtrl_ResetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -3279,7 +3454,7 @@ static PyObject *_wrap_CalendarCtrl_ResetAttr(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalendarCtrl, 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; } { @@ -3297,7 +3472,7 @@ static PyObject *_wrap_CalendarCtrl_ResetAttr(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxPoint *arg2 = 0 ; PyObject *result; @@ -3330,7 +3505,7 @@ static PyObject *_wrap_CalendarCtrl_HitTest(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CalendarCtrl_GetMonthControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -3358,7 +3533,7 @@ static PyObject *_wrap_CalendarCtrl_GetMonthControl(PyObject *, PyObject *args, static PyObject *_wrap_CalendarCtrl_GetYearControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalendarCtrl *arg1 = (wxCalendarCtrl *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -3386,7 +3561,7 @@ static PyObject *_wrap_CalendarCtrl_GetYearControl(PyObject *, PyObject *args, P static PyObject *_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -3397,21 +3572,21 @@ static PyObject *_wrap_CalendarCtrl_GetClassDefaultAttributes(PyObject *, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CalendarCtrl_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 = wxCalendarCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxCalendarCtrl::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; @@ -3956,59 +4131,432 @@ static void *_p_wxKeyEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_wxCalendarDateAttr[] = {{"_p_wxCalendarDateAttr", 0, "wxCalendarDateAttr *", 0, 0, 0, 0},{"_p_wxCalendarDateAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCalendarEvent[] = {{"_p_wxCalendarEvent", 0, "wxCalendarEvent *", 0, 0, 0, 0},{"_p_wxCalendarEvent", 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_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxWindow, 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_wxCalendarEvent", _p_wxCalendarEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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__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_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_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_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxDateEvent, 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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__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_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCalendarCtrl", _p_wxCalendarCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalendarEvent", _p_wxCalendarEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxCalendarCtrl[] = {{"_p_wxCalendarCtrl", 0, "wxCalendarCtrl *", 0, 0, 0, 0},{"_p_wxCalendarCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxColour, -_swigt__p_wxCalendarDateAttr, -_swigt__p_wxCalendarEvent, -_swigt__p_wxVisualAttributes, -_swigt__p_wxWindow, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxDateEvent, -_swigt__p_char, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxFont, -_swigt__p_wxDateTime, -_swigt__p_wxControl, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_wxCalendarCtrl, -_swigt__p_int, -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 *|wxEventType *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCalendarCtrl = {"_p_wxCalendarCtrl", "wxCalendarCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCalendarDateAttr = {"_p_wxCalendarDateAttr", "wxCalendarDateAttr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCalendarEvent = {"_p_wxCalendarEvent", "wxCalendarEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_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_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_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", "wxDateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_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_wxTimerEvent = {"_p_wxTimerEvent", 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_wxJoystickEvent = {"_p_wxJoystickEvent", 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_wxProcessEvent = {"_p_wxProcessEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 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_wxFileHistory = {"_p_wxFileHistory", 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_wxClipboard = {"_p_wxClipboard", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_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_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 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_wxBMPHandler, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBusyInfo, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCalendarCtrl, + &_swigt__p_wxCalendarDateAttr, + &_swigt__p_wxCalendarEvent, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClipboard, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDateTime, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileHistory, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxJoystickEvent, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxProcessEvent, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyProcess, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTimer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxSystemOptions, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTimerEvent, + &_swigt__p_wxToolTip, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVisualAttributes, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxXPMHandler, + &_swigt__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_wxCalendarCtrl[] = { {&_swigt__p_wxCalendarCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCalendarDateAttr[] = { {&_swigt__p_wxCalendarDateAttr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCalendarEvent[] = { {&_swigt__p_wxCalendarEvent, 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_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_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_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 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_wxCalendarEvent, _p_wxCalendarEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxCalendarCtrl, _p_wxCalendarCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateEvent[] = { {&_swigt__p_wxDateEvent, 0, 0, 0}, {&_swigt__p_wxCalendarEvent, _p_wxCalendarEventTo_p_wxDateEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxTimerEvent[] = {{&_swigt__p_wxTimerEvent, 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_wxJoystickEvent[] = {{&_swigt__p_wxJoystickEvent, 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_wxProcessEvent[] = {{&_swigt__p_wxProcessEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalendarEvent, _p_wxCalendarEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTimer[] = {{&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyProcess[] = {{&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCalendarCtrl, _p_wxCalendarCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 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_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_wxFileHistory[] = {{&_swigt__p_wxFileHistory, 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_wxClipboard[] = {{&_swigt__p_wxClipboard, 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_wxToolTip[] = {{&_swigt__p_wxToolTip, 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_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemOptions[] = {{&_swigt__p_wxSystemOptions, 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_wxBusyInfo[] = {{&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalendarCtrl, _p_wxCalendarCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalendarEvent, _p_wxCalendarEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCalendarCtrl, _p_wxCalendarCtrlTo_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_wxBMPHandler, + _swigc__p_wxBoxSizer, + _swigc__p_wxBusyInfo, + _swigc__p_wxCURHandler, + _swigc__p_wxCalendarCtrl, + _swigc__p_wxCalendarDateAttr, + _swigc__p_wxCalendarEvent, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClipboard, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDateTime, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileHistory, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxJoystickEvent, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxProcessEvent, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyProcess, + _swigc__p_wxPySizer, + _swigc__p_wxPyTimer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxSystemOptions, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTimerEvent, + _swigc__p_wxToolTip, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVisualAttributes, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -4020,6 +4568,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 @@ -4037,7 +4796,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; @@ -4047,13 +4806,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; @@ -4066,7 +4825,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -4079,7 +4838,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) { @@ -4092,72 +4851,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; } @@ -4166,11 +4942,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); @@ -4207,7 +4983,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, @@ -4219,7 +4995,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]); @@ -4232,14 +5008,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; + } + } } } } @@ -4249,69 +5029,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 @@ -4320,91 +5037,70 @@ 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,"CAL_SUNDAY_FIRST", SWIG_From_int((int)(wxCAL_SUNDAY_FIRST))); + PyDict_SetItemString(d,"CAL_SUNDAY_FIRST", SWIG_From_int(static_cast(wxCAL_SUNDAY_FIRST))); } { - PyDict_SetItemString(d,"CAL_MONDAY_FIRST", SWIG_From_int((int)(wxCAL_MONDAY_FIRST))); + PyDict_SetItemString(d,"CAL_MONDAY_FIRST", SWIG_From_int(static_cast(wxCAL_MONDAY_FIRST))); } { - PyDict_SetItemString(d,"CAL_SHOW_HOLIDAYS", SWIG_From_int((int)(wxCAL_SHOW_HOLIDAYS))); + PyDict_SetItemString(d,"CAL_SHOW_HOLIDAYS", SWIG_From_int(static_cast(wxCAL_SHOW_HOLIDAYS))); } { - PyDict_SetItemString(d,"CAL_NO_YEAR_CHANGE", SWIG_From_int((int)(wxCAL_NO_YEAR_CHANGE))); + PyDict_SetItemString(d,"CAL_NO_YEAR_CHANGE", SWIG_From_int(static_cast(wxCAL_NO_YEAR_CHANGE))); } { - PyDict_SetItemString(d,"CAL_NO_MONTH_CHANGE", SWIG_From_int((int)(wxCAL_NO_MONTH_CHANGE))); + PyDict_SetItemString(d,"CAL_NO_MONTH_CHANGE", SWIG_From_int(static_cast(wxCAL_NO_MONTH_CHANGE))); } { - PyDict_SetItemString(d,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_From_int((int)(wxCAL_SEQUENTIAL_MONTH_SELECTION))); + PyDict_SetItemString(d,"CAL_SEQUENTIAL_MONTH_SELECTION", SWIG_From_int(static_cast(wxCAL_SEQUENTIAL_MONTH_SELECTION))); } { - PyDict_SetItemString(d,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_From_int((int)(wxCAL_SHOW_SURROUNDING_WEEKS))); + PyDict_SetItemString(d,"CAL_SHOW_SURROUNDING_WEEKS", SWIG_From_int(static_cast(wxCAL_SHOW_SURROUNDING_WEEKS))); } { - PyDict_SetItemString(d,"CAL_HITTEST_NOWHERE", SWIG_From_int((int)(wxCAL_HITTEST_NOWHERE))); + PyDict_SetItemString(d,"CAL_HITTEST_NOWHERE", SWIG_From_int(static_cast(wxCAL_HITTEST_NOWHERE))); } { - PyDict_SetItemString(d,"CAL_HITTEST_HEADER", SWIG_From_int((int)(wxCAL_HITTEST_HEADER))); + PyDict_SetItemString(d,"CAL_HITTEST_HEADER", SWIG_From_int(static_cast(wxCAL_HITTEST_HEADER))); } { - PyDict_SetItemString(d,"CAL_HITTEST_DAY", SWIG_From_int((int)(wxCAL_HITTEST_DAY))); + PyDict_SetItemString(d,"CAL_HITTEST_DAY", SWIG_From_int(static_cast(wxCAL_HITTEST_DAY))); } { - PyDict_SetItemString(d,"CAL_HITTEST_INCMONTH", SWIG_From_int((int)(wxCAL_HITTEST_INCMONTH))); + PyDict_SetItemString(d,"CAL_HITTEST_INCMONTH", SWIG_From_int(static_cast(wxCAL_HITTEST_INCMONTH))); } { - PyDict_SetItemString(d,"CAL_HITTEST_DECMONTH", SWIG_From_int((int)(wxCAL_HITTEST_DECMONTH))); + PyDict_SetItemString(d,"CAL_HITTEST_DECMONTH", SWIG_From_int(static_cast(wxCAL_HITTEST_DECMONTH))); } { - PyDict_SetItemString(d,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_From_int((int)(wxCAL_HITTEST_SURROUNDING_WEEK))); + PyDict_SetItemString(d,"CAL_HITTEST_SURROUNDING_WEEK", SWIG_From_int(static_cast(wxCAL_HITTEST_SURROUNDING_WEEK))); } { - PyDict_SetItemString(d,"CAL_BORDER_NONE", SWIG_From_int((int)(wxCAL_BORDER_NONE))); + PyDict_SetItemString(d,"CAL_BORDER_NONE", SWIG_From_int(static_cast(wxCAL_BORDER_NONE))); } { - PyDict_SetItemString(d,"CAL_BORDER_SQUARE", SWIG_From_int((int)(wxCAL_BORDER_SQUARE))); + PyDict_SetItemString(d,"CAL_BORDER_SQUARE", SWIG_From_int(static_cast(wxCAL_BORDER_SQUARE))); } { - PyDict_SetItemString(d,"CAL_BORDER_ROUND", SWIG_From_int((int)(wxCAL_BORDER_ROUND))); + PyDict_SetItemString(d,"CAL_BORDER_ROUND", SWIG_From_int(static_cast(wxCAL_BORDER_ROUND))); } PyDict_SetItemString(d, "wxEVT_CALENDAR_DOUBLECLICKED", PyInt_FromLong(wxEVT_CALENDAR_DOUBLECLICKED)); PyDict_SetItemString(d, "wxEVT_CALENDAR_SEL_CHANGED", PyInt_FromLong(wxEVT_CALENDAR_SEL_CHANGED)); diff --git a/wxPython/src/mac/grid.py b/wxPython/src/mac/grid.py index d4f9670e86..c64631e582 100644 --- a/wxPython/src/mac/grid.py +++ b/wxPython/src/mac/grid.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -2436,3 +2436,4 @@ EVT_GRID_CMD_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG, + diff --git a/wxPython/src/mac/grid_wrap.cpp b/wxPython/src/mac/grid_wrap.cpp index 0f3667541c..0bd40f5336 100644 --- a/wxPython/src/mac/grid_wrap.cpp +++ b/wxPython/src/mac/grid_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,69 +1431,199 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[0] -#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[1] -#define SWIGTYPE_p_wxGridCellRenderer swig_types[2] -#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[3] -#define SWIGTYPE_p_wxGridCellAttr swig_types[4] -#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[5] -#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[6] -#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[7] -#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[8] -#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[9] -#define SWIGTYPE_p_wxColour swig_types[10] -#define SWIGTYPE_p_wxDC swig_types[11] -#define SWIGTYPE_p_form_ops_t swig_types[12] -#define SWIGTYPE_p_wxDuplexMode swig_types[13] -#define SWIGTYPE_p_wxGridTableMessage swig_types[14] -#define SWIGTYPE_p_wxGrid swig_types[15] -#define SWIGTYPE_p_wxVisualAttributes swig_types[16] -#define SWIGTYPE_p_char swig_types[17] -#define SWIGTYPE_p_wxPanel swig_types[18] -#define SWIGTYPE_p_wxNotifyEvent swig_types[19] -#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[20] -#define SWIGTYPE_p_wxSize swig_types[21] -#define SWIGTYPE_p_wxGridCellCoords swig_types[22] -#define SWIGTYPE_p_wxScrolledWindow swig_types[23] -#define SWIGTYPE_p_wxWindow swig_types[24] -#define SWIGTYPE_p_wxFont swig_types[25] -#define SWIGTYPE_p_wxControl swig_types[26] -#define SWIGTYPE_p_wxEvent swig_types[27] -#define SWIGTYPE_p_wxObject swig_types[28] -#define SWIGTYPE_p_wxGridSizeEvent swig_types[29] -#define SWIGTYPE_p_wxRect swig_types[30] -#define SWIGTYPE_p_long swig_types[31] -#define SWIGTYPE_p_wxPaperSize swig_types[32] -#define SWIGTYPE_p_unsigned_int swig_types[33] -#define SWIGTYPE_unsigned_int swig_types[34] -#define SWIGTYPE_p_wxString swig_types[35] -#define SWIGTYPE_p_wxEvtHandler swig_types[36] -#define SWIGTYPE_p_wxPoint swig_types[37] -#define SWIGTYPE_p_wxGridEvent swig_types[38] -#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[39] -#define SWIGTYPE_p_wxGridTableBase swig_types[40] -#define SWIGTYPE_p_wxGridCellEditor swig_types[41] -#define SWIGTYPE_p_wxGridCellTextEditor swig_types[42] -#define SWIGTYPE_p_wxPyGridCellEditor swig_types[43] -#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[44] -#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[45] -#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[46] -#define SWIGTYPE_p_wxPyGridTableBase swig_types[47] -#define SWIGTYPE_p_wxGridStringTable swig_types[48] -#define SWIGTYPE_p_unsigned_char swig_types[49] -#define SWIGTYPE_std__ptrdiff_t swig_types[50] -#define SWIGTYPE_ptrdiff_t swig_types[51] -#define SWIGTYPE_p_wxArrayString swig_types[52] -#define SWIGTYPE_p_wxCommandEvent swig_types[53] -#define SWIGTYPE_p_int swig_types[54] -#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[55] -#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56] -#define SWIGTYPE_p_wxKeyEvent swig_types[57] -#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[58] -#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[59] -#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[60] -#define SWIGTYPE_p_unsigned_long swig_types[61] -static swig_type_info *swig_types[63]; +#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_long swig_types[3] +#define SWIGTYPE_p_unsigned_char swig_types[4] +#define SWIGTYPE_p_unsigned_int swig_types[5] +#define SWIGTYPE_p_unsigned_long swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxArrayString swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_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_wxGrid swig_types[48] +#define SWIGTYPE_p_wxGridBagSizer swig_types[49] +#define SWIGTYPE_p_wxGridCellAttr swig_types[50] +#define SWIGTYPE_p_wxGridCellAttrProvider swig_types[51] +#define SWIGTYPE_p_wxGridCellAutoWrapStringEditor swig_types[52] +#define SWIGTYPE_p_wxGridCellAutoWrapStringRenderer swig_types[53] +#define SWIGTYPE_p_wxGridCellBoolEditor swig_types[54] +#define SWIGTYPE_p_wxGridCellBoolRenderer swig_types[55] +#define SWIGTYPE_p_wxGridCellChoiceEditor swig_types[56] +#define SWIGTYPE_p_wxGridCellCoords swig_types[57] +#define SWIGTYPE_p_wxGridCellDateTimeRenderer swig_types[58] +#define SWIGTYPE_p_wxGridCellEditor swig_types[59] +#define SWIGTYPE_p_wxGridCellEnumEditor swig_types[60] +#define SWIGTYPE_p_wxGridCellEnumRenderer swig_types[61] +#define SWIGTYPE_p_wxGridCellFloatEditor swig_types[62] +#define SWIGTYPE_p_wxGridCellFloatRenderer swig_types[63] +#define SWIGTYPE_p_wxGridCellNumberEditor swig_types[64] +#define SWIGTYPE_p_wxGridCellNumberRenderer swig_types[65] +#define SWIGTYPE_p_wxGridCellRenderer swig_types[66] +#define SWIGTYPE_p_wxGridCellStringRenderer swig_types[67] +#define SWIGTYPE_p_wxGridCellTextEditor swig_types[68] +#define SWIGTYPE_p_wxGridEditorCreatedEvent swig_types[69] +#define SWIGTYPE_p_wxGridEvent swig_types[70] +#define SWIGTYPE_p_wxGridRangeSelectEvent swig_types[71] +#define SWIGTYPE_p_wxGridSizeEvent swig_types[72] +#define SWIGTYPE_p_wxGridSizer swig_types[73] +#define SWIGTYPE_p_wxGridStringTable swig_types[74] +#define SWIGTYPE_p_wxGridTableBase swig_types[75] +#define SWIGTYPE_p_wxGridTableMessage swig_types[76] +#define SWIGTYPE_p_wxICOHandler swig_types[77] +#define SWIGTYPE_p_wxIconizeEvent swig_types[78] +#define SWIGTYPE_p_wxIdleEvent swig_types[79] +#define SWIGTYPE_p_wxImage swig_types[80] +#define SWIGTYPE_p_wxImageHandler swig_types[81] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[83] +#define SWIGTYPE_p_wxJPEGHandler swig_types[84] +#define SWIGTYPE_p_wxKeyEvent swig_types[85] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[86] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[87] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[88] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[89] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[90] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[91] +#define SWIGTYPE_p_wxMenu swig_types[92] +#define SWIGTYPE_p_wxMenuBar swig_types[93] +#define SWIGTYPE_p_wxMenuEvent swig_types[94] +#define SWIGTYPE_p_wxMenuItem swig_types[95] +#define SWIGTYPE_p_wxMessageDialog swig_types[96] +#define SWIGTYPE_p_wxMiniFrame swig_types[97] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98] +#define SWIGTYPE_p_wxMouseEvent swig_types[99] +#define SWIGTYPE_p_wxMoveEvent swig_types[100] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[101] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[103] +#define SWIGTYPE_p_wxNotifyEvent swig_types[104] +#define SWIGTYPE_p_wxObject swig_types[105] +#define SWIGTYPE_p_wxPCXHandler swig_types[106] +#define SWIGTYPE_p_wxPNGHandler swig_types[107] +#define SWIGTYPE_p_wxPNMHandler swig_types[108] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[109] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[110] +#define SWIGTYPE_p_wxPaintEvent swig_types[111] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112] +#define SWIGTYPE_p_wxPanel swig_types[113] +#define SWIGTYPE_p_wxPaperSize swig_types[114] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[115] +#define SWIGTYPE_p_wxPoint swig_types[116] +#define SWIGTYPE_p_wxPopupWindow swig_types[117] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[118] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[119] +#define SWIGTYPE_p_wxPreviewFrame swig_types[120] +#define SWIGTYPE_p_wxPrintData swig_types[121] +#define SWIGTYPE_p_wxPrintDialog swig_types[122] +#define SWIGTYPE_p_wxPrintDialogData swig_types[123] +#define SWIGTYPE_p_wxPrintPreview swig_types[124] +#define SWIGTYPE_p_wxPrinter swig_types[125] +#define SWIGTYPE_p_wxProgressDialog swig_types[126] +#define SWIGTYPE_p_wxPyApp swig_types[127] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[128] +#define SWIGTYPE_p_wxPyEvent swig_types[129] +#define SWIGTYPE_p_wxPyGridCellAttrProvider swig_types[130] +#define SWIGTYPE_p_wxPyGridCellEditor swig_types[131] +#define SWIGTYPE_p_wxPyGridCellRenderer swig_types[132] +#define SWIGTYPE_p_wxPyGridTableBase swig_types[133] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[134] +#define SWIGTYPE_p_wxPyImageHandler swig_types[135] +#define SWIGTYPE_p_wxPyPanel swig_types[136] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[137] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[138] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[139] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[140] +#define SWIGTYPE_p_wxPyPrintout swig_types[141] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[142] +#define SWIGTYPE_p_wxPySizer swig_types[143] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[144] +#define SWIGTYPE_p_wxPyVListBox swig_types[145] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[146] +#define SWIGTYPE_p_wxPyValidator swig_types[147] +#define SWIGTYPE_p_wxPyWindow swig_types[148] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[149] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[150] +#define SWIGTYPE_p_wxRect swig_types[151] +#define SWIGTYPE_p_wxSashEvent swig_types[152] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[153] +#define SWIGTYPE_p_wxSashWindow swig_types[154] +#define SWIGTYPE_p_wxScrollEvent swig_types[155] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[156] +#define SWIGTYPE_p_wxScrolledWindow swig_types[157] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[158] +#define SWIGTYPE_p_wxShowEvent swig_types[159] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[160] +#define SWIGTYPE_p_wxSize swig_types[161] +#define SWIGTYPE_p_wxSizeEvent swig_types[162] +#define SWIGTYPE_p_wxSizer swig_types[163] +#define SWIGTYPE_p_wxSizerItem swig_types[164] +#define SWIGTYPE_p_wxSplashScreen swig_types[165] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[166] +#define SWIGTYPE_p_wxSplitterEvent swig_types[167] +#define SWIGTYPE_p_wxSplitterWindow swig_types[168] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[169] +#define SWIGTYPE_p_wxStatusBar swig_types[170] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[171] +#define SWIGTYPE_p_wxString swig_types[172] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[173] +#define SWIGTYPE_p_wxTIFFHandler swig_types[174] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[175] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[176] +#define SWIGTYPE_p_wxTipWindow swig_types[177] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[178] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[179] +#define SWIGTYPE_p_wxValidator swig_types[180] +#define SWIGTYPE_p_wxVisualAttributes swig_types[181] +#define SWIGTYPE_p_wxWindow swig_types[182] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[183] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[184] +#define SWIGTYPE_p_wxXPMHandler swig_types[185] +#define SWIGTYPE_ptrdiff_t swig_types[186] +#define SWIGTYPE_std__ptrdiff_t swig_types[187] +#define SWIGTYPE_unsigned_int swig_types[188] +static swig_type_info *swig_types[190]; +static swig_module_info swig_module = {swig_types, 189, 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) -------- */ @@ -1870,7 +2092,7 @@ SWIG_FromCharPtr(const char* cptr) if (cptr) { size_t size = strlen(cptr); if (size > INT_MAX) { - return SWIG_NewPointerObj((char*)(cptr), + return SWIG_NewPointerObj(const_cast(cptr), SWIG_TypeQuery("char *"), 0); } else { if (size != 0) { @@ -1897,7 +2119,7 @@ SWIG_FromCharPtr(const char* cptr) #define wxGRID_DEFAULT_SCROLLBAR_WIDTH WXGRID_DEFAULT_SCROLLBAR_WIDTH - /*@/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 /*@@*/ @@ -1954,7 +2176,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; @@ -1968,7 +2190,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1976,7 +2198,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -2015,7 +2237,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -2029,14 +2251,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -2317,7 +2539,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; @@ -2331,7 +2553,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -2356,17 +2578,17 @@ static void wxGridTableBase__setOORInfo(wxGridTableBase *self,PyObject *_self){ self->SetClientObject(new wxPyOORClientData(_self)); } - /*@/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 /*@@*/ - /*@/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 /*@@*/ -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -2380,7 +2602,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -2401,7 +2623,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -2415,7 +2637,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -2645,7 +2867,7 @@ static int _wrap_GridNoCellCoords_set(PyObject *) { static PyObject *_wrap_GridNoCellCoords_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellCoords), SWIGTYPE_p_wxGridCellCoords, 0); return pyobj; @@ -2659,7 +2881,7 @@ static int _wrap_GridNoCellRect_set(PyObject *) { static PyObject *_wrap_GridNoCellRect_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxGridNoCellRect), SWIGTYPE_p_wxRect, 0); return pyobj; @@ -2667,7 +2889,7 @@ static PyObject *_wrap_GridNoCellRect_get(void) { static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -2695,7 +2917,7 @@ static PyObject *_wrap_GridCellRenderer__setOORInfo(PyObject *, PyObject *args, static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2736,7 +2958,7 @@ static PyObject *_wrap_GridCellRenderer_SetParameters(PyObject *, PyObject *args static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2761,7 +2983,7 @@ static PyObject *_wrap_GridCellRenderer_IncRef(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2786,7 +3008,7 @@ static PyObject *_wrap_GridCellRenderer_DecRef(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxGrid *arg2 = 0 ; wxGridCellAttr *arg3 = 0 ; @@ -2840,15 +3062,15 @@ static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObjec if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { - arg8 = (bool)(SWIG_As_bool(obj7)); + arg8 = static_cast(SWIG_As_bool(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } { @@ -2866,7 +3088,7 @@ static PyObject *_wrap_GridCellRenderer_Draw(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxGrid *arg2 = 0 ; wxGridCellAttr *arg3 = 0 ; @@ -2912,11 +3134,11 @@ static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, 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; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -2928,7 +3150,7 @@ static PyObject *_wrap_GridCellRenderer_GetBestSize(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; @@ -2938,7 +3160,7 @@ static PyObject *_wrap_GridCellRenderer_GetBestSize(PyObject *, PyObject *args, static PyObject *_wrap_GridCellRenderer_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellRenderer *arg1 = (wxGridCellRenderer *) 0 ; wxGridCellRenderer *result; PyObject * obj0 = 0 ; @@ -2973,7 +3195,7 @@ static PyObject * GridCellRenderer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyGridCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellRenderer *result; char *kwnames[] = { NULL @@ -2995,7 +3217,7 @@ static PyObject *_wrap_new_PyGridCellRenderer(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -3026,7 +3248,7 @@ static PyObject *_wrap_PyGridCellRenderer__setCallbackInfo(PyObject *, PyObject static PyObject *_wrap_PyGridCellRenderer_base_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellRenderer *arg1 = (wxPyGridCellRenderer *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3074,7 +3296,7 @@ static PyObject * PyGridCellRenderer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellStringRenderer *result; char *kwnames[] = { NULL @@ -3103,7 +3325,7 @@ static PyObject * GridCellStringRenderer_swigregister(PyObject *, PyObject *args return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellNumberRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellNumberRenderer *result; char *kwnames[] = { NULL @@ -3132,7 +3354,7 @@ static PyObject * GridCellNumberRenderer_swigregister(PyObject *, PyObject *args return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) -1 ; wxGridCellFloatRenderer *result; @@ -3145,13 +3367,13 @@ static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatRenderer",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3170,7 +3392,7 @@ static PyObject *_wrap_new_GridCellFloatRenderer(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3189,7 +3411,7 @@ static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3198,7 +3420,7 @@ static PyObject *_wrap_GridCellFloatRenderer_GetWidth(PyObject *, PyObject *args static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3211,7 +3433,7 @@ static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatRenderer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3229,7 +3451,7 @@ static PyObject *_wrap_GridCellFloatRenderer_SetWidth(PyObject *, PyObject *args static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3248,7 +3470,7 @@ static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3257,7 +3479,7 @@ static PyObject *_wrap_GridCellFloatRenderer_GetPrecision(PyObject *, PyObject * static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatRenderer *arg1 = (wxGridCellFloatRenderer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3270,7 +3492,7 @@ static PyObject *_wrap_GridCellFloatRenderer_SetPrecision(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellFloatRenderer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3295,7 +3517,7 @@ static PyObject * GridCellFloatRenderer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellBoolRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellBoolRenderer *result; char *kwnames[] = { NULL @@ -3324,7 +3546,7 @@ static PyObject * GridCellBoolRenderer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellDateTimeRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString arg1 = (wxString) wxPyDefaultDateTimeFormat ; wxString arg2 = (wxString) wxPyDefaultDateTimeFormat ; wxGridCellDateTimeRenderer *result; @@ -3373,7 +3595,7 @@ static PyObject * GridCellDateTimeRenderer_swigregister(PyObject *, PyObject *ar return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellEnumRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxGridCellEnumRenderer *result; @@ -3421,7 +3643,7 @@ static PyObject * GridCellEnumRenderer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellAutoWrapStringRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAutoWrapStringRenderer *result; char *kwnames[] = { NULL @@ -3450,7 +3672,7 @@ static PyObject * GridCellAutoWrapStringRenderer_swigregister(PyObject *, PyObje return Py_BuildValue((char *)""); } static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -3478,7 +3700,7 @@ static PyObject *_wrap_GridCellEditor__setOORInfo(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3506,7 +3728,7 @@ static PyObject *_wrap_GridCellEditor_IsCreated(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellEditor_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -3534,7 +3756,7 @@ static PyObject *_wrap_GridCellEditor_GetControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellEditor_SetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxControl *arg2 = (wxControl *) 0 ; PyObject * obj0 = 0 ; @@ -3563,7 +3785,7 @@ static PyObject *_wrap_GridCellEditor_SetControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxGridCellAttr *result; PyObject * obj0 = 0 ; @@ -3591,7 +3813,7 @@ static PyObject *_wrap_GridCellEditor_GetCellAttr(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; @@ -3620,7 +3842,7 @@ static PyObject *_wrap_GridCellEditor_SetCellAttr(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3661,7 +3883,7 @@ static PyObject *_wrap_GridCellEditor_SetParameters(PyObject *, PyObject *args, static PyObject *_wrap_GridCellEditor_IncRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3686,7 +3908,7 @@ static PyObject *_wrap_GridCellEditor_IncRef(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellEditor_DecRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3711,7 +3933,7 @@ static PyObject *_wrap_GridCellEditor_DecRef(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -3730,7 +3952,7 @@ static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObjec 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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); @@ -3750,7 +3972,7 @@ static PyObject *_wrap_GridCellEditor_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; int arg2 ; int arg3 ; @@ -3767,11 +3989,11 @@ static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); @@ -3791,7 +4013,7 @@ static PyObject *_wrap_GridCellEditor_BeginEdit(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; int arg2 ; int arg3 ; @@ -3809,11 +4031,11 @@ static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); @@ -3835,7 +4057,7 @@ static PyObject *_wrap_GridCellEditor_EndEdit(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellEditor_Reset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3860,7 +4082,7 @@ static PyObject *_wrap_GridCellEditor_Reset(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellEditor_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxGridCellEditor *result; PyObject * obj0 = 0 ; @@ -3888,7 +4110,7 @@ static PyObject *_wrap_GridCellEditor_Clone(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellEditor_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -3920,7 +4142,7 @@ static PyObject *_wrap_GridCellEditor_SetSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; bool arg2 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ; @@ -3935,7 +4157,7 @@ static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellEditor, 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) { @@ -3957,7 +4179,7 @@ static PyObject *_wrap_GridCellEditor_Show(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxRect *arg2 = 0 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -3993,7 +4215,7 @@ static PyObject *_wrap_GridCellEditor_PaintBackground(PyObject *, PyObject *args static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; bool result; @@ -4031,7 +4253,7 @@ static PyObject *_wrap_GridCellEditor_IsAcceptedKey(PyObject *, PyObject *args, static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4066,7 +4288,7 @@ static PyObject *_wrap_GridCellEditor_StartingKey(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4091,7 +4313,7 @@ static PyObject *_wrap_GridCellEditor_StartingClick(PyObject *, PyObject *args, static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4126,7 +4348,7 @@ static PyObject *_wrap_GridCellEditor_HandleReturn(PyObject *, PyObject *args, P static PyObject *_wrap_GridCellEditor_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEditor *arg1 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4158,7 +4380,7 @@ static PyObject * GridCellEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyGridCellEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *result; char *kwnames[] = { NULL @@ -4180,7 +4402,7 @@ static PyObject *_wrap_new_PyGridCellEditor(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -4211,7 +4433,7 @@ static PyObject *_wrap_PyGridCellEditor__setCallbackInfo(PyObject *, PyObject *a static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -4243,7 +4465,7 @@ static PyObject *_wrap_PyGridCellEditor_base_SetSize(PyObject *, PyObject *args, static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; bool arg2 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) NULL ; @@ -4258,7 +4480,7 @@ static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellEditor, 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) { @@ -4280,7 +4502,7 @@ static PyObject *_wrap_PyGridCellEditor_base_Show(PyObject *, PyObject *args, Py static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxRect *arg2 = 0 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -4316,7 +4538,7 @@ static PyObject *_wrap_PyGridCellEditor_base_PaintBackground(PyObject *, PyObjec static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; bool result; @@ -4354,7 +4576,7 @@ static PyObject *_wrap_PyGridCellEditor_base_IsAcceptedKey(PyObject *, PyObject static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4389,7 +4611,7 @@ static PyObject *_wrap_PyGridCellEditor_base_StartingKey(PyObject *, PyObject *a static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4414,7 +4636,7 @@ static PyObject *_wrap_PyGridCellEditor_base_StartingClick(PyObject *, PyObject static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxKeyEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4449,7 +4671,7 @@ static PyObject *_wrap_PyGridCellEditor_base_HandleReturn(PyObject *, PyObject * static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4474,7 +4696,7 @@ static PyObject *_wrap_PyGridCellEditor_base_Destroy(PyObject *, PyObject *args, static PyObject *_wrap_PyGridCellEditor_base_SetParameters(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellEditor *arg1 = (wxPyGridCellEditor *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4522,7 +4744,7 @@ static PyObject * PyGridCellEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellTextEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellTextEditor *result; char *kwnames[] = { NULL @@ -4544,7 +4766,7 @@ static PyObject *_wrap_new_GridCellTextEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellTextEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellTextEditor *arg1 = (wxGridCellTextEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4583,7 +4805,7 @@ static PyObject * GridCellTextEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) -1 ; wxGridCellNumberEditor *result; @@ -4596,13 +4818,13 @@ static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellNumberEditor",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4621,7 +4843,7 @@ static PyObject *_wrap_new_GridCellNumberEditor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellNumberEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellNumberEditor *arg1 = (wxGridCellNumberEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4660,7 +4882,7 @@ static PyObject * GridCellNumberEditor_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) -1 ; wxGridCellFloatEditor *result; @@ -4673,13 +4895,13 @@ static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellFloatEditor",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4698,7 +4920,7 @@ static PyObject *_wrap_new_GridCellFloatEditor(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridCellFloatEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellFloatEditor *arg1 = (wxGridCellFloatEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4737,7 +4959,7 @@ static PyObject * GridCellFloatEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellBoolEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellBoolEditor *result; char *kwnames[] = { NULL @@ -4759,7 +4981,7 @@ static PyObject *_wrap_new_GridCellBoolEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellBoolEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellBoolEditor *arg1 = (wxGridCellBoolEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4798,7 +5020,7 @@ static PyObject * GridCellBoolEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxString *arg2 = (wxString *) NULL ; bool arg3 = (bool) false ; @@ -4819,7 +5041,7 @@ static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyOb } if (obj1) { { - arg3 = (bool)(SWIG_As_bool(obj1)); + arg3 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4844,7 +5066,7 @@ static PyObject *_wrap_new_GridCellChoiceEditor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellChoiceEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellChoiceEditor *arg1 = (wxGridCellChoiceEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4883,7 +5105,7 @@ static PyObject * GridCellChoiceEditor_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxGridCellEnumEditor *result; @@ -4924,7 +5146,7 @@ static PyObject *_wrap_new_GridCellEnumEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellEnumEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellEnumEditor *arg1 = (wxGridCellEnumEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4963,7 +5185,7 @@ static PyObject * GridCellEnumEditor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAutoWrapStringEditor *result; char *kwnames[] = { NULL @@ -4985,7 +5207,7 @@ static PyObject *_wrap_new_GridCellAutoWrapStringEditor(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAutoWrapStringEditor_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAutoWrapStringEditor *arg1 = (wxGridCellAutoWrapStringEditor *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -5024,7 +5246,7 @@ static PyObject * GridCellAutoWrapStringEditor_swigregister(PyObject *, PyObject return Py_BuildValue((char *)""); } static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -5052,7 +5274,7 @@ static PyObject *_wrap_GridCellAttr__setOORInfo(PyObject *, PyObject *args, PyOb static PyObject *_wrap_new_GridCellAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) NULL ; wxGridCellAttr *result; PyObject * obj0 = 0 ; @@ -5082,7 +5304,7 @@ static PyObject *_wrap_new_GridCellAttr(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridCellAttr_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr *result; PyObject * obj0 = 0 ; @@ -5110,7 +5332,7 @@ static PyObject *_wrap_GridCellAttr_Clone(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; @@ -5139,7 +5361,7 @@ static PyObject *_wrap_GridCellAttr_MergeWith(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellAttr_IncRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5164,7 +5386,7 @@ static PyObject *_wrap_GridCellAttr_IncRef(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_DecRef(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5189,7 +5411,7 @@ static PyObject *_wrap_GridCellAttr_DecRef(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -5221,7 +5443,7 @@ static PyObject *_wrap_GridCellAttr_SetTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -5253,7 +5475,7 @@ static PyObject *_wrap_GridCellAttr_SetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -5288,7 +5510,7 @@ static PyObject *_wrap_GridCellAttr_SetFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; int arg2 ; int arg3 ; @@ -5303,11 +5525,11 @@ static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -5325,7 +5547,7 @@ static PyObject *_wrap_GridCellAttr_SetAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; int arg2 ; int arg3 ; @@ -5340,11 +5562,11 @@ static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -5362,7 +5584,7 @@ static PyObject *_wrap_GridCellAttr_SetSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -5376,7 +5598,7 @@ static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyOb 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; } } @@ -5395,7 +5617,7 @@ static PyObject *_wrap_GridCellAttr_SetOverflow(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -5409,7 +5631,7 @@ static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyOb 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; } } @@ -5428,7 +5650,7 @@ static PyObject *_wrap_GridCellAttr_SetReadOnly(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ; PyObject * obj0 = 0 ; @@ -5457,7 +5679,7 @@ static PyObject *_wrap_GridCellAttr_SetRenderer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; @@ -5486,7 +5708,7 @@ static PyObject *_wrap_GridCellAttr_SetEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr::wxAttrKind arg2 ; PyObject * obj0 = 0 ; @@ -5499,12 +5721,12 @@ static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetKind((wxGridCellAttr::wxAttrKind )arg2); + (arg1)->SetKind(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -5517,7 +5739,7 @@ static PyObject *_wrap_GridCellAttr_SetKind(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5545,7 +5767,7 @@ static PyObject *_wrap_GridCellAttr_HasTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5573,7 +5795,7 @@ static PyObject *_wrap_GridCellAttr_HasBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5601,7 +5823,7 @@ static PyObject *_wrap_GridCellAttr_HasFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5629,7 +5851,7 @@ static PyObject *_wrap_GridCellAttr_HasAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5657,7 +5879,7 @@ static PyObject *_wrap_GridCellAttr_HasRenderer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5685,7 +5907,7 @@ static PyObject *_wrap_GridCellAttr_HasEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5713,7 +5935,7 @@ static PyObject *_wrap_GridCellAttr_HasReadWriteMode(PyObject *, PyObject *args, static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5741,7 +5963,7 @@ static PyObject *_wrap_GridCellAttr_HasOverflowMode(PyObject *, PyObject *args, static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -5761,7 +5983,7 @@ static PyObject *_wrap_GridCellAttr_GetTextColour(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; @@ -5771,7 +5993,7 @@ static PyObject *_wrap_GridCellAttr_GetTextColour(PyObject *, PyObject *args, Py static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -5791,7 +6013,7 @@ static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *ar } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -5801,7 +6023,7 @@ static PyObject *_wrap_GridCellAttr_GetBackgroundColour(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -5821,7 +6043,7 @@ static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -5831,7 +6053,7 @@ static PyObject *_wrap_GridCellAttr_GetFont(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -5868,7 +6090,7 @@ static PyObject *_wrap_GridCellAttr_GetAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridCellAttr_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -5905,7 +6127,7 @@ static PyObject *_wrap_GridCellAttr_GetSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5933,7 +6155,7 @@ static PyObject *_wrap_GridCellAttr_GetOverflow(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGrid *arg2 = (wxGrid *) 0 ; int arg3 ; @@ -5953,11 +6175,11 @@ static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -5977,7 +6199,7 @@ static PyObject *_wrap_GridCellAttr_GetRenderer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGrid *arg2 = (wxGrid *) 0 ; int arg3 ; @@ -5997,11 +6219,11 @@ static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGrid, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -6021,7 +6243,7 @@ static PyObject *_wrap_GridCellAttr_GetEditor(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6049,7 +6271,7 @@ static PyObject *_wrap_GridCellAttr_IsReadOnly(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridCellAttr_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr::wxAttrKind result; PyObject * obj0 = 0 ; @@ -6075,7 +6297,7 @@ static PyObject *_wrap_GridCellAttr_GetKind(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridCellAttr_SetDefAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttr *arg1 = (wxGridCellAttr *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; PyObject * obj0 = 0 ; @@ -6111,7 +6333,7 @@ static PyObject * GridCellAttr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *result; char *kwnames[] = { NULL @@ -6135,7 +6357,7 @@ static PyObject *_wrap_new_GridCellAttrProvider(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -6163,7 +6385,7 @@ static PyObject *_wrap_GridCellAttrProvider__setOORInfo(PyObject *, PyObject *ar static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; int arg2 ; int arg3 ; @@ -6181,20 +6403,20 @@ static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); + result = (wxGridCellAttr *)((wxGridCellAttrProvider const *)arg1)->GetAttr(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -6209,7 +6431,7 @@ static PyObject *_wrap_GridCellAttrProvider_GetAttr(PyObject *, PyObject *args, static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6228,11 +6450,11 @@ static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -6250,7 +6472,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetAttr(PyObject *, PyObject *args, static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6267,7 +6489,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -6285,7 +6507,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetRowAttr(PyObject *, PyObject *arg static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6302,7 +6524,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -6320,7 +6542,7 @@ static PyObject *_wrap_GridCellAttrProvider_SetColAttr(PyObject *, PyObject *arg static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; size_t arg2 ; int arg3 ; @@ -6335,11 +6557,11 @@ static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6357,7 +6579,7 @@ static PyObject *_wrap_GridCellAttrProvider_UpdateAttrRows(PyObject *, PyObject static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellAttrProvider *arg1 = (wxGridCellAttrProvider *) 0 ; size_t arg2 ; int arg3 ; @@ -6372,11 +6594,11 @@ static PyObject *_wrap_GridCellAttrProvider_UpdateAttrCols(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6401,7 +6623,7 @@ static PyObject * GridCellAttrProvider_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *result; char *kwnames[] = { NULL @@ -6423,7 +6645,7 @@ static PyObject *_wrap_new_PyGridCellAttrProvider(PyObject *, PyObject *args, Py static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -6454,7 +6676,7 @@ static PyObject *_wrap_PyGridCellAttrProvider__setCallbackInfo(PyObject *, PyObj static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; int arg2 ; int arg3 ; @@ -6472,20 +6694,20 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridCellAttrProvider, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); + result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -6500,7 +6722,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_GetAttr(PyObject *, PyObject static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6519,11 +6741,11 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *, PyObject SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -6541,7 +6763,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetAttr(PyObject *, PyObject static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6558,7 +6780,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *, PyObje SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -6576,7 +6798,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetRowAttr(PyObject *, PyObje static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridCellAttrProvider *arg1 = (wxPyGridCellAttrProvider *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -6593,7 +6815,7 @@ static PyObject *_wrap_PyGridCellAttrProvider_base_SetColAttr(PyObject *, PyObje SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -6618,7 +6840,7 @@ static PyObject * PyGridCellAttrProvider_swigregister(PyObject *, PyObject *args return Py_BuildValue((char *)""); } static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -6646,7 +6868,7 @@ static PyObject *_wrap_GridTableBase__setOORInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttrProvider *arg2 = (wxGridCellAttrProvider *) 0 ; PyObject * obj0 = 0 ; @@ -6675,7 +6897,7 @@ static PyObject *_wrap_GridTableBase_SetAttrProvider(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttrProvider *result; PyObject * obj0 = 0 ; @@ -6703,7 +6925,7 @@ static PyObject *_wrap_GridTableBase_GetAttrProvider(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_SetView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGrid *arg2 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; @@ -6732,7 +6954,7 @@ static PyObject *_wrap_GridTableBase_SetView(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridTableBase_GetView(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGrid *result; PyObject * obj0 = 0 ; @@ -6760,7 +6982,7 @@ static PyObject *_wrap_GridTableBase_GetView(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6779,7 +7001,7 @@ static PyObject *_wrap_GridTableBase_GetNumberRows(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: @@ -6788,7 +7010,7 @@ static PyObject *_wrap_GridTableBase_GetNumberRows(PyObject *, PyObject *args, P static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6807,7 +7029,7 @@ static PyObject *_wrap_GridTableBase_GetNumberCols(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: @@ -6816,7 +7038,7 @@ static PyObject *_wrap_GridTableBase_GetNumberCols(PyObject *, PyObject *args, P static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -6832,11 +7054,11 @@ static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6856,7 +7078,7 @@ static PyObject *_wrap_GridTableBase_IsEmptyCell(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -6872,11 +7094,11 @@ static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6900,7 +7122,7 @@ static PyObject *_wrap_GridTableBase_GetValue(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -6918,11 +7140,11 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6953,7 +7175,7 @@ static PyObject *_wrap_GridTableBase_SetValue(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -6969,11 +7191,11 @@ static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6997,7 +7219,7 @@ static PyObject *_wrap_GridTableBase_GetTypeName(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7016,11 +7238,11 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7053,7 +7275,7 @@ static PyObject *_wrap_GridTableBase_CanGetValueAs(PyObject *, PyObject *args, P static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7072,11 +7294,11 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7109,7 +7331,7 @@ static PyObject *_wrap_GridTableBase_CanSetValueAs(PyObject *, PyObject *args, P static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7125,11 +7347,11 @@ static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7140,7 +7362,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7149,7 +7371,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsLong(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7165,11 +7387,11 @@ static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7180,7 +7402,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7189,7 +7411,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsDouble(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7205,11 +7427,11 @@ static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -7229,7 +7451,7 @@ static PyObject *_wrap_GridTableBase_GetValueAsBool(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7246,15 +7468,15 @@ static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -7272,7 +7494,7 @@ static PyObject *_wrap_GridTableBase_SetValueAsLong(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7289,15 +7511,15 @@ static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (double)(SWIG_As_double(obj3)); + arg4 = static_cast(SWIG_As_double(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -7315,7 +7537,7 @@ static PyObject *_wrap_GridTableBase_SetValueAsDouble(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7332,15 +7554,15 @@ static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -7358,7 +7580,7 @@ static PyObject *_wrap_GridTableBase_SetValueAsBool(PyObject *, PyObject *args, static PyObject *_wrap_GridTableBase_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7383,7 +7605,7 @@ static PyObject *_wrap_GridTableBase_Clear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -7400,13 +7622,13 @@ static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7427,7 +7649,7 @@ static PyObject *_wrap_GridTableBase_InsertRows(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 1 ; bool result; @@ -7442,7 +7664,7 @@ static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -7463,7 +7685,7 @@ static PyObject *_wrap_GridTableBase_AppendRows(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -7480,13 +7702,13 @@ static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7507,7 +7729,7 @@ static PyObject *_wrap_GridTableBase_DeleteRows(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -7524,13 +7746,13 @@ static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7551,7 +7773,7 @@ static PyObject *_wrap_GridTableBase_InsertCols(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 1 ; bool result; @@ -7566,7 +7788,7 @@ static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -7587,7 +7809,7 @@ static PyObject *_wrap_GridTableBase_AppendCols(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -7604,13 +7826,13 @@ static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7631,7 +7853,7 @@ static PyObject *_wrap_GridTableBase_DeleteCols(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString result; @@ -7645,7 +7867,7 @@ static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7669,7 +7891,7 @@ static PyObject *_wrap_GridTableBase_GetRowLabelValue(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString result; @@ -7683,7 +7905,7 @@ static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7707,7 +7929,7 @@ static PyObject *_wrap_GridTableBase_GetColLabelValue(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -7723,7 +7945,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7754,7 +7976,7 @@ static PyObject *_wrap_GridTableBase_SetRowLabelValue(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -7770,7 +7992,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7801,7 +8023,7 @@ static PyObject *_wrap_GridTableBase_SetColLabelValue(PyObject *, PyObject *args static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7829,7 +8051,7 @@ static PyObject *_wrap_GridTableBase_CanHaveAttributes(PyObject *, PyObject *arg static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -7847,20 +8069,20 @@ static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); + result = (wxGridCellAttr *)(arg1)->GetAttr(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -7875,7 +8097,7 @@ static PyObject *_wrap_GridTableBase_GetAttr(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -7894,11 +8116,11 @@ static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -7916,7 +8138,7 @@ static PyObject *_wrap_GridTableBase_SetAttr(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -7933,7 +8155,7 @@ static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -7951,7 +8173,7 @@ static PyObject *_wrap_GridTableBase_SetRowAttr(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -7968,7 +8190,7 @@ static PyObject *_wrap_GridTableBase_SetColAttr(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -7993,7 +8215,7 @@ static PyObject * GridTableBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyGridTableBase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *result; char *kwnames[] = { NULL @@ -8015,7 +8237,7 @@ static PyObject *_wrap_new_PyGridTableBase(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8046,7 +8268,7 @@ static PyObject *_wrap_PyGridTableBase__setCallbackInfo(PyObject *, PyObject *ar static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8071,7 +8293,7 @@ static PyObject *_wrap_PyGridTableBase_Destroy(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -8087,11 +8309,11 @@ static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8115,7 +8337,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetTypeName(PyObject *, PyObject *ar static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -8134,11 +8356,11 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8171,7 +8393,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanGetValueAs(PyObject *, PyObject * static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -8190,11 +8412,11 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8227,7 +8449,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanSetValueAs(PyObject *, PyObject * static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8252,7 +8474,7 @@ static PyObject *_wrap_PyGridTableBase_base_Clear(PyObject *, PyObject *args, Py static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -8269,13 +8491,13 @@ static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8296,7 +8518,7 @@ static PyObject *_wrap_PyGridTableBase_base_InsertRows(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 1 ; bool result; @@ -8311,7 +8533,7 @@ static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -8332,7 +8554,7 @@ static PyObject *_wrap_PyGridTableBase_base_AppendRows(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -8349,13 +8571,13 @@ static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8376,7 +8598,7 @@ static PyObject *_wrap_PyGridTableBase_base_DeleteRows(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -8393,13 +8615,13 @@ static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8420,7 +8642,7 @@ static PyObject *_wrap_PyGridTableBase_base_InsertCols(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 1 ; bool result; @@ -8435,7 +8657,7 @@ static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -8456,7 +8678,7 @@ static PyObject *_wrap_PyGridTableBase_base_AppendCols(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; size_t arg2 = (size_t) 0 ; size_t arg3 = (size_t) 1 ; @@ -8473,13 +8695,13 @@ static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *, PyObject *arg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8500,7 +8722,7 @@ static PyObject *_wrap_PyGridTableBase_base_DeleteCols(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString result; @@ -8514,7 +8736,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8538,7 +8760,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetRowLabelValue(PyObject *, PyObjec static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString result; @@ -8552,7 +8774,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8576,7 +8798,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetColLabelValue(PyObject *, PyObjec static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -8592,7 +8814,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8623,7 +8845,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowLabelValue(PyObject *, PyObjec static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -8639,7 +8861,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8670,7 +8892,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColLabelValue(PyObject *, PyObjec static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8698,7 +8920,7 @@ static PyObject *_wrap_PyGridTableBase_base_CanHaveAttributes(PyObject *, PyObje static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; int arg2 ; int arg3 ; @@ -8716,20 +8938,20 @@ static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxGridCellAttr::wxAttrKind)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,(wxGridCellAttr::wxAttrKind )arg4); + result = (wxGridCellAttr *)(arg1)->base_GetAttr(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8744,7 +8966,7 @@ static PyObject *_wrap_PyGridTableBase_base_GetAttr(PyObject *, PyObject *args, static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -8763,11 +8985,11 @@ static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -8785,7 +9007,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetAttr(PyObject *, PyObject *args, static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -8802,7 +9024,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -8820,7 +9042,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetRowAttr(PyObject *, PyObject *arg static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyGridTableBase *arg1 = (wxPyGridTableBase *) 0 ; wxGridCellAttr *arg2 = (wxGridCellAttr *) 0 ; int arg3 ; @@ -8837,7 +9059,7 @@ static PyObject *_wrap_PyGridTableBase_base_SetColAttr(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridCellAttr, 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; } { @@ -8862,7 +9084,7 @@ static PyObject * PyGridTableBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridStringTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGridStringTable *result; @@ -8875,13 +9097,13 @@ static PyObject *_wrap_new_GridStringTable(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridStringTable",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8907,7 +9129,7 @@ static PyObject * GridStringTable_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableBase *arg1 = (wxGridTableBase *) 0 ; int arg2 ; int arg3 = (int) -1 ; @@ -8925,18 +9147,18 @@ static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -8955,7 +9177,7 @@ static PyObject *_wrap_new_GridTableMessage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_GridTableMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8980,7 +9202,7 @@ static PyObject *_wrap_delete_GridTableMessage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; wxGridTableBase *arg2 = (wxGridTableBase *) 0 ; PyObject * obj0 = 0 ; @@ -9009,7 +9231,7 @@ static PyObject *_wrap_GridTableMessage_SetTableObject(PyObject *, PyObject *arg static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; wxGridTableBase *result; PyObject * obj0 = 0 ; @@ -9037,7 +9259,7 @@ static PyObject *_wrap_GridTableMessage_GetTableObject(PyObject *, PyObject *arg static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9050,7 +9272,7 @@ static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9068,7 +9290,7 @@ static PyObject *_wrap_GridTableMessage_SetId(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridTableMessage_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9087,7 +9309,7 @@ static PyObject *_wrap_GridTableMessage_GetId(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: @@ -9096,7 +9318,7 @@ static PyObject *_wrap_GridTableMessage_GetId(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9109,7 +9331,7 @@ static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9127,7 +9349,7 @@ static PyObject *_wrap_GridTableMessage_SetCommandInt(PyObject *, PyObject *args static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9146,7 +9368,7 @@ static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9155,7 +9377,7 @@ static PyObject *_wrap_GridTableMessage_GetCommandInt(PyObject *, PyObject *args static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9168,7 +9390,7 @@ static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridTableMessage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9186,7 +9408,7 @@ static PyObject *_wrap_GridTableMessage_SetCommandInt2(PyObject *, PyObject *arg static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridTableMessage *arg1 = (wxGridTableMessage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9205,7 +9427,7 @@ static PyObject *_wrap_GridTableMessage_GetCommandInt2(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9221,7 +9443,7 @@ static PyObject * GridTableMessage_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) -1 ; int arg2 = (int) -1 ; wxGridCellCoords *result; @@ -9234,13 +9456,13 @@ static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridCellCoords",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -9259,7 +9481,7 @@ static PyObject *_wrap_new_GridCellCoords(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_GridCellCoords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9284,7 +9506,7 @@ static PyObject *_wrap_delete_GridCellCoords(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9303,7 +9525,7 @@ static PyObject *_wrap_GridCellCoords_GetRow(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: @@ -9312,7 +9534,7 @@ static PyObject *_wrap_GridCellCoords_GetRow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9325,7 +9547,7 @@ static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9343,7 +9565,7 @@ static PyObject *_wrap_GridCellCoords_SetRow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9362,7 +9584,7 @@ static PyObject *_wrap_GridCellCoords_GetCol(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: @@ -9371,7 +9593,7 @@ static PyObject *_wrap_GridCellCoords_GetCol(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9384,7 +9606,7 @@ static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9402,7 +9624,7 @@ static PyObject *_wrap_GridCellCoords_SetCol(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; int arg2 ; int arg3 ; @@ -9417,11 +9639,11 @@ static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridCellCoords, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -9439,7 +9661,7 @@ static PyObject *_wrap_GridCellCoords_Set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GridCellCoords___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; wxGridCellCoords *arg2 = 0 ; bool result; @@ -9474,7 +9696,7 @@ static PyObject *_wrap_GridCellCoords___eq__(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; wxGridCellCoords *arg2 = 0 ; bool result; @@ -9509,7 +9731,7 @@ static PyObject *_wrap_GridCellCoords___ne__(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridCellCoords_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridCellCoords *arg1 = (wxGridCellCoords *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -9542,7 +9764,7 @@ static PyObject * GridCellCoords_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -9571,7 +9793,7 @@ static PyObject *_wrap_new_Grid(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; } } @@ -9589,7 +9811,7 @@ static PyObject *_wrap_new_Grid(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; } } @@ -9624,7 +9846,7 @@ static PyObject *_wrap_new_Grid(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_PreGrid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *result; char *kwnames[] = { NULL @@ -9647,7 +9869,7 @@ static PyObject *_wrap_new_PreGrid(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -9680,7 +9902,7 @@ static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -9698,7 +9920,7 @@ static PyObject *_wrap_Grid_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; } } @@ -9734,7 +9956,7 @@ static PyObject *_wrap_Grid_Create(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -9752,16 +9974,16 @@ static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (WXGRIDSELECTIONMODES)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9782,7 +10004,7 @@ static PyObject *_wrap_Grid_CreateGrid(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; WXGRIDSELECTIONMODES arg2 ; PyObject * obj0 = 0 ; @@ -9795,7 +10017,7 @@ static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (WXGRIDSELECTIONMODES)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9813,7 +10035,7 @@ static PyObject *_wrap_Grid_SetSelectionMode(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; WXGRIDSELECTIONMODES result; PyObject * obj0 = 0 ; @@ -9832,7 +10054,7 @@ static PyObject *_wrap_Grid_GetSelectionMode(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: @@ -9841,7 +10063,7 @@ static PyObject *_wrap_Grid_GetSelectionMode(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetNumberRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9860,7 +10082,7 @@ static PyObject *_wrap_Grid_GetNumberRows(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: @@ -9869,7 +10091,7 @@ static PyObject *_wrap_Grid_GetNumberRows(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetNumberCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9888,7 +10110,7 @@ static PyObject *_wrap_Grid_GetNumberCols(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: @@ -9897,7 +10119,7 @@ static PyObject *_wrap_Grid_GetNumberCols(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridTableMessage *arg2 = 0 ; bool result; @@ -9935,7 +10157,7 @@ static PyObject *_wrap_Grid_ProcessTableMessage(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_GetTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridTableBase *result; PyObject * obj0 = 0 ; @@ -9963,7 +10185,7 @@ static PyObject *_wrap_Grid_GetTable(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridTableBase *arg2 = (wxGridTableBase *) 0 ; bool arg3 = (bool) false ; @@ -9984,13 +10206,13 @@ static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwarg 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; } } if (obj3) { { - arg4 = (WXGRIDSELECTIONMODES)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10011,7 +10233,7 @@ static PyObject *_wrap_Grid_SetTable(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_ClearGrid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10036,7 +10258,7 @@ static PyObject *_wrap_Grid_ClearGrid(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_InsertRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; @@ -10055,19 +10277,19 @@ static PyObject *_wrap_Grid_InsertRows(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; } } 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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10088,7 +10310,7 @@ static PyObject *_wrap_Grid_InsertRows(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_AppendRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 1 ; bool arg3 = (bool) true ; @@ -10105,13 +10327,13 @@ static PyObject *_wrap_Grid_AppendRows(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; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10132,7 +10354,7 @@ static PyObject *_wrap_Grid_AppendRows(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_DeleteRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; @@ -10151,19 +10373,19 @@ static PyObject *_wrap_Grid_DeleteRows(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; } } 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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10184,7 +10406,7 @@ static PyObject *_wrap_Grid_DeleteRows(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_InsertCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; @@ -10203,19 +10425,19 @@ static PyObject *_wrap_Grid_InsertCols(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; } } 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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10236,7 +10458,7 @@ static PyObject *_wrap_Grid_InsertCols(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_AppendCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 1 ; bool arg3 = (bool) true ; @@ -10253,13 +10475,13 @@ static PyObject *_wrap_Grid_AppendCols(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; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10280,7 +10502,7 @@ static PyObject *_wrap_Grid_AppendCols(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_DeleteCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 1 ; @@ -10299,19 +10521,19 @@ static PyObject *_wrap_Grid_DeleteCols(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; } } 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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -10332,7 +10554,7 @@ static PyObject *_wrap_Grid_DeleteCols(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxDC *arg2 = 0 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -10371,7 +10593,7 @@ static PyObject *_wrap_Grid_DrawCellHighlight(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxDC *arg2 = 0 ; wxString *arg3 = 0 ; @@ -10414,19 +10636,19 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -10453,7 +10675,7 @@ static PyObject *_wrap_Grid_DrawTextRectangle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxDC *arg2 = 0 ; wxArrayString *arg3 = 0 ; @@ -10526,7 +10748,7 @@ static PyObject *_wrap_Grid_GetTextBoxSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_BeginBatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10551,7 +10773,7 @@ static PyObject *_wrap_Grid_BeginBatch(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_EndBatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10576,7 +10798,7 @@ static PyObject *_wrap_Grid_EndBatch(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_GetBatchCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10595,7 +10817,7 @@ static PyObject *_wrap_Grid_GetBatchCount(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: @@ -10604,7 +10826,7 @@ static PyObject *_wrap_Grid_GetBatchCount(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_ForceRefresh(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10629,7 +10851,7 @@ static PyObject *_wrap_Grid_ForceRefresh(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10657,7 +10879,7 @@ static PyObject *_wrap_Grid_IsEditable(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -10670,7 +10892,7 @@ static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -10688,7 +10910,7 @@ static PyObject *_wrap_Grid_EnableEditing(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -10702,7 +10924,7 @@ static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, Py 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; } } @@ -10721,7 +10943,7 @@ static PyObject *_wrap_Grid_EnableCellEditControl(PyObject *, PyObject *args, Py static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10746,7 +10968,7 @@ static PyObject *_wrap_Grid_DisableCellEditControl(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10774,7 +10996,7 @@ static PyObject *_wrap_Grid_CanEnableCellControl(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10802,7 +11024,7 @@ static PyObject *_wrap_Grid_IsCellEditControlEnabled(PyObject *, PyObject *args, static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10830,7 +11052,7 @@ static PyObject *_wrap_Grid_IsCellEditControlShown(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10858,7 +11080,7 @@ static PyObject *_wrap_Grid_IsCurrentCellReadOnly(PyObject *, PyObject *args, Py static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10883,7 +11105,7 @@ static PyObject *_wrap_Grid_ShowCellEditControl(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_HideCellEditControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10908,7 +11130,7 @@ static PyObject *_wrap_Grid_HideCellEditControl(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10933,7 +11155,7 @@ static PyObject *_wrap_Grid_SaveEditControlValue(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -10949,11 +11171,11 @@ static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -10965,7 +11187,7 @@ static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwarg } { wxGridCellCoords * resultptr; - resultptr = new wxGridCellCoords((wxGridCellCoords &)(result)); + resultptr = new wxGridCellCoords(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1); } return resultobj; @@ -10975,7 +11197,7 @@ static PyObject *_wrap_Grid_XYToCell(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -10989,7 +11211,7 @@ static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11000,7 +11222,7 @@ static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11009,7 +11231,7 @@ static PyObject *_wrap_Grid_YToRow(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -11023,7 +11245,7 @@ static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11034,7 +11256,7 @@ static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11043,7 +11265,7 @@ static PyObject *_wrap_Grid_XToCol(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -11057,7 +11279,7 @@ static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11068,7 +11290,7 @@ static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11077,7 +11299,7 @@ static PyObject *_wrap_Grid_YToEdgeOfRow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -11091,7 +11313,7 @@ static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11102,7 +11324,7 @@ static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11111,7 +11333,7 @@ static PyObject *_wrap_Grid_XToEdgeOfCol(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -11127,11 +11349,11 @@ static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11143,7 +11365,7 @@ static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwa } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -11153,7 +11375,7 @@ static PyObject *_wrap_Grid_CellToRect(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11172,7 +11394,7 @@ static PyObject *_wrap_Grid_GetGridCursorRow(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: @@ -11181,7 +11403,7 @@ static PyObject *_wrap_Grid_GetGridCursorRow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11200,7 +11422,7 @@ static PyObject *_wrap_Grid_GetGridCursorCol(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: @@ -11209,7 +11431,7 @@ static PyObject *_wrap_Grid_GetGridCursorCol(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -11227,16 +11449,16 @@ static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -11257,7 +11479,7 @@ static PyObject *_wrap_Grid_IsVisible(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -11272,11 +11494,11 @@ static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11294,7 +11516,7 @@ static PyObject *_wrap_Grid_MakeCellVisible(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -11309,11 +11531,11 @@ static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11331,7 +11553,7 @@ static PyObject *_wrap_Grid_SetGridCursor(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11345,7 +11567,7 @@ static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11365,7 +11587,7 @@ static PyObject *_wrap_Grid_MoveCursorUp(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11379,7 +11601,7 @@ static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11399,7 +11621,7 @@ static PyObject *_wrap_Grid_MoveCursorDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11413,7 +11635,7 @@ static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11433,7 +11655,7 @@ static PyObject *_wrap_Grid_MoveCursorLeft(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11447,7 +11669,7 @@ static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11467,7 +11689,7 @@ static PyObject *_wrap_Grid_MoveCursorRight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_MovePageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11495,7 +11717,7 @@ static PyObject *_wrap_Grid_MovePageDown(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_MovePageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11523,7 +11745,7 @@ static PyObject *_wrap_Grid_MovePageUp(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11537,7 +11759,7 @@ static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11557,7 +11779,7 @@ static PyObject *_wrap_Grid_MoveCursorUpBlock(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11571,7 +11793,7 @@ static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11591,7 +11813,7 @@ static PyObject *_wrap_Grid_MoveCursorDownBlock(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11605,7 +11827,7 @@ static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11625,7 +11847,7 @@ static PyObject *_wrap_Grid_MoveCursorLeftBlock(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; bool result; @@ -11639,7 +11861,7 @@ static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -11659,7 +11881,7 @@ static PyObject *_wrap_Grid_MoveCursorRightBlock(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11678,7 +11900,7 @@ static PyObject *_wrap_Grid_GetDefaultRowLabelSize(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: @@ -11687,7 +11909,7 @@ static PyObject *_wrap_Grid_GetDefaultRowLabelSize(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11706,7 +11928,7 @@ static PyObject *_wrap_Grid_GetRowLabelSize(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: @@ -11715,7 +11937,7 @@ static PyObject *_wrap_Grid_GetRowLabelSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11734,7 +11956,7 @@ static PyObject *_wrap_Grid_GetDefaultColLabelSize(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: @@ -11743,7 +11965,7 @@ static PyObject *_wrap_Grid_GetDefaultColLabelSize(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11762,7 +11984,7 @@ static PyObject *_wrap_Grid_GetColLabelSize(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: @@ -11771,7 +11993,7 @@ static PyObject *_wrap_Grid_GetColLabelSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -11791,7 +12013,7 @@ static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -11801,7 +12023,7 @@ static PyObject *_wrap_Grid_GetLabelBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -11821,7 +12043,7 @@ static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObj } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -11831,7 +12053,7 @@ static PyObject *_wrap_Grid_GetLabelTextColour(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -11851,7 +12073,7 @@ static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *k } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -11861,7 +12083,7 @@ static PyObject *_wrap_Grid_GetLabelFont(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -11898,7 +12120,7 @@ static PyObject *_wrap_Grid_GetRowLabelAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -11935,7 +12157,7 @@ static PyObject *_wrap_Grid_GetColLabelAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11954,7 +12176,7 @@ static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11963,7 +12185,7 @@ static PyObject *_wrap_Grid_GetColLabelTextOrientation(PyObject *, PyObject *arg static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString result; @@ -11977,7 +12199,7 @@ static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12001,7 +12223,7 @@ static PyObject *_wrap_Grid_GetRowLabelValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString result; @@ -12015,7 +12237,7 @@ static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12039,7 +12261,7 @@ static PyObject *_wrap_Grid_GetColLabelValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -12059,7 +12281,7 @@ static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -12069,7 +12291,7 @@ static PyObject *_wrap_Grid_GetGridLineColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -12089,7 +12311,7 @@ static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, P } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -12099,7 +12321,7 @@ static PyObject *_wrap_Grid_GetCellHighlightColour(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12118,7 +12340,7 @@ static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12127,7 +12349,7 @@ static PyObject *_wrap_Grid_GetCellHighlightPenWidth(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12146,7 +12368,7 @@ static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12155,7 +12377,7 @@ static PyObject *_wrap_Grid_GetCellHighlightROPenWidth(PyObject *, PyObject *arg static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12168,7 +12390,7 @@ static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12186,7 +12408,7 @@ static PyObject *_wrap_Grid_SetRowLabelSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12199,7 +12421,7 @@ static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12217,7 +12439,7 @@ static PyObject *_wrap_Grid_SetColLabelSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12249,7 +12471,7 @@ static PyObject *_wrap_Grid_SetLabelBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12281,7 +12503,7 @@ static PyObject *_wrap_Grid_SetLabelTextColour(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetLabelFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -12316,7 +12538,7 @@ static PyObject *_wrap_Grid_SetLabelFont(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -12331,11 +12553,11 @@ static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12353,7 +12575,7 @@ static PyObject *_wrap_Grid_SetRowLabelAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -12368,11 +12590,11 @@ static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12390,7 +12612,7 @@ static PyObject *_wrap_Grid_SetColLabelAlignment(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12403,7 +12625,7 @@ static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12421,7 +12643,7 @@ static PyObject *_wrap_Grid_SetColLabelTextOrientation(PyObject *, PyObject *arg static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -12437,7 +12659,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12468,7 +12690,7 @@ static PyObject *_wrap_Grid_SetRowLabelValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -12484,7 +12706,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12515,7 +12737,7 @@ static PyObject *_wrap_Grid_SetColLabelValue(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetGridLineColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12547,7 +12769,7 @@ static PyObject *_wrap_Grid_SetGridLineColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12579,7 +12801,7 @@ static PyObject *_wrap_Grid_SetCellHighlightColour(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12592,7 +12814,7 @@ static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12610,7 +12832,7 @@ static PyObject *_wrap_Grid_SetCellHighlightPenWidth(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12623,7 +12845,7 @@ static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12641,7 +12863,7 @@ static PyObject *_wrap_Grid_SetCellHighlightROPenWidth(PyObject *, PyObject *arg static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12655,7 +12877,7 @@ static PyObject *_wrap_Grid_EnableDragRowSize(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; } } @@ -12674,7 +12896,7 @@ static PyObject *_wrap_Grid_EnableDragRowSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12699,7 +12921,7 @@ static PyObject *_wrap_Grid_DisableDragRowSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_CanDragRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12727,7 +12949,7 @@ static PyObject *_wrap_Grid_CanDragRowSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12741,7 +12963,7 @@ static PyObject *_wrap_Grid_EnableDragColSize(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; } } @@ -12760,7 +12982,7 @@ static PyObject *_wrap_Grid_EnableDragColSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_DisableDragColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12785,7 +13007,7 @@ static PyObject *_wrap_Grid_DisableDragColSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_CanDragColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12813,7 +13035,7 @@ static PyObject *_wrap_Grid_CanDragColSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12827,7 +13049,7 @@ static PyObject *_wrap_Grid_EnableDragGridSize(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; } } @@ -12846,7 +13068,7 @@ static PyObject *_wrap_Grid_EnableDragGridSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12871,7 +13093,7 @@ static PyObject *_wrap_Grid_DisableDragGridSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_CanDragGridSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12899,7 +13121,7 @@ static PyObject *_wrap_Grid_CanDragGridSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12913,7 +13135,7 @@ static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject 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; } } @@ -12932,7 +13154,7 @@ static PyObject *_wrap_Grid_EnableDragCell(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_DisableDragCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12957,7 +13179,7 @@ static PyObject *_wrap_Grid_DisableDragCell(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_CanDragCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12985,7 +13207,7 @@ static PyObject *_wrap_Grid_CanDragCell(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13002,11 +13224,11 @@ static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); @@ -13026,7 +13248,7 @@ static PyObject *_wrap_Grid_SetAttr(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -13041,7 +13263,7 @@ static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); @@ -13061,7 +13283,7 @@ static PyObject *_wrap_Grid_SetRowAttr(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxGridCellAttr *arg3 = (wxGridCellAttr *) 0 ; @@ -13076,7 +13298,7 @@ static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGridCellAttr, SWIG_POINTER_EXCEPTION | 0); @@ -13096,7 +13318,7 @@ static PyObject *_wrap_Grid_SetColAttr(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13112,11 +13334,11 @@ static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13136,7 +13358,7 @@ static PyObject *_wrap_Grid_GetOrCreateCellAttr(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13149,7 +13371,7 @@ static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13167,7 +13389,7 @@ static PyObject *_wrap_Grid_SetColFormatBool(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13180,7 +13402,7 @@ static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13198,7 +13420,7 @@ static PyObject *_wrap_Grid_SetColFormatNumber(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 = (int) -1 ; @@ -13215,18 +13437,18 @@ static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13245,7 +13467,7 @@ static PyObject *_wrap_Grid_SetColFormatFloat(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -13261,7 +13483,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13292,7 +13514,7 @@ static PyObject *_wrap_Grid_SetColFormatCustom(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -13306,7 +13528,7 @@ static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject 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; } } @@ -13325,7 +13547,7 @@ static PyObject *_wrap_Grid_EnableGridLines(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13353,7 +13575,7 @@ static PyObject *_wrap_Grid_GridLinesEnabled(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13372,7 +13594,7 @@ static PyObject *_wrap_Grid_GetDefaultRowSize(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: @@ -13381,7 +13603,7 @@ static PyObject *_wrap_Grid_GetDefaultRowSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -13395,7 +13617,7 @@ static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13406,7 +13628,7 @@ static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13415,7 +13637,7 @@ static PyObject *_wrap_Grid_GetRowSize(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13434,7 +13656,7 @@ static PyObject *_wrap_Grid_GetDefaultColSize(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: @@ -13443,7 +13665,7 @@ static PyObject *_wrap_Grid_GetDefaultColSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -13457,7 +13679,7 @@ static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13468,7 +13690,7 @@ static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -13477,7 +13699,7 @@ static PyObject *_wrap_Grid_GetColSize(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -13497,7 +13719,7 @@ static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, 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; @@ -13507,7 +13729,7 @@ static PyObject *_wrap_Grid_GetDefaultCellBackgroundColour(PyObject *, PyObject static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13523,11 +13745,11 @@ static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13539,7 +13761,7 @@ static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -13549,7 +13771,7 @@ static PyObject *_wrap_Grid_GetCellBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -13569,7 +13791,7 @@ static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -13579,7 +13801,7 @@ static PyObject *_wrap_Grid_GetDefaultCellTextColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13595,11 +13817,11 @@ static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13611,7 +13833,7 @@ static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -13621,7 +13843,7 @@ static PyObject *_wrap_Grid_GetCellTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -13641,7 +13863,7 @@ static PyObject *_wrap_Grid_GetDefaultCellFont(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; @@ -13651,7 +13873,7 @@ static PyObject *_wrap_Grid_GetDefaultCellFont(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13667,11 +13889,11 @@ static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13683,7 +13905,7 @@ static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kw } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -13693,7 +13915,7 @@ static PyObject *_wrap_Grid_GetCellFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -13730,7 +13952,7 @@ static PyObject *_wrap_Grid_GetDefaultCellAlignment(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13753,11 +13975,11 @@ static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13779,7 +14001,7 @@ static PyObject *_wrap_Grid_GetCellAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13807,7 +14029,7 @@ static PyObject *_wrap_Grid_GetDefaultCellOverflow(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13823,11 +14045,11 @@ static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13847,7 +14069,7 @@ static PyObject *_wrap_Grid_GetCellOverflow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13870,11 +14092,11 @@ static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13896,7 +14118,7 @@ static PyObject *_wrap_Grid_GetCellSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -13911,12 +14133,12 @@ static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -13935,7 +14157,7 @@ static PyObject *_wrap_Grid_SetDefaultRowSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -13950,11 +14172,11 @@ static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -13972,7 +14194,7 @@ static PyObject *_wrap_Grid_SetRowSize(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -13987,12 +14209,12 @@ static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14011,7 +14233,7 @@ static PyObject *_wrap_Grid_SetDefaultColSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14026,11 +14248,11 @@ static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14048,7 +14270,7 @@ static PyObject *_wrap_Grid_SetColSize(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -14063,12 +14285,12 @@ static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14087,7 +14309,7 @@ static PyObject *_wrap_Grid_AutoSizeColumn(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -14102,12 +14324,12 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -14126,7 +14348,7 @@ static PyObject *_wrap_Grid_AutoSizeRow(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -14140,7 +14362,7 @@ static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject 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; } } @@ -14159,7 +14381,7 @@ static PyObject *_wrap_Grid_AutoSizeColumns(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -14173,7 +14395,7 @@ static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *k 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; } } @@ -14192,7 +14414,7 @@ static PyObject *_wrap_Grid_AutoSizeRows(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_AutoSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14217,7 +14439,7 @@ static PyObject *_wrap_Grid_AutoSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14230,7 +14452,7 @@ static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14248,7 +14470,7 @@ static PyObject *_wrap_Grid_AutoSizeRowLabelSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14261,7 +14483,7 @@ static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14279,7 +14501,7 @@ static PyObject *_wrap_Grid_AutoSizeColLabelSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14294,11 +14516,11 @@ static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14316,7 +14538,7 @@ static PyObject *_wrap_Grid_SetColMinimalWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14331,11 +14553,11 @@ static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14353,7 +14575,7 @@ static PyObject *_wrap_Grid_SetRowMinimalHeight(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14366,7 +14588,7 @@ static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14384,7 +14606,7 @@ static PyObject *_wrap_Grid_SetColMinimalAcceptableWidth(PyObject *, PyObject *a static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14397,7 +14619,7 @@ static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14415,7 +14637,7 @@ static PyObject *_wrap_Grid_SetRowMinimalAcceptableHeight(PyObject *, PyObject * static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14434,7 +14656,7 @@ static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14443,7 +14665,7 @@ static PyObject *_wrap_Grid_GetColMinimalAcceptableWidth(PyObject *, PyObject *a static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14462,7 +14684,7 @@ static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14471,7 +14693,7 @@ static PyObject *_wrap_Grid_GetRowMinimalAcceptableHeight(PyObject *, PyObject * static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -14503,7 +14725,7 @@ static PyObject *_wrap_Grid_SetDefaultCellBackgroundColour(PyObject *, PyObject static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14521,11 +14743,11 @@ static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14547,7 +14769,7 @@ static PyObject *_wrap_Grid_SetCellBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -14579,7 +14801,7 @@ static PyObject *_wrap_Grid_SetDefaultCellTextColour(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14597,11 +14819,11 @@ static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14623,7 +14845,7 @@ static PyObject *_wrap_Grid_SetCellTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14658,7 +14880,7 @@ static PyObject *_wrap_Grid_SetDefaultCellFont(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14675,11 +14897,11 @@ static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14705,7 +14927,7 @@ static PyObject *_wrap_Grid_SetCellFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14720,11 +14942,11 @@ static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14742,7 +14964,7 @@ static PyObject *_wrap_Grid_SetDefaultCellAlignment(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14761,19 +14983,19 @@ static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14791,7 +15013,7 @@ static PyObject *_wrap_Grid_SetCellAlignment(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -14804,7 +15026,7 @@ static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, 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; } { @@ -14822,7 +15044,7 @@ static PyObject *_wrap_Grid_SetDefaultCellOverflow(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14839,15 +15061,15 @@ static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -14865,7 +15087,7 @@ static PyObject *_wrap_Grid_SetCellOverflow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14884,19 +15106,19 @@ static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -14914,7 +15136,7 @@ static PyObject *_wrap_Grid_SetCellSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellRenderer *arg2 = (wxGridCellRenderer *) 0 ; PyObject * obj0 = 0 ; @@ -14943,7 +15165,7 @@ static PyObject *_wrap_Grid_SetDefaultRenderer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -14960,11 +15182,11 @@ static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellRenderer, SWIG_POINTER_EXCEPTION | 0); @@ -14984,7 +15206,7 @@ static PyObject *_wrap_Grid_SetCellRenderer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellRenderer *result; PyObject * obj0 = 0 ; @@ -15012,7 +15234,7 @@ static PyObject *_wrap_Grid_GetDefaultRenderer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15028,11 +15250,11 @@ static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15052,7 +15274,7 @@ static PyObject *_wrap_Grid_GetCellRenderer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellEditor *arg2 = (wxGridCellEditor *) 0 ; PyObject * obj0 = 0 ; @@ -15081,7 +15303,7 @@ static PyObject *_wrap_Grid_SetDefaultEditor(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15098,11 +15320,11 @@ static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGridCellEditor, SWIG_POINTER_EXCEPTION | 0); @@ -15122,7 +15344,7 @@ static PyObject *_wrap_Grid_SetCellEditor(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellEditor *result; PyObject * obj0 = 0 ; @@ -15150,7 +15372,7 @@ static PyObject *_wrap_Grid_GetDefaultEditor(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15166,11 +15388,11 @@ static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15190,7 +15412,7 @@ static PyObject *_wrap_Grid_GetCellEditor(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15206,11 +15428,11 @@ static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15234,7 +15456,7 @@ static PyObject *_wrap_Grid_GetCellValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15252,11 +15474,11 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15287,7 +15509,7 @@ static PyObject *_wrap_Grid_SetCellValue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15303,11 +15525,11 @@ static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15327,7 +15549,7 @@ static PyObject *_wrap_Grid_IsReadOnly(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15344,16 +15566,16 @@ static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -15372,7 +15594,7 @@ static PyObject *_wrap_Grid_SetReadOnly(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -15387,12 +15609,12 @@ static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -15411,7 +15633,7 @@ static PyObject *_wrap_Grid_SelectRow(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -15426,12 +15648,12 @@ static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -15450,7 +15672,7 @@ static PyObject *_wrap_Grid_SelectCol(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15471,24 +15693,24 @@ static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -15507,7 +15729,7 @@ static PyObject *_wrap_Grid_SelectBlock(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15532,7 +15754,7 @@ static PyObject *_wrap_Grid_SelectAll(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Grid_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15560,7 +15782,7 @@ static PyObject *_wrap_Grid_IsSelection(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_ClearSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15585,7 +15807,7 @@ static PyObject *_wrap_Grid_ClearSelection(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15601,11 +15823,11 @@ static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15625,7 +15847,7 @@ static PyObject *_wrap_Grid_IsInSelection(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetSelectedCells(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellCoordsArray result; PyObject * obj0 = 0 ; @@ -15653,7 +15875,7 @@ static PyObject *_wrap_Grid_GetSelectedCells(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellCoordsArray result; PyObject * obj0 = 0 ; @@ -15681,7 +15903,7 @@ static PyObject *_wrap_Grid_GetSelectionBlockTopLeft(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellCoordsArray result; PyObject * obj0 = 0 ; @@ -15709,7 +15931,7 @@ static PyObject *_wrap_Grid_GetSelectionBlockBottomRight(PyObject *, PyObject *a static PyObject *_wrap_Grid_GetSelectedRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxArrayInt result; PyObject * obj0 = 0 ; @@ -15743,7 +15965,7 @@ static PyObject *_wrap_Grid_GetSelectedRows(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetSelectedCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxArrayInt result; PyObject * obj0 = 0 ; @@ -15777,7 +15999,7 @@ static PyObject *_wrap_Grid_GetSelectedCols(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15790,7 +16012,7 @@ static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15808,7 +16030,7 @@ static PyObject *_wrap_Grid_DeselectRow(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15821,7 +16043,7 @@ static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15839,7 +16061,7 @@ static PyObject *_wrap_Grid_DeselectCol(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -15854,11 +16076,11 @@ static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15876,7 +16098,7 @@ static PyObject *_wrap_Grid_DeselectCell(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxGridCellCoords *arg2 = 0 ; wxGridCellCoords *arg3 = 0 ; @@ -15910,7 +16132,7 @@ static PyObject *_wrap_Grid_BlockToDeviceRect(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; @@ -15920,7 +16142,7 @@ static PyObject *_wrap_Grid_BlockToDeviceRect(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -15940,7 +16162,7 @@ static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, P } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -15950,7 +16172,7 @@ static PyObject *_wrap_Grid_GetSelectionBackground(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -15970,7 +16192,7 @@ static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, P } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -15980,7 +16202,7 @@ static PyObject *_wrap_Grid_GetSelectionForeground(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -16012,7 +16234,7 @@ static PyObject *_wrap_Grid_SetSelectionBackground(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -16044,7 +16266,7 @@ static PyObject *_wrap_Grid_SetSelectionForeground(PyObject *, PyObject *args, P static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellRenderer *arg3 = (wxGridCellRenderer *) 0 ; @@ -16093,7 +16315,7 @@ static PyObject *_wrap_Grid_RegisterDataType(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -16109,11 +16331,11 @@ static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16133,7 +16355,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForCell(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -16149,11 +16371,11 @@ static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16173,7 +16395,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForCell(PyObject *, PyObject *args static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellEditor *result; @@ -16217,7 +16439,7 @@ static PyObject *_wrap_Grid_GetDefaultEditorForType(PyObject *, PyObject *args, static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxString *arg2 = 0 ; wxGridCellRenderer *result; @@ -16261,7 +16483,7 @@ static PyObject *_wrap_Grid_GetDefaultRendererForType(PyObject *, PyObject *args static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int arg3 ; @@ -16276,11 +16498,11 @@ static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -16298,7 +16520,7 @@ static PyObject *_wrap_Grid_SetMargins(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetGridWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16326,7 +16548,7 @@ static PyObject *_wrap_Grid_GetGridWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16354,7 +16576,7 @@ static PyObject *_wrap_Grid_GetGridRowLabelWindow(PyObject *, PyObject *args, Py static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16382,7 +16604,7 @@ static PyObject *_wrap_Grid_GetGridColLabelWindow(PyObject *, PyObject *args, Py static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -16410,7 +16632,7 @@ static PyObject *_wrap_Grid_GetGridCornerLabelWindow(PyObject *, PyObject *args, static PyObject *_wrap_Grid_SetScrollLineX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16423,7 +16645,7 @@ static PyObject *_wrap_Grid_SetScrollLineX(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16441,7 +16663,7 @@ static PyObject *_wrap_Grid_SetScrollLineX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_SetScrollLineY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16454,7 +16676,7 @@ static PyObject *_wrap_Grid_SetScrollLineY(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16472,7 +16694,7 @@ static PyObject *_wrap_Grid_SetScrollLineY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetScrollLineX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16491,7 +16713,7 @@ static PyObject *_wrap_Grid_GetScrollLineX(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: @@ -16500,7 +16722,7 @@ static PyObject *_wrap_Grid_GetScrollLineX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetScrollLineY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16519,7 +16741,7 @@ static PyObject *_wrap_Grid_GetScrollLineY(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: @@ -16528,7 +16750,7 @@ static PyObject *_wrap_Grid_GetScrollLineY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -16542,7 +16764,7 @@ static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16553,7 +16775,7 @@ static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16562,7 +16784,7 @@ static PyObject *_wrap_Grid_GetScrollX(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGrid *arg1 = (wxGrid *) 0 ; int arg2 ; int result; @@ -16576,7 +16798,7 @@ static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16587,7 +16809,7 @@ static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16596,7 +16818,7 @@ static PyObject *_wrap_Grid_GetScrollY(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -16607,21 +16829,21 @@ static PyObject *_wrap_Grid_GetClassDefaultAttributes(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Grid_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 = wxGrid::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxGrid::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; @@ -16638,7 +16860,7 @@ static PyObject * Grid_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxEventType arg2 ; wxGrid *arg3 = (wxGrid *) 0 ; @@ -16670,66 +16892,66 @@ static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOOOO:new_GridEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10,&obj11)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(3)) SWIG_fail; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (bool)(SWIG_As_bool(obj7)); + arg8 = static_cast(SWIG_As_bool(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (bool)(SWIG_As_bool(obj8)); + arg9 = static_cast(SWIG_As_bool(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (bool)(SWIG_As_bool(obj9)); + arg10 = static_cast(SWIG_As_bool(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } if (obj10) { { - arg11 = (bool)(SWIG_As_bool(obj10)); + arg11 = static_cast(SWIG_As_bool(obj10)); if (SWIG_arg_fail(11)) SWIG_fail; } } if (obj11) { { - arg12 = (bool)(SWIG_As_bool(obj11)); + arg12 = static_cast(SWIG_As_bool(obj11)); if (SWIG_arg_fail(12)) SWIG_fail; } } @@ -16748,7 +16970,7 @@ static PyObject *_wrap_new_GridEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GridEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16767,7 +16989,7 @@ static PyObject *_wrap_GridEvent_GetRow(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: @@ -16776,7 +16998,7 @@ static PyObject *_wrap_GridEvent_GetRow(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16795,7 +17017,7 @@ static PyObject *_wrap_GridEvent_GetCol(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: @@ -16804,7 +17026,7 @@ static PyObject *_wrap_GridEvent_GetCol(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -16824,7 +17046,7 @@ static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -16834,7 +17056,7 @@ static PyObject *_wrap_GridEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16862,7 +17084,7 @@ static PyObject *_wrap_GridEvent_Selecting(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16890,7 +17112,7 @@ static PyObject *_wrap_GridEvent_ControlDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GridEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16918,7 +17140,7 @@ static PyObject *_wrap_GridEvent_MetaDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GridEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16946,7 +17168,7 @@ static PyObject *_wrap_GridEvent_ShiftDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEvent *arg1 = (wxGridEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16981,7 +17203,7 @@ static PyObject * GridEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxEventType arg2 ; wxGrid *arg3 = (wxGrid *) 0 ; @@ -17009,54 +17231,54 @@ static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_GridSizeEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(3)) SWIG_fail; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(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; } } if (obj8) { { - arg9 = (bool)(SWIG_As_bool(obj8)); + arg9 = static_cast(SWIG_As_bool(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (bool)(SWIG_As_bool(obj9)); + arg10 = static_cast(SWIG_As_bool(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -17075,7 +17297,7 @@ static PyObject *_wrap_new_GridSizeEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17094,7 +17316,7 @@ static PyObject *_wrap_GridSizeEvent_GetRowOrCol(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: @@ -17103,7 +17325,7 @@ static PyObject *_wrap_GridSizeEvent_GetRowOrCol(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -17123,7 +17345,7 @@ static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyO } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -17133,7 +17355,7 @@ static PyObject *_wrap_GridSizeEvent_GetPosition(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17161,7 +17383,7 @@ static PyObject *_wrap_GridSizeEvent_ControlDown(PyObject *, PyObject *args, PyO static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17189,7 +17411,7 @@ static PyObject *_wrap_GridSizeEvent_MetaDown(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17217,7 +17439,7 @@ static PyObject *_wrap_GridSizeEvent_ShiftDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_GridSizeEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizeEvent *arg1 = (wxGridSizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17252,7 +17474,7 @@ static PyObject * GridSizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxEventType arg2 ; wxGrid *arg3 = (wxGrid *) 0 ; @@ -17282,11 +17504,11 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_GridRangeSelectEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGrid, SWIG_POINTER_EXCEPTION | 0); @@ -17301,31 +17523,31 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyOb } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj7) { { - arg8 = (bool)(SWIG_As_bool(obj7)); + arg8 = static_cast(SWIG_As_bool(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (bool)(SWIG_As_bool(obj8)); + arg9 = static_cast(SWIG_As_bool(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj9) { { - arg10 = (bool)(SWIG_As_bool(obj9)); + arg10 = static_cast(SWIG_As_bool(obj9)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -17344,7 +17566,7 @@ static PyObject *_wrap_new_GridRangeSelectEvent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; wxGridCellCoords result; PyObject * obj0 = 0 ; @@ -17364,7 +17586,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObjec } { wxGridCellCoords * resultptr; - resultptr = new wxGridCellCoords((wxGridCellCoords &)(result)); + resultptr = new wxGridCellCoords(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1); } return resultobj; @@ -17374,7 +17596,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetTopLeftCoords(PyObject *, PyObjec static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; wxGridCellCoords result; PyObject * obj0 = 0 ; @@ -17394,7 +17616,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyO } { wxGridCellCoords * resultptr; - resultptr = new wxGridCellCoords((wxGridCellCoords &)(result)); + resultptr = new wxGridCellCoords(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGridCellCoords, 1); } return resultobj; @@ -17404,7 +17626,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetBottomRightCoords(PyObject *, PyO static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17423,7 +17645,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17432,7 +17654,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetTopRow(PyObject *, PyObject *args static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17451,7 +17673,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17460,7 +17682,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetBottomRow(PyObject *, PyObject *a static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17479,7 +17701,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17488,7 +17710,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetLeftCol(PyObject *, PyObject *arg static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17507,7 +17729,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17516,7 +17738,7 @@ static PyObject *_wrap_GridRangeSelectEvent_GetRightCol(PyObject *, PyObject *ar static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17544,7 +17766,7 @@ static PyObject *_wrap_GridRangeSelectEvent_Selecting(PyObject *, PyObject *args static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17572,7 +17794,7 @@ static PyObject *_wrap_GridRangeSelectEvent_ControlDown(PyObject *, PyObject *ar static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17600,7 +17822,7 @@ static PyObject *_wrap_GridRangeSelectEvent_MetaDown(PyObject *, PyObject *args, static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17628,7 +17850,7 @@ static PyObject *_wrap_GridRangeSelectEvent_ShiftDown(PyObject *, PyObject *args static PyObject *_wrap_GridRangeSelectEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridRangeSelectEvent *arg1 = (wxGridRangeSelectEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17663,7 +17885,7 @@ static PyObject * GridRangeSelectEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxEventType arg2 ; wxObject *arg3 = (wxObject *) 0 ; @@ -17683,21 +17905,21 @@ static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GridEditorCreatedEvent",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); 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; } SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0); @@ -17717,7 +17939,7 @@ static PyObject *_wrap_new_GridEditorCreatedEvent(PyObject *, PyObject *args, Py static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17736,7 +17958,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17745,7 +17967,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetRow(PyObject *, PyObject *args, static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17764,7 +17986,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17773,7 +17995,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetCol(PyObject *, PyObject *args, static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; wxControl *result; PyObject * obj0 = 0 ; @@ -17801,7 +18023,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_GetControl(PyObject *, PyObject *a static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17814,7 +18036,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17832,7 +18054,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_SetRow(PyObject *, PyObject *args, static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17845,7 +18067,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridEditorCreatedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -17863,7 +18085,7 @@ static PyObject *_wrap_GridEditorCreatedEvent_SetCol(PyObject *, PyObject *args, static PyObject *_wrap_GridEditorCreatedEvent_SetControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridEditorCreatedEvent *arg1 = (wxGridEditorCreatedEvent *) 0 ; wxControl *arg2 = (wxControl *) 0 ; PyObject * obj0 = 0 ; @@ -19405,133 +19627,768 @@ static void *_p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider(void *x) { static void *_p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor(void *x) { return (void *)((wxGridCellChoiceEditor *) ((wxGridCellEnumEditor *) x)); } -static swig_type_info _swigt__p_wxGridCellNumberRenderer[] = {{"_p_wxGridCellNumberRenderer", 0, "wxGridCellNumberRenderer *", 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyGridCellRenderer[] = {{"_p_wxPyGridCellRenderer", 0, "wxPyGridCellRenderer *", 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellRenderer[] = {{"_p_wxGridCellRenderer", 0, "wxGridCellRenderer *", 0, 0, 0, 0},{"_p_wxGridCellRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellRenderer", _p_wxPyGridCellRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", _p_wxGridCellStringRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellStringRenderer[] = {{"_p_wxGridCellStringRenderer", 0, "wxGridCellStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellStringRenderer", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberRenderer", _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellAttr[] = {{"_p_wxGridCellAttr", 0, "wxGridCellAttr *", 0, 0, 0, 0},{"_p_wxGridCellAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellFloatRenderer[] = {{"_p_wxGridCellFloatRenderer", 0, "wxGridCellFloatRenderer *", 0, 0, 0, 0},{"_p_wxGridCellFloatRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellBoolRenderer[] = {{"_p_wxGridCellBoolRenderer", 0, "wxGridCellBoolRenderer *", 0, 0, 0, 0},{"_p_wxGridCellBoolRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellDateTimeRenderer[] = {{"_p_wxGridCellDateTimeRenderer", 0, "wxGridCellDateTimeRenderer *", 0, 0, 0, 0},{"_p_wxGridCellDateTimeRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellEnumRenderer[] = {{"_p_wxGridCellEnumRenderer", 0, "wxGridCellEnumRenderer *", 0, 0, 0, 0},{"_p_wxGridCellEnumRenderer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer[] = {{"_p_wxGridCellAutoWrapStringRenderer", 0, "wxGridCellAutoWrapStringRenderer *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringRenderer", 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_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_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_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_wxGridTableMessage[] = {{"_p_wxGridTableMessage", 0, "wxGridTableMessage *", 0, 0, 0, 0},{"_p_wxGridTableMessage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGrid[] = {{"_p_wxGrid", 0, "wxGrid *", 0, 0, 0, 0},{"_p_wxGrid", 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_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_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxGrid", _p_wxGridTo_p_wxPanel, 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_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_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_wxGridRangeSelectEvent[] = {{"_p_wxGridRangeSelectEvent", 0, "wxGridRangeSelectEvent *", 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", 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_wxGridCellCoords[] = {{"_p_wxGridCellCoords", 0, "wxGridCellCoords *", 0, 0, 0, 0},{"_p_wxGridCellCoords", 0, 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_wxGrid", _p_wxGridTo_p_wxScrolledWindow, 0, 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_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_wxGrid", _p_wxGridTo_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_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_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_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_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_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_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_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_wxGridSizeEvent", _p_wxGridSizeEventTo_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_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_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_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_wxGridStringTable", _p_wxGridStringTableTo_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_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_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_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxGrid", _p_wxGridTo_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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_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_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxTipWindow", _p_wxTipWindowTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_wxGridTableBase", _p_wxGridTableBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_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_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_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_wxGridSizeEvent[] = {{"_p_wxGridSizeEvent", 0, "wxGridSizeEvent *", 0, 0, 0, 0},{"_p_wxGridSizeEvent", 0, 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_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_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_wxGrid", _p_wxGridTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_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_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_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_wxGridEvent[] = {{"_p_wxGridEvent", 0, "wxGridEvent *", 0, 0, 0, 0},{"_p_wxGridEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridEditorCreatedEvent[] = {{"_p_wxGridEditorCreatedEvent", 0, "wxGridEditorCreatedEvent *", 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridTableBase[] = {{"_p_wxGridTableBase", 0, "wxGridTableBase *", 0, 0, 0, 0},{"_p_wxGridStringTable", _p_wxGridStringTableTo_p_wxGridTableBase, 0, 0, 0, 0, 0},{"_p_wxGridTableBase", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridTableBase", _p_wxPyGridTableBaseTo_p_wxGridTableBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellEditor[] = {{"_p_wxGridCellEditor", 0, "wxGridCellEditor *", 0, 0, 0, 0},{"_p_wxGridCellEditor", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellEditor", _p_wxPyGridCellEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellTextEditor", _p_wxGridCellTextEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", _p_wxGridCellBoolEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellTextEditor[] = {{"_p_wxGridCellTextEditor", 0, "wxGridCellTextEditor *", 0, 0, 0, 0},{"_p_wxGridCellTextEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyGridCellEditor[] = {{"_p_wxPyGridCellEditor", 0, "wxPyGridCellEditor *", 0, 0, 0, 0},{"_p_wxPyGridCellEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellNumberEditor[] = {{"_p_wxGridCellNumberEditor", 0, "wxGridCellNumberEditor *", 0, 0, 0, 0},{"_p_wxGridCellNumberEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellFloatEditor[] = {{"_p_wxGridCellFloatEditor", 0, "wxGridCellFloatEditor *", 0, 0, 0, 0},{"_p_wxGridCellFloatEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellBoolEditor[] = {{"_p_wxGridCellBoolEditor", 0, "wxGridCellBoolEditor *", 0, 0, 0, 0},{"_p_wxGridCellBoolEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyGridTableBase[] = {{"_p_wxPyGridTableBase", 0, "wxPyGridTableBase *", 0, 0, 0, 0},{"_p_wxPyGridTableBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridStringTable[] = {{"_p_wxGridStringTable", 0, "wxGridStringTable *", 0, 0, 0, 0},{"_p_wxGridStringTable", 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__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__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__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridRangeSelectEvent", _p_wxGridRangeSelectEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridSizeEvent", _p_wxGridSizeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridEvent", _p_wxGridEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxGridEditorCreatedEvent", _p_wxGridEditorCreatedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 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_wxGridCellAttrProvider[] = {{"_p_wxGridCellAttrProvider", 0, "wxGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellChoiceEditor[] = {{"_p_wxGridCellChoiceEditor", 0, "wxGridCellChoiceEditor *", 0, 0, 0, 0},{"_p_wxGridCellChoiceEditor", 0, 0, 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellEnumEditor[] = {{"_p_wxGridCellEnumEditor", 0, "wxGridCellEnumEditor *", 0, 0, 0, 0},{"_p_wxGridCellEnumEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor[] = {{"_p_wxGridCellAutoWrapStringEditor", 0, "wxGridCellAutoWrapStringEditor *", 0, 0, 0, 0},{"_p_wxGridCellAutoWrapStringEditor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyGridCellAttrProvider[] = {{"_p_wxPyGridCellAttrProvider", 0, "wxPyGridCellAttrProvider *", 0, 0, 0, 0},{"_p_wxPyGridCellAttrProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxGridCellNumberRenderer, -_swigt__p_wxPyGridCellRenderer, -_swigt__p_wxGridCellRenderer, -_swigt__p_wxGridCellStringRenderer, -_swigt__p_wxGridCellAttr, -_swigt__p_wxGridCellFloatRenderer, -_swigt__p_wxGridCellBoolRenderer, -_swigt__p_wxGridCellDateTimeRenderer, -_swigt__p_wxGridCellEnumRenderer, -_swigt__p_wxGridCellAutoWrapStringRenderer, -_swigt__p_wxColour, -_swigt__p_wxDC, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxGridTableMessage, -_swigt__p_wxGrid, -_swigt__p_wxVisualAttributes, -_swigt__p_char, -_swigt__p_wxPanel, -_swigt__p_wxNotifyEvent, -_swigt__p_wxGridRangeSelectEvent, -_swigt__p_wxSize, -_swigt__p_wxGridCellCoords, -_swigt__p_wxScrolledWindow, -_swigt__p_wxWindow, -_swigt__p_wxFont, -_swigt__p_wxControl, -_swigt__p_wxEvent, -_swigt__p_wxObject, -_swigt__p_wxGridSizeEvent, -_swigt__p_wxRect, -_swigt__p_long, -_swigt__p_wxPaperSize, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxString, -_swigt__p_wxEvtHandler, -_swigt__p_wxPoint, -_swigt__p_wxGridEvent, -_swigt__p_wxGridEditorCreatedEvent, -_swigt__p_wxGridTableBase, -_swigt__p_wxGridCellEditor, -_swigt__p_wxGridCellTextEditor, -_swigt__p_wxPyGridCellEditor, -_swigt__p_wxGridCellNumberEditor, -_swigt__p_wxGridCellFloatEditor, -_swigt__p_wxGridCellBoolEditor, -_swigt__p_wxPyGridTableBase, -_swigt__p_wxGridStringTable, -_swigt__p_unsigned_char, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxArrayString, -_swigt__p_wxCommandEvent, -_swigt__p_int, -_swigt__p_wxGridCellAttrProvider, -_swigt__p_wxGridCellChoiceEditor, -_swigt__p_wxKeyEvent, -_swigt__p_wxGridCellEnumEditor, -_swigt__p_wxGridCellAutoWrapStringEditor, -_swigt__p_wxPyGridCellAttrProvider, -_swigt__p_unsigned_long, -0 +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 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_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 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_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGrid = {"_p_wxGrid", "wxGrid *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellAttr = {"_p_wxGridCellAttr", "wxGridCellAttr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellAttrProvider = {"_p_wxGridCellAttrProvider", "wxGridCellAttrProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellAutoWrapStringEditor = {"_p_wxGridCellAutoWrapStringEditor", "wxGridCellAutoWrapStringEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellAutoWrapStringRenderer = {"_p_wxGridCellAutoWrapStringRenderer", "wxGridCellAutoWrapStringRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellBoolEditor = {"_p_wxGridCellBoolEditor", "wxGridCellBoolEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellBoolRenderer = {"_p_wxGridCellBoolRenderer", "wxGridCellBoolRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellChoiceEditor = {"_p_wxGridCellChoiceEditor", "wxGridCellChoiceEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellCoords = {"_p_wxGridCellCoords", "wxGridCellCoords *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellDateTimeRenderer = {"_p_wxGridCellDateTimeRenderer", "wxGridCellDateTimeRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellEditor = {"_p_wxGridCellEditor", "wxGridCellEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellEnumEditor = {"_p_wxGridCellEnumEditor", "wxGridCellEnumEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellEnumRenderer = {"_p_wxGridCellEnumRenderer", "wxGridCellEnumRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellFloatEditor = {"_p_wxGridCellFloatEditor", "wxGridCellFloatEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellFloatRenderer = {"_p_wxGridCellFloatRenderer", "wxGridCellFloatRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellNumberEditor = {"_p_wxGridCellNumberEditor", "wxGridCellNumberEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellNumberRenderer = {"_p_wxGridCellNumberRenderer", "wxGridCellNumberRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellRenderer = {"_p_wxGridCellRenderer", "wxGridCellRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellStringRenderer = {"_p_wxGridCellStringRenderer", "wxGridCellStringRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridCellTextEditor = {"_p_wxGridCellTextEditor", "wxGridCellTextEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridEditorCreatedEvent = {"_p_wxGridEditorCreatedEvent", "wxGridEditorCreatedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridEvent = {"_p_wxGridEvent", "wxGridEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridRangeSelectEvent = {"_p_wxGridRangeSelectEvent", "wxGridRangeSelectEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizeEvent = {"_p_wxGridSizeEvent", "wxGridSizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridStringTable = {"_p_wxGridStringTable", "wxGridStringTable *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridTableBase = {"_p_wxGridTableBase", "wxGridTableBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridTableMessage = {"_p_wxGridTableMessage", "wxGridTableMessage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 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_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 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_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 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_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 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_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyGridCellAttrProvider = {"_p_wxPyGridCellAttrProvider", "wxPyGridCellAttrProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyGridCellEditor = {"_p_wxPyGridCellEditor", "wxPyGridCellEditor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyGridCellRenderer = {"_p_wxPyGridCellRenderer", "wxPyGridCellRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyGridTableBase = {"_p_wxPyGridTableBase", "wxPyGridTableBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 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_long, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_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_wxGrid, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridCellAttr, + &_swigt__p_wxGridCellAttrProvider, + &_swigt__p_wxGridCellAutoWrapStringEditor, + &_swigt__p_wxGridCellAutoWrapStringRenderer, + &_swigt__p_wxGridCellBoolEditor, + &_swigt__p_wxGridCellBoolRenderer, + &_swigt__p_wxGridCellChoiceEditor, + &_swigt__p_wxGridCellCoords, + &_swigt__p_wxGridCellDateTimeRenderer, + &_swigt__p_wxGridCellEditor, + &_swigt__p_wxGridCellEnumEditor, + &_swigt__p_wxGridCellEnumRenderer, + &_swigt__p_wxGridCellFloatEditor, + &_swigt__p_wxGridCellFloatRenderer, + &_swigt__p_wxGridCellNumberEditor, + &_swigt__p_wxGridCellNumberRenderer, + &_swigt__p_wxGridCellRenderer, + &_swigt__p_wxGridCellStringRenderer, + &_swigt__p_wxGridCellTextEditor, + &_swigt__p_wxGridEditorCreatedEvent, + &_swigt__p_wxGridEvent, + &_swigt__p_wxGridRangeSelectEvent, + &_swigt__p_wxGridSizeEvent, + &_swigt__p_wxGridSizer, + &_swigt__p_wxGridStringTable, + &_swigt__p_wxGridTableBase, + &_swigt__p_wxGridTableMessage, + &_swigt__p_wxICOHandler, + &_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_wxPyGridCellAttrProvider, + &_swigt__p_wxPyGridCellEditor, + &_swigt__p_wxPyGridCellRenderer, + &_swigt__p_wxPyGridTableBase, + &_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_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_wxTaskBarIconEvent, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTipWindow, + &_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_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 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_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 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_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 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_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent, _p_wxGridRangeSelectEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxGridSizeEvent, _p_wxGridSizeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxGridEvent, _p_wxGridEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxGridEditorCreatedEvent, _p_wxGridEditorCreatedEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 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_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 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_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 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_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 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_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_wxGridRangeSelectEvent, _p_wxGridRangeSelectEventTo_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_wxGridSizeEvent, _p_wxGridSizeEventTo_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_wxGridEditorCreatedEvent, _p_wxGridEditorCreatedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxGridEvent, _p_wxGridEventTo_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_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 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_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 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_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 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_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 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_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 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_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 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_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 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_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 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_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 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_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 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_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 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_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 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_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 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_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 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_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 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_wxFrame[] = {{&_swigt__p_wxFrame, 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_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 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_wxDialog[] = {{&_swigt__p_wxDialog, 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_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 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_wxGrid, _p_wxGridTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGrid[] = { {&_swigt__p_wxGrid, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellAttr[] = { {&_swigt__p_wxGridCellAttr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellAttrProvider[] = { {&_swigt__p_wxGridCellAttrProvider, 0, 0, 0}, {&_swigt__p_wxPyGridCellAttrProvider, _p_wxPyGridCellAttrProviderTo_p_wxGridCellAttrProvider, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellAutoWrapStringEditor[] = { {&_swigt__p_wxGridCellAutoWrapStringEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellAutoWrapStringRenderer[] = { {&_swigt__p_wxGridCellAutoWrapStringRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellBoolEditor[] = { {&_swigt__p_wxGridCellBoolEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellBoolRenderer[] = { {&_swigt__p_wxGridCellBoolRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellChoiceEditor[] = { {&_swigt__p_wxGridCellChoiceEditor, 0, 0, 0}, {&_swigt__p_wxGridCellEnumEditor, _p_wxGridCellEnumEditorTo_p_wxGridCellChoiceEditor, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellCoords[] = { {&_swigt__p_wxGridCellCoords, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellDateTimeRenderer[] = { {&_swigt__p_wxGridCellDateTimeRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellEditor[] = { {&_swigt__p_wxGridCellEditor, 0, 0, 0}, {&_swigt__p_wxPyGridCellEditor, _p_wxPyGridCellEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellTextEditor, _p_wxGridCellTextEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellNumberEditor, _p_wxGridCellNumberEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellFloatEditor, _p_wxGridCellFloatEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellBoolEditor, _p_wxGridCellBoolEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellChoiceEditor, _p_wxGridCellChoiceEditorTo_p_wxGridCellEditor, 0, 0}, {&_swigt__p_wxGridCellEnumEditor, _p_wxGridCellEnumEditorTo_p_wxGridCellEditor, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellEnumEditor[] = { {&_swigt__p_wxGridCellEnumEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellEnumRenderer[] = { {&_swigt__p_wxGridCellEnumRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellFloatEditor[] = { {&_swigt__p_wxGridCellFloatEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellFloatRenderer[] = { {&_swigt__p_wxGridCellFloatRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellNumberEditor[] = { {&_swigt__p_wxGridCellNumberEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellNumberRenderer[] = { {&_swigt__p_wxGridCellNumberRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellRenderer[] = { {&_swigt__p_wxGridCellRenderer, 0, 0, 0}, {&_swigt__p_wxPyGridCellRenderer, _p_wxPyGridCellRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellStringRenderer, _p_wxGridCellStringRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer, _p_wxGridCellNumberRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer, _p_wxGridCellFloatRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer, _p_wxGridCellDateTimeRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer, _p_wxGridCellEnumRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellRenderer, 0, 0}, {&_swigt__p_wxGridCellBoolRenderer, _p_wxGridCellBoolRendererTo_p_wxGridCellRenderer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellStringRenderer[] = { {&_swigt__p_wxGridCellStringRenderer, 0, 0, 0}, {&_swigt__p_wxGridCellNumberRenderer, _p_wxGridCellNumberRendererTo_p_wxGridCellStringRenderer, 0, 0}, {&_swigt__p_wxGridCellFloatRenderer, _p_wxGridCellFloatRendererTo_p_wxGridCellStringRenderer, 0, 0}, {&_swigt__p_wxGridCellDateTimeRenderer, _p_wxGridCellDateTimeRendererTo_p_wxGridCellStringRenderer, 0, 0}, {&_swigt__p_wxGridCellEnumRenderer, _p_wxGridCellEnumRendererTo_p_wxGridCellStringRenderer, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringRenderer, _p_wxGridCellAutoWrapStringRendererTo_p_wxGridCellStringRenderer, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridCellTextEditor[] = { {&_swigt__p_wxGridCellTextEditor, 0, 0, 0}, {&_swigt__p_wxGridCellNumberEditor, _p_wxGridCellNumberEditorTo_p_wxGridCellTextEditor, 0, 0}, {&_swigt__p_wxGridCellFloatEditor, _p_wxGridCellFloatEditorTo_p_wxGridCellTextEditor, 0, 0}, {&_swigt__p_wxGridCellAutoWrapStringEditor, _p_wxGridCellAutoWrapStringEditorTo_p_wxGridCellTextEditor, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridEditorCreatedEvent[] = { {&_swigt__p_wxGridEditorCreatedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridEvent[] = { {&_swigt__p_wxGridEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridRangeSelectEvent[] = { {&_swigt__p_wxGridRangeSelectEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridSizeEvent[] = { {&_swigt__p_wxGridSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridStringTable[] = { {&_swigt__p_wxGridStringTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridTableBase[] = { {&_swigt__p_wxGridStringTable, _p_wxGridStringTableTo_p_wxGridTableBase, 0, 0}, {&_swigt__p_wxGridTableBase, 0, 0, 0}, {&_swigt__p_wxPyGridTableBase, _p_wxPyGridTableBaseTo_p_wxGridTableBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridTableMessage[] = { {&_swigt__p_wxGridTableMessage, 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_wxNotifyEvent[] = { {&_swigt__p_wxGridSizeEvent, _p_wxGridSizeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent, _p_wxGridRangeSelectEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxGridEvent, _p_wxGridEventTo_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_wxFontData[] = {{&_swigt__p_wxFontData, 0, 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_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_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 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_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 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_wxColourData[] = {{&_swigt__p_wxColourData, 0, 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_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 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_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 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_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 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_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 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_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 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_wxGridStringTable, _p_wxGridStringTableTo_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_wxGridEditorCreatedEvent, _p_wxGridEditorCreatedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridEvent, _p_wxGridEventTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizeEvent, _p_wxGridSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridRangeSelectEvent, _p_wxGridRangeSelectEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxGrid, _p_wxGridTo_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_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_wxGridTableBase, _p_wxGridTableBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyGridTableBase, _p_wxPyGridTableBaseTo_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_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_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_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxGrid, _p_wxGridTo_p_wxPanel, 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_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyGridCellAttrProvider[] = { {&_swigt__p_wxPyGridCellAttrProvider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyGridCellEditor[] = { {&_swigt__p_wxPyGridCellEditor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyGridCellRenderer[] = { {&_swigt__p_wxPyGridCellRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyGridTableBase[] = { {&_swigt__p_wxPyGridTableBase, 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_wxScrolledWindow[] = { {&_swigt__p_wxGrid, _p_wxGridTo_p_wxScrolledWindow, 0, 0}, {&_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_wxSize[] = { {&_swigt__p_wxSize, 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_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_wxGrid, _p_wxGridTo_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_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_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_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_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_long, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _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_wxGrid, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridCellAttr, + _swigc__p_wxGridCellAttrProvider, + _swigc__p_wxGridCellAutoWrapStringEditor, + _swigc__p_wxGridCellAutoWrapStringRenderer, + _swigc__p_wxGridCellBoolEditor, + _swigc__p_wxGridCellBoolRenderer, + _swigc__p_wxGridCellChoiceEditor, + _swigc__p_wxGridCellCoords, + _swigc__p_wxGridCellDateTimeRenderer, + _swigc__p_wxGridCellEditor, + _swigc__p_wxGridCellEnumEditor, + _swigc__p_wxGridCellEnumRenderer, + _swigc__p_wxGridCellFloatEditor, + _swigc__p_wxGridCellFloatRenderer, + _swigc__p_wxGridCellNumberEditor, + _swigc__p_wxGridCellNumberRenderer, + _swigc__p_wxGridCellRenderer, + _swigc__p_wxGridCellStringRenderer, + _swigc__p_wxGridCellTextEditor, + _swigc__p_wxGridEditorCreatedEvent, + _swigc__p_wxGridEvent, + _swigc__p_wxGridRangeSelectEvent, + _swigc__p_wxGridSizeEvent, + _swigc__p_wxGridSizer, + _swigc__p_wxGridStringTable, + _swigc__p_wxGridTableBase, + _swigc__p_wxGridTableMessage, + _swigc__p_wxICOHandler, + _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_wxPyGridCellAttrProvider, + _swigc__p_wxPyGridCellEditor, + _swigc__p_wxPyGridCellRenderer, + _swigc__p_wxPyGridTableBase, + _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_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_wxTaskBarIconEvent, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTipWindow, + _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, }; @@ -19552,6 +20409,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 @@ -19569,7 +20637,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; @@ -19579,13 +20647,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; @@ -19598,7 +20666,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -19611,7 +20679,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) { @@ -19624,72 +20692,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; } @@ -19698,11 +20783,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); @@ -19739,7 +20824,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, @@ -19751,7 +20836,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]); @@ -19764,14 +20849,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; + } + } } } } @@ -19781,69 +20870,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 @@ -19852,42 +20878,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,"GRID_VALUE_STRING", SWIG_FromCharPtr("string")); @@ -19903,85 +20908,85 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellCoords",_wrap_GridNoCellCoords_get, _wrap_GridNoCellCoords_set); SWIG_addvarlink(SWIG_globals,(char*)"GridNoCellRect",_wrap_GridNoCellRect_get, _wrap_GridNoCellRect_set); { - PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_ROWS))); + PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_ROWS", SWIG_From_int(static_cast(wxGRID_DEFAULT_NUMBER_ROWS))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int((int)(wxGRID_DEFAULT_NUMBER_COLS))); + PyDict_SetItemString(d,"GRID_DEFAULT_NUMBER_COLS", SWIG_From_int(static_cast(wxGRID_DEFAULT_NUMBER_COLS))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_HEIGHT))); + PyDict_SetItemString(d,"GRID_DEFAULT_ROW_HEIGHT", SWIG_From_int(static_cast(wxGRID_DEFAULT_ROW_HEIGHT))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_COL_WIDTH))); + PyDict_SetItemString(d,"GRID_DEFAULT_COL_WIDTH", SWIG_From_int(static_cast(wxGRID_DEFAULT_COL_WIDTH))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int((int)(wxGRID_DEFAULT_COL_LABEL_HEIGHT))); + PyDict_SetItemString(d,"GRID_DEFAULT_COL_LABEL_HEIGHT", SWIG_From_int(static_cast(wxGRID_DEFAULT_COL_LABEL_HEIGHT))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_ROW_LABEL_WIDTH))); + PyDict_SetItemString(d,"GRID_DEFAULT_ROW_LABEL_WIDTH", SWIG_From_int(static_cast(wxGRID_DEFAULT_ROW_LABEL_WIDTH))); } { - PyDict_SetItemString(d,"GRID_LABEL_EDGE_ZONE", SWIG_From_int((int)(wxGRID_LABEL_EDGE_ZONE))); + PyDict_SetItemString(d,"GRID_LABEL_EDGE_ZONE", SWIG_From_int(static_cast(wxGRID_LABEL_EDGE_ZONE))); } { - PyDict_SetItemString(d,"GRID_MIN_ROW_HEIGHT", SWIG_From_int((int)(wxGRID_MIN_ROW_HEIGHT))); + PyDict_SetItemString(d,"GRID_MIN_ROW_HEIGHT", SWIG_From_int(static_cast(wxGRID_MIN_ROW_HEIGHT))); } { - PyDict_SetItemString(d,"GRID_MIN_COL_WIDTH", SWIG_From_int((int)(wxGRID_MIN_COL_WIDTH))); + PyDict_SetItemString(d,"GRID_MIN_COL_WIDTH", SWIG_From_int(static_cast(wxGRID_MIN_COL_WIDTH))); } { - PyDict_SetItemString(d,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int((int)(wxGRID_DEFAULT_SCROLLBAR_WIDTH))); + PyDict_SetItemString(d,"GRID_DEFAULT_SCROLLBAR_WIDTH", SWIG_From_int(static_cast(wxGRID_DEFAULT_SCROLLBAR_WIDTH))); } { - PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_From_int((int)(wxGridCellAttr::Any))); + PyDict_SetItemString(d,"GridCellAttr_Any", SWIG_From_int(static_cast(wxGridCellAttr::Any))); } { - PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_From_int((int)(wxGridCellAttr::Default))); + PyDict_SetItemString(d,"GridCellAttr_Default", SWIG_From_int(static_cast(wxGridCellAttr::Default))); } { - PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_From_int((int)(wxGridCellAttr::Cell))); + PyDict_SetItemString(d,"GridCellAttr_Cell", SWIG_From_int(static_cast(wxGridCellAttr::Cell))); } { - PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_From_int((int)(wxGridCellAttr::Row))); + PyDict_SetItemString(d,"GridCellAttr_Row", SWIG_From_int(static_cast(wxGridCellAttr::Row))); } { - PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_From_int((int)(wxGridCellAttr::Col))); + PyDict_SetItemString(d,"GridCellAttr_Col", SWIG_From_int(static_cast(wxGridCellAttr::Col))); } { - PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_From_int((int)(wxGridCellAttr::Merged))); + PyDict_SetItemString(d,"GridCellAttr_Merged", SWIG_From_int(static_cast(wxGridCellAttr::Merged))); } { - PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES))); + PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_GET_VALUES", SWIG_From_int(static_cast(wxGRIDTABLE_REQUEST_VIEW_GET_VALUES))); } { - PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int((int)(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES))); + PyDict_SetItemString(d,"GRIDTABLE_REQUEST_VIEW_SEND_VALUES", SWIG_From_int(static_cast(wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_INSERTED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_INSERTED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_ROWS_INSERTED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_APPENDED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_APPENDED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_ROWS_APPENDED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_ROWS_DELETED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_ROWS_DELETED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_ROWS_DELETED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_INSERTED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_INSERTED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_COLS_INSERTED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_APPENDED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_APPENDED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_COLS_APPENDED))); } { - PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int((int)(wxGRIDTABLE_NOTIFY_COLS_DELETED))); + PyDict_SetItemString(d,"GRIDTABLE_NOTIFY_COLS_DELETED", SWIG_From_int(static_cast(wxGRIDTABLE_NOTIFY_COLS_DELETED))); } { - PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_From_int((int)(wxGrid::wxGridSelectCells))); + PyDict_SetItemString(d,"Grid_wxGridSelectCells", SWIG_From_int(static_cast(wxGrid::wxGridSelectCells))); } { - PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_From_int((int)(wxGrid::wxGridSelectRows))); + PyDict_SetItemString(d,"Grid_wxGridSelectRows", SWIG_From_int(static_cast(wxGrid::wxGridSelectRows))); } { - PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_From_int((int)(wxGrid::wxGridSelectColumns))); + PyDict_SetItemString(d,"Grid_wxGridSelectColumns", SWIG_From_int(static_cast(wxGrid::wxGridSelectColumns))); } PyDict_SetItemString(d, "wxEVT_GRID_CELL_LEFT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_LEFT_CLICK)); PyDict_SetItemString(d, "wxEVT_GRID_CELL_RIGHT_CLICK", PyInt_FromLong(wxEVT_GRID_CELL_RIGHT_CLICK)); diff --git a/wxPython/src/mac/html.py b/wxPython/src/mac/html.py index 45d80d87ce..48ae5a0f97 100644 --- a/wxPython/src/mac/html.py +++ b/wxPython/src/mac/html.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -1565,60 +1565,248 @@ class HtmlHelpDataPtr(HtmlHelpData): self.__class__ = HtmlHelpData _html.HtmlHelpData_swigregister(HtmlHelpDataPtr) -class HtmlHelpFrame(_windows.Frame): - """Proxy of C++ HtmlHelpFrame class""" +HF_TOOLBAR = _html.HF_TOOLBAR +HF_CONTENTS = _html.HF_CONTENTS +HF_INDEX = _html.HF_INDEX +HF_SEARCH = _html.HF_SEARCH +HF_BOOKMARKS = _html.HF_BOOKMARKS +HF_OPEN_FILES = _html.HF_OPEN_FILES +HF_PRINT = _html.HF_PRINT +HF_FLAT_TOOLBAR = _html.HF_FLAT_TOOLBAR +HF_MERGE_BOOKS = _html.HF_MERGE_BOOKS +HF_ICONS_BOOK = _html.HF_ICONS_BOOK +HF_ICONS_BOOK_CHAPTER = _html.HF_ICONS_BOOK_CHAPTER +HF_ICONS_FOLDER = _html.HF_ICONS_FOLDER +HF_DEFAULT_STYLE = _html.HF_DEFAULT_STYLE +HF_EMBEDDED = _html.HF_EMBEDDED +HF_DIALOG = _html.HF_DIALOG +HF_FRAME = _html.HF_FRAME +HF_MODAL = _html.HF_MODAL +ID_HTML_PANEL = _html.ID_HTML_PANEL +ID_HTML_BACK = _html.ID_HTML_BACK +ID_HTML_FORWARD = _html.ID_HTML_FORWARD +ID_HTML_UPNODE = _html.ID_HTML_UPNODE +ID_HTML_UP = _html.ID_HTML_UP +ID_HTML_DOWN = _html.ID_HTML_DOWN +ID_HTML_PRINT = _html.ID_HTML_PRINT +ID_HTML_OPENFILE = _html.ID_HTML_OPENFILE +ID_HTML_OPTIONS = _html.ID_HTML_OPTIONS +ID_HTML_BOOKMARKSLIST = _html.ID_HTML_BOOKMARKSLIST +ID_HTML_BOOKMARKSADD = _html.ID_HTML_BOOKMARKSADD +ID_HTML_BOOKMARKSREMOVE = _html.ID_HTML_BOOKMARKSREMOVE +ID_HTML_TREECTRL = _html.ID_HTML_TREECTRL +ID_HTML_INDEXPAGE = _html.ID_HTML_INDEXPAGE +ID_HTML_INDEXLIST = _html.ID_HTML_INDEXLIST +ID_HTML_INDEXTEXT = _html.ID_HTML_INDEXTEXT +ID_HTML_INDEXBUTTON = _html.ID_HTML_INDEXBUTTON +ID_HTML_INDEXBUTTONALL = _html.ID_HTML_INDEXBUTTONALL +ID_HTML_NOTEBOOK = _html.ID_HTML_NOTEBOOK +ID_HTML_SEARCHPAGE = _html.ID_HTML_SEARCHPAGE +ID_HTML_SEARCHTEXT = _html.ID_HTML_SEARCHTEXT +ID_HTML_SEARCHLIST = _html.ID_HTML_SEARCHLIST +ID_HTML_SEARCHBUTTON = _html.ID_HTML_SEARCHBUTTON +ID_HTML_SEARCHCHOICE = _html.ID_HTML_SEARCHCHOICE +ID_HTML_COUNTINFO = _html.ID_HTML_COUNTINFO +class HtmlHelpWindow(_core.Window): + """Proxy of C++ HtmlHelpWindow class""" def __repr__(self): - return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + return "<%s.%s; proxy of C++ wxHtmlHelpWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): """ - __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE, - HtmlHelpData data=None) -> HtmlHelpFrame + __init__(self, Window parent, int ??, Point pos=DefaultPosition, Size size=DefaultSize, + int style=wxTAB_TRAVERSAL|wxNO_BORDER, + int helpStyle=HF_DEFAULT_STYLE, + HtmlHelpData data=None) -> HtmlHelpWindow """ - newobj = _html.new_HtmlHelpFrame(*args, **kwargs) + newobj = _html.new_HtmlHelpWindow(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) + def Create(*args, **kwargs): + """ + Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + int style=wxTAB_TRAVERSAL|wxNO_BORDER, + int helpStyle=HF_DEFAULT_STYLE) -> bool + """ + return _html.HtmlHelpWindow_Create(*args, **kwargs) + def GetData(*args, **kwargs): """GetData(self) -> HtmlHelpData""" - return _html.HtmlHelpFrame_GetData(*args, **kwargs) + return _html.HtmlHelpWindow_GetData(*args, **kwargs) - def SetTitleFormat(*args, **kwargs): - """SetTitleFormat(self, String format)""" - return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) + def GetController(*args, **kwargs): + """GetController(self) -> HtmlHelpController""" + return _html.HtmlHelpWindow_GetController(*args, **kwargs) + + def SetController(*args, **kwargs): + """SetController(self, HtmlHelpController controller)""" + return _html.HtmlHelpWindow_SetController(*args, **kwargs) def Display(*args, **kwargs): - """Display(self, String x)""" - return _html.HtmlHelpFrame_Display(*args, **kwargs) + """Display(self, String x) -> bool""" + return _html.HtmlHelpWindow_Display(*args, **kwargs) def DisplayID(*args, **kwargs): - """DisplayID(self, int id)""" - return _html.HtmlHelpFrame_DisplayID(*args, **kwargs) + """DisplayID(self, int id) -> bool""" + return _html.HtmlHelpWindow_DisplayID(*args, **kwargs) def DisplayContents(*args, **kwargs): - """DisplayContents(self)""" - return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs) + """DisplayContents(self) -> bool""" + return _html.HtmlHelpWindow_DisplayContents(*args, **kwargs) def DisplayIndex(*args, **kwargs): - """DisplayIndex(self)""" - return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs) + """DisplayIndex(self) -> bool""" + return _html.HtmlHelpWindow_DisplayIndex(*args, **kwargs) def KeywordSearch(*args, **kwargs): - """KeywordSearch(self, String keyword) -> bool""" - return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs) + """KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool""" + return _html.HtmlHelpWindow_KeywordSearch(*args, **kwargs) def UseConfig(*args, **kwargs): - """UseConfig(self, ConfigBase config, String rootpath=EmptyString)""" - return _html.HtmlHelpFrame_UseConfig(*args, **kwargs) + """UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)""" + return _html.HtmlHelpWindow_UseConfig(*args, **kwargs) def ReadCustomization(*args, **kwargs): - """ReadCustomization(self, ConfigBase cfg, String path=EmptyString)""" - return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs) + """ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)""" + return _html.HtmlHelpWindow_ReadCustomization(*args, **kwargs) def WriteCustomization(*args, **kwargs): - """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)""" - return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs) + """WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)""" + return _html.HtmlHelpWindow_WriteCustomization(*args, **kwargs) + + def NotifyPageChanged(*args, **kwargs): + """NotifyPageChanged(self)""" + return _html.HtmlHelpWindow_NotifyPageChanged(*args, **kwargs) + + def RefreshLists(*args, **kwargs): + """RefreshLists(self)""" + return _html.HtmlHelpWindow_RefreshLists(*args, **kwargs) + + def GetHtmlWindow(*args, **kwargs): + """GetHtmlWindow(self) -> wxHtmlWindow""" + return _html.HtmlHelpWindow_GetHtmlWindow(*args, **kwargs) + + def GetSplitterWindow(*args, **kwargs): + """GetSplitterWindow(self) -> SplitterWindow""" + return _html.HtmlHelpWindow_GetSplitterWindow(*args, **kwargs) + + def GetToolBar(*args, **kwargs): + """GetToolBar(self) -> wxToolBar""" + return _html.HtmlHelpWindow_GetToolBar(*args, **kwargs) + + def GetCfgData(*args, **kwargs): + """GetCfgData(self) -> wxHtmlHelpFrameCfg""" + return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs) + + def GetTreeCtrl(*args, **kwargs): + """GetTreeCtrl(self) -> wxTreeCtrl""" + return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs) + + +class HtmlHelpWindowPtr(HtmlHelpWindow): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = HtmlHelpWindow +_html.HtmlHelpWindow_swigregister(HtmlHelpWindowPtr) + +def PreHtmlHelpWindow(*args, **kwargs): + """PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow""" + val = _html.new_PreHtmlHelpWindow(*args, **kwargs) + val.thisown = 1 + self._setOORInfo(self) + return val + +class HtmlWindowEvent(_core.NotifyEvent): + """Proxy of C++ HtmlWindowEvent class""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlWindowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent""" + newobj = _html.new_HtmlWindowEvent(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + def SetURL(*args, **kwargs): + """SetURL(self, String url)""" + return _html.HtmlWindowEvent_SetURL(*args, **kwargs) + + def GetURL(*args, **kwargs): + """GetURL(self) -> String""" + return _html.HtmlWindowEvent_GetURL(*args, **kwargs) + + +class HtmlWindowEventPtr(HtmlWindowEvent): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = HtmlWindowEvent +_html.HtmlWindowEvent_swigregister(HtmlWindowEventPtr) + +class HtmlHelpFrame(_windows.Frame): + """Proxy of C++ HtmlHelpFrame class""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int ??, String title=EmptyString, int style=wxHF_DEFAULTSTYLE, + HtmlHelpData data=None) -> HtmlHelpFrame + """ + newobj = _html.new_HtmlHelpFrame(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + + def Create(*args, **kwargs): + """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool""" + return _html.HtmlHelpFrame_Create(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData(self) -> HtmlHelpData""" + return _html.HtmlHelpFrame_GetData(*args, **kwargs) + + def SetTitleFormat(*args, **kwargs): + """SetTitleFormat(self, String format)""" + return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs) + + def AddGrabIfNeeded(*args, **kwargs): + """AddGrabIfNeeded(self)""" + return _html.HtmlHelpFrame_AddGrabIfNeeded(*args, **kwargs) + + def GetController(*args, **kwargs): + """GetController(self) -> HtmlHelpController""" + return _html.HtmlHelpFrame_GetController(*args, **kwargs) + + def SetController(*args, **kwargs): + """SetController(self, HtmlHelpController controller)""" + return _html.HtmlHelpFrame_SetController(*args, **kwargs) + + def GetHelpWindow(*args, **kwargs): + """GetHelpWindow(self) -> HtmlHelpWindow""" + return _html.HtmlHelpFrame_GetHelpWindow(*args, **kwargs) + + # For compatibility from before the refactor + def Display(self, x): + return self.GetHelpWindow().Display(x) + def DisplayID(self, x): + return self.GetHelpWindow().DisplayID(id) + def DisplayContents(self): + return self.GetHelpWindow().DisplayContents() + def DisplayIndex(self): + return self.GetHelpWindow().DisplayIndex() + + def KeywordSearch(self, keyword): + return self.GetHelpWindow().KeywordSearch(keyword) + + def UseConfig(self, config, rootpath=""): + return self.GetHelpWindow().UseConfig(config, rootpath) + def ReadCustomization(self, config, rootpath=""): + return self.GetHelpWindow().ReadCustomization(config, rootpath) + def WriteCustomization(self, config, rootpath=""): + return self.GetHelpWindow().WriteCustomization(config, rootpath) class HtmlHelpFramePtr(HtmlHelpFrame): @@ -1628,21 +1816,155 @@ class HtmlHelpFramePtr(HtmlHelpFrame): self.__class__ = HtmlHelpFrame _html.HtmlHelpFrame_swigregister(HtmlHelpFramePtr) -HF_TOOLBAR = _html.HF_TOOLBAR -HF_FLATTOOLBAR = _html.HF_FLATTOOLBAR -HF_CONTENTS = _html.HF_CONTENTS -HF_INDEX = _html.HF_INDEX -HF_SEARCH = _html.HF_SEARCH -HF_BOOKMARKS = _html.HF_BOOKMARKS -HF_OPENFILES = _html.HF_OPENFILES -HF_PRINT = _html.HF_PRINT -HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE -class HtmlHelpController(_core.Object): +def PreHtmlHelpFrame(*args, **kwargs): + """PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame""" + val = _html.new_PreHtmlHelpFrame(*args, **kwargs) + val.thisown = 1 + self._setOORInfo(self) + return val + +class HtmlHelpDialog(_windows.Dialog): + """Proxy of C++ HtmlHelpDialog class""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlHelpDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULT_STYLE, + HtmlHelpData data=None) -> HtmlHelpDialog + """ + newobj = _html.new_HtmlHelpDialog(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + self._setOORInfo(self) + + def Create(*args, **kwargs): + """Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool""" + return _html.HtmlHelpDialog_Create(*args, **kwargs) + + def GetData(*args, **kwargs): + """GetData(self) -> HtmlHelpData""" + return _html.HtmlHelpDialog_GetData(*args, **kwargs) + + def GetController(*args, **kwargs): + """GetController(self) -> HtmlHelpController""" + return _html.HtmlHelpDialog_GetController(*args, **kwargs) + + def SetController(*args, **kwargs): + """SetController(self, HtmlHelpController controller)""" + return _html.HtmlHelpDialog_SetController(*args, **kwargs) + + def GetHelpWindow(*args, **kwargs): + """GetHelpWindow(self) -> HtmlHelpWindow""" + return _html.HtmlHelpDialog_GetHelpWindow(*args, **kwargs) + + def SetTitleFormat(*args, **kwargs): + """SetTitleFormat(self, String format)""" + return _html.HtmlHelpDialog_SetTitleFormat(*args, **kwargs) + + +class HtmlHelpDialogPtr(HtmlHelpDialog): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = HtmlHelpDialog +_html.HtmlHelpDialog_swigregister(HtmlHelpDialogPtr) + +def PreHtmlHelpDialog(*args, **kwargs): + """PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog""" + val = _html.new_PreHtmlHelpDialog(*args, **kwargs) + val.thisown = 1 + self._setOORInfo(self) + return val + +class HelpControllerBase(_core.Object): + """Proxy of C++ HelpControllerBase class""" + def __init__(self): raise RuntimeError, "No constructor defined" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHelpControllerBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def Initialize(*args): + """ + Initialize(self, String file, int server) -> bool + Initialize(self, String file) -> bool + """ + return _html.HelpControllerBase_Initialize(*args) + + def SetViewer(*args, **kwargs): + """SetViewer(self, String viewer, long flags=0)""" + return _html.HelpControllerBase_SetViewer(*args, **kwargs) + + def LoadFile(*args, **kwargs): + """LoadFile(self, String file=wxEmptyString) -> bool""" + return _html.HelpControllerBase_LoadFile(*args, **kwargs) + + def DisplayContents(*args, **kwargs): + """DisplayContents(self) -> bool""" + return _html.HelpControllerBase_DisplayContents(*args, **kwargs) + + def DisplayContextPopup(*args, **kwargs): + """DisplayContextPopup(self, int contextId) -> bool""" + return _html.HelpControllerBase_DisplayContextPopup(*args, **kwargs) + + def DisplayTextPopup(*args, **kwargs): + """DisplayTextPopup(self, String text, Point pos) -> bool""" + return _html.HelpControllerBase_DisplayTextPopup(*args, **kwargs) + + def DisplaySection(*args): + """ + DisplaySection(self, int sectionNo) -> bool + DisplaySection(self, String section) -> bool + """ + return _html.HelpControllerBase_DisplaySection(*args) + + def DisplayBlock(*args, **kwargs): + """DisplayBlock(self, long blockNo) -> bool""" + return _html.HelpControllerBase_DisplayBlock(*args, **kwargs) + + def KeywordSearch(*args, **kwargs): + """KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool""" + return _html.HelpControllerBase_KeywordSearch(*args, **kwargs) + + def SetFrameParameters(*args, **kwargs): + """ + SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition, + bool newFrameEachTime=False) + """ + return _html.HelpControllerBase_SetFrameParameters(*args, **kwargs) + + def GetFrameParameters(*args, **kwargs): + """GetFrameParameters(self, Size size=None, Point pos=None, bool newFrameEachTime=None) -> Frame""" + return _html.HelpControllerBase_GetFrameParameters(*args, **kwargs) + + def Quit(*args, **kwargs): + """Quit(self) -> bool""" + return _html.HelpControllerBase_Quit(*args, **kwargs) + + def OnQuit(*args, **kwargs): + """OnQuit(self)""" + return _html.HelpControllerBase_OnQuit(*args, **kwargs) + + def SetParentWindow(*args, **kwargs): + """SetParentWindow(self, Window win)""" + return _html.HelpControllerBase_SetParentWindow(*args, **kwargs) + + def GetParentWindow(*args, **kwargs): + """GetParentWindow(self) -> Window""" + return _html.HelpControllerBase_GetParentWindow(*args, **kwargs) + + +class HelpControllerBasePtr(HelpControllerBase): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = HelpControllerBase +_html.HelpControllerBase_swigregister(HelpControllerBasePtr) + +class HtmlHelpController(HelpControllerBase): """Proxy of C++ HtmlHelpController class""" def __repr__(self): return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController""" + """__init__(self, int style=HF_DEFAULT_STYLE, Window parentWindow=None) -> HtmlHelpController""" newobj = _html.new_HtmlHelpController(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -1653,6 +1975,22 @@ class HtmlHelpController(_core.Object): if self.thisown: destroy(self) except: pass + def GetHelpWindow(*args, **kwargs): + """GetHelpWindow(self) -> HtmlHelpWindow""" + return _html.HtmlHelpController_GetHelpWindow(*args, **kwargs) + + def SetHelpWindow(*args, **kwargs): + """SetHelpWindow(self, HtmlHelpWindow helpWindow)""" + return _html.HtmlHelpController_SetHelpWindow(*args, **kwargs) + + def GetFrame(*args, **kwargs): + """GetFrame(self) -> HtmlHelpFrame""" + return _html.HtmlHelpController_GetFrame(*args, **kwargs) + + def GetDialog(*args, **kwargs): + """GetDialog(self) -> HtmlHelpDialog""" + return _html.HtmlHelpController_GetDialog(*args, **kwargs) + def SetTitleFormat(*args, **kwargs): """SetTitleFormat(self, String format)""" return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs) @@ -1697,9 +2035,13 @@ class HtmlHelpController(_core.Object): """WriteCustomization(self, ConfigBase cfg, String path=EmptyString)""" return _html.HtmlHelpController_WriteCustomization(*args, **kwargs) - def GetFrame(*args, **kwargs): - """GetFrame(self) -> HtmlHelpFrame""" - return _html.HtmlHelpController_GetFrame(*args, **kwargs) + def MakeModalIfNeeded(*args, **kwargs): + """MakeModalIfNeeded(self)""" + return _html.HtmlHelpController_MakeModalIfNeeded(*args, **kwargs) + + def FindTopLevelWindow(*args, **kwargs): + """FindTopLevelWindow(self) -> Window""" + return _html.HtmlHelpController_FindTopLevelWindow(*args, **kwargs) def Destroy(self): pass @@ -1710,4 +2052,26 @@ class HtmlHelpControllerPtr(HtmlHelpController): self.__class__ = HtmlHelpController _html.HtmlHelpController_swigregister(HtmlHelpControllerPtr) +class HtmlModalHelp(object): + """Proxy of C++ HtmlModalHelp class""" + def __repr__(self): + return "<%s.%s; proxy of C++ wxHtmlModalHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def __init__(self, *args, **kwargs): + """ + __init__(self, Window parent, String helpFile, String topic=wxEmptyString, + int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp + """ + newobj = _html.new_HtmlModalHelp(*args, **kwargs) + self.this = newobj.this + self.thisown = 1 + del newobj.thisown + +class HtmlModalHelpPtr(HtmlModalHelp): + def __init__(self, this): + self.this = this + if not hasattr(self,"thisown"): self.thisown = 0 + self.__class__ = HtmlModalHelp +_html.HtmlModalHelp_swigregister(HtmlModalHelpPtr) + + diff --git a/wxPython/src/mac/html_wrap.cpp b/wxPython/src/mac/html_wrap.cpp index b401fc301a..a295edf486 100644 --- a/wxPython/src/mac/html_wrap.cpp +++ b/wxPython/src/mac/html_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -26,15 +26,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +106,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) -#else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -# define SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +125,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +143,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +186,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +204,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +317,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +439,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +461,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +520,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +533,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +610,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +631,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +643,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +683,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +711,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +747,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +790,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +824,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +844,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +877,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +896,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +925,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +934,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +947,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +981,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1001,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1045,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1072,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,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,69 +1431,208 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[0] -#define SWIGTYPE_p_wxColour swig_types[1] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[2] -#define SWIGTYPE_p_wxDC swig_types[3] -#define SWIGTYPE_p_form_ops_t swig_types[4] -#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[5] -#define SWIGTYPE_p_wxMouseEvent swig_types[6] -#define SWIGTYPE_p_wxDuplexMode swig_types[7] -#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[8] -#define SWIGTYPE_p_wxHtmlWordCell swig_types[9] -#define SWIGTYPE_p_wxVisualAttributes swig_types[10] -#define SWIGTYPE_p_wxHtmlHelpData swig_types[11] -#define SWIGTYPE_p_char swig_types[12] -#define SWIGTYPE_p_wxHtmlWinParser swig_types[13] -#define SWIGTYPE_p_wxHtmlParser swig_types[14] -#define SWIGTYPE_p_wxPanel swig_types[15] -#define SWIGTYPE_p_wxPyHtmlWindow swig_types[16] -#define SWIGTYPE_p_wxScrolledWindow swig_types[17] -#define SWIGTYPE_p_wxWindow swig_types[18] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[19] -#define SWIGTYPE_p_wxFont swig_types[20] -#define SWIGTYPE_p_wxHtmlColourCell swig_types[21] -#define SWIGTYPE_p_wxHtmlFontCell swig_types[22] -#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[23] -#define SWIGTYPE_p_wxHtmlSelection swig_types[24] -#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[25] -#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[26] -#define SWIGTYPE_p_wxObject swig_types[27] -#define SWIGTYPE_p_wxBitmap swig_types[28] -#define SWIGTYPE_p_wxPaperSize swig_types[29] -#define SWIGTYPE_p_wxString swig_types[30] -#define SWIGTYPE_p_unsigned_int swig_types[31] -#define SWIGTYPE_unsigned_int swig_types[32] -#define SWIGTYPE_p_wxHtmlTagHandler swig_types[33] -#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[34] -#define SWIGTYPE_p_wxEvtHandler swig_types[35] -#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[36] -#define SWIGTYPE_p_wxPoint swig_types[37] -#define SWIGTYPE_p_wxHtmlHelpController swig_types[38] -#define SWIGTYPE_p_wxCursor swig_types[39] -#define SWIGTYPE_p_wxFileSystem swig_types[40] -#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[41] -#define SWIGTYPE_p_unsigned_char swig_types[42] -#define SWIGTYPE_p_wxPyPrintout swig_types[43] -#define SWIGTYPE_p_wxHtmlPrintout swig_types[44] -#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[45] -#define SWIGTYPE_std__ptrdiff_t swig_types[46] -#define SWIGTYPE_ptrdiff_t swig_types[47] -#define SWIGTYPE_p_wxConfigBase swig_types[48] -#define SWIGTYPE_p_wxPrintData swig_types[49] -#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[50] -#define SWIGTYPE_p_wxFrame swig_types[51] -#define SWIGTYPE_p_wxHtmlRenderingState swig_types[52] -#define SWIGTYPE_p_wxPyHtmlFilter swig_types[53] -#define SWIGTYPE_p_wxHtmlFilter swig_types[54] -#define SWIGTYPE_p_wxHtmlCell swig_types[55] -#define SWIGTYPE_p_wxHtmlContainerCell swig_types[56] -#define SWIGTYPE_p_wxHtmlTag swig_types[57] -#define SWIGTYPE_p_int swig_types[58] -#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[59] -#define SWIGTYPE_p_unsigned_long swig_types[60] -#define SWIGTYPE_p_wxHtmlBookRecord swig_types[61] -static swig_type_info *swig_types[63]; +#define SWIGTYPE_p_bool swig_types[0] +#define SWIGTYPE_p_char swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_unsigned_char swig_types[4] +#define SWIGTYPE_p_unsigned_int swig_types[5] +#define SWIGTYPE_p_unsigned_long swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_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_wxConfigBase swig_types[21] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[22] +#define SWIGTYPE_p_wxControl swig_types[23] +#define SWIGTYPE_p_wxControlWithItems swig_types[24] +#define SWIGTYPE_p_wxCursor swig_types[25] +#define SWIGTYPE_p_wxDC swig_types[26] +#define SWIGTYPE_p_wxDateEvent swig_types[27] +#define SWIGTYPE_p_wxDefaultHtmlRenderingStyle swig_types[28] +#define SWIGTYPE_p_wxDialog swig_types[29] +#define SWIGTYPE_p_wxDirDialog swig_types[30] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[32] +#define SWIGTYPE_p_wxDuplexMode swig_types[33] +#define SWIGTYPE_p_wxEraseEvent swig_types[34] +#define SWIGTYPE_p_wxEvent swig_types[35] +#define SWIGTYPE_p_wxEvtHandler swig_types[36] +#define SWIGTYPE_p_wxFSFile swig_types[37] +#define SWIGTYPE_p_wxFileDialog swig_types[38] +#define SWIGTYPE_p_wxFileSystem swig_types[39] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[40] +#define SWIGTYPE_p_wxFindReplaceData swig_types[41] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[42] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[43] +#define SWIGTYPE_p_wxFocusEvent swig_types[44] +#define SWIGTYPE_p_wxFont swig_types[45] +#define SWIGTYPE_p_wxFontData swig_types[46] +#define SWIGTYPE_p_wxFontDialog swig_types[47] +#define SWIGTYPE_p_wxFrame swig_types[48] +#define SWIGTYPE_p_wxGBSizerItem swig_types[49] +#define SWIGTYPE_p_wxGIFHandler swig_types[50] +#define SWIGTYPE_p_wxGridBagSizer swig_types[51] +#define SWIGTYPE_p_wxGridSizer swig_types[52] +#define SWIGTYPE_p_wxHelpControllerBase swig_types[53] +#define SWIGTYPE_p_wxHelpSearchMode swig_types[54] +#define SWIGTYPE_p_wxHtmlBookRecArray swig_types[55] +#define SWIGTYPE_p_wxHtmlBookRecord swig_types[56] +#define SWIGTYPE_p_wxHtmlCell swig_types[57] +#define SWIGTYPE_p_wxHtmlColourCell swig_types[58] +#define SWIGTYPE_p_wxHtmlContainerCell swig_types[59] +#define SWIGTYPE_p_wxHtmlDCRenderer swig_types[60] +#define SWIGTYPE_p_wxHtmlEasyPrinting swig_types[61] +#define SWIGTYPE_p_wxHtmlFilter swig_types[62] +#define SWIGTYPE_p_wxHtmlFontCell swig_types[63] +#define SWIGTYPE_p_wxHtmlHelpController swig_types[64] +#define SWIGTYPE_p_wxHtmlHelpData swig_types[65] +#define SWIGTYPE_p_wxHtmlHelpDialog swig_types[66] +#define SWIGTYPE_p_wxHtmlHelpFrame swig_types[67] +#define SWIGTYPE_p_wxHtmlHelpFrameCfg swig_types[68] +#define SWIGTYPE_p_wxHtmlHelpWindow swig_types[69] +#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[70] +#define SWIGTYPE_p_wxHtmlModalHelp swig_types[71] +#define SWIGTYPE_p_wxHtmlParser swig_types[72] +#define SWIGTYPE_p_wxHtmlPrintout swig_types[73] +#define SWIGTYPE_p_wxHtmlRenderingInfo swig_types[74] +#define SWIGTYPE_p_wxHtmlRenderingState swig_types[75] +#define SWIGTYPE_p_wxHtmlRenderingStyle swig_types[76] +#define SWIGTYPE_p_wxHtmlSearchStatus swig_types[77] +#define SWIGTYPE_p_wxHtmlSelection swig_types[78] +#define SWIGTYPE_p_wxHtmlTag swig_types[79] +#define SWIGTYPE_p_wxHtmlTagHandler swig_types[80] +#define SWIGTYPE_p_wxHtmlWidgetCell swig_types[81] +#define SWIGTYPE_p_wxHtmlWinParser swig_types[82] +#define SWIGTYPE_p_wxHtmlWindow swig_types[83] +#define SWIGTYPE_p_wxHtmlWindowEvent swig_types[84] +#define SWIGTYPE_p_wxHtmlWordCell swig_types[85] +#define SWIGTYPE_p_wxICOHandler swig_types[86] +#define SWIGTYPE_p_wxIconizeEvent swig_types[87] +#define SWIGTYPE_p_wxIdleEvent swig_types[88] +#define SWIGTYPE_p_wxImage swig_types[89] +#define SWIGTYPE_p_wxImageHandler swig_types[90] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[92] +#define SWIGTYPE_p_wxJPEGHandler swig_types[93] +#define SWIGTYPE_p_wxKeyEvent swig_types[94] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[95] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[96] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[97] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[98] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[99] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[100] +#define SWIGTYPE_p_wxMenu swig_types[101] +#define SWIGTYPE_p_wxMenuBar swig_types[102] +#define SWIGTYPE_p_wxMenuEvent swig_types[103] +#define SWIGTYPE_p_wxMenuItem swig_types[104] +#define SWIGTYPE_p_wxMessageDialog swig_types[105] +#define SWIGTYPE_p_wxMiniFrame swig_types[106] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[107] +#define SWIGTYPE_p_wxMouseEvent swig_types[108] +#define SWIGTYPE_p_wxMoveEvent swig_types[109] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[110] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[111] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[112] +#define SWIGTYPE_p_wxNotifyEvent swig_types[113] +#define SWIGTYPE_p_wxObject swig_types[114] +#define SWIGTYPE_p_wxPCXHandler swig_types[115] +#define SWIGTYPE_p_wxPNGHandler swig_types[116] +#define SWIGTYPE_p_wxPNMHandler swig_types[117] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[118] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[119] +#define SWIGTYPE_p_wxPaintEvent swig_types[120] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121] +#define SWIGTYPE_p_wxPanel swig_types[122] +#define SWIGTYPE_p_wxPaperSize swig_types[123] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124] +#define SWIGTYPE_p_wxPoint swig_types[125] +#define SWIGTYPE_p_wxPopupWindow swig_types[126] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[127] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[128] +#define SWIGTYPE_p_wxPreviewFrame swig_types[129] +#define SWIGTYPE_p_wxPrintData swig_types[130] +#define SWIGTYPE_p_wxPrintDialog swig_types[131] +#define SWIGTYPE_p_wxPrintDialogData swig_types[132] +#define SWIGTYPE_p_wxPrintPreview swig_types[133] +#define SWIGTYPE_p_wxPrinter swig_types[134] +#define SWIGTYPE_p_wxProgressDialog swig_types[135] +#define SWIGTYPE_p_wxPyApp swig_types[136] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[137] +#define SWIGTYPE_p_wxPyEvent swig_types[138] +#define SWIGTYPE_p_wxPyHtmlFilter swig_types[139] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[140] +#define SWIGTYPE_p_wxPyHtmlTagHandler swig_types[141] +#define SWIGTYPE_p_wxPyHtmlWinTagHandler swig_types[142] +#define SWIGTYPE_p_wxPyHtmlWindow swig_types[143] +#define SWIGTYPE_p_wxPyImageHandler swig_types[144] +#define SWIGTYPE_p_wxPyPanel swig_types[145] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[146] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[147] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[148] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[149] +#define SWIGTYPE_p_wxPyPrintout swig_types[150] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[151] +#define SWIGTYPE_p_wxPySizer swig_types[152] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[153] +#define SWIGTYPE_p_wxPyVListBox swig_types[154] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[155] +#define SWIGTYPE_p_wxPyValidator swig_types[156] +#define SWIGTYPE_p_wxPyWindow swig_types[157] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[158] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[159] +#define SWIGTYPE_p_wxSashEvent swig_types[160] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[161] +#define SWIGTYPE_p_wxSashWindow swig_types[162] +#define SWIGTYPE_p_wxScrollEvent swig_types[163] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[164] +#define SWIGTYPE_p_wxScrolledWindow swig_types[165] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[166] +#define SWIGTYPE_p_wxShowEvent swig_types[167] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[168] +#define SWIGTYPE_p_wxSize swig_types[169] +#define SWIGTYPE_p_wxSizeEvent swig_types[170] +#define SWIGTYPE_p_wxSizer swig_types[171] +#define SWIGTYPE_p_wxSizerItem swig_types[172] +#define SWIGTYPE_p_wxSplashScreen swig_types[173] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[174] +#define SWIGTYPE_p_wxSplitterEvent swig_types[175] +#define SWIGTYPE_p_wxSplitterWindow swig_types[176] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[177] +#define SWIGTYPE_p_wxStatusBar swig_types[178] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[179] +#define SWIGTYPE_p_wxString swig_types[180] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[181] +#define SWIGTYPE_p_wxTIFFHandler swig_types[182] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[183] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[184] +#define SWIGTYPE_p_wxTipWindow swig_types[185] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[186] +#define SWIGTYPE_p_wxTreeCtrl swig_types[187] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[188] +#define SWIGTYPE_p_wxValidator swig_types[189] +#define SWIGTYPE_p_wxVisualAttributes swig_types[190] +#define SWIGTYPE_p_wxWindow swig_types[191] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[192] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[193] +#define SWIGTYPE_p_wxXPMHandler swig_types[194] +#define SWIGTYPE_ptrdiff_t swig_types[195] +#define SWIGTYPE_std__ptrdiff_t swig_types[196] +#define SWIGTYPE_unsigned_int swig_types[197] +static swig_type_info *swig_types[199]; +static swig_module_info swig_module = {swig_types, 198, 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) -------- */ @@ -1421,6 +1652,9 @@ static swig_type_info *swig_types[63]; #include #include #include +#include +#include +#include static const wxString wxPyEmptyString(wxEmptyString); @@ -1428,7 +1662,7 @@ static swig_type_info *swig_types[63]; static const wxString wxPyHtmlPrintoutTitleStr(wxT("Printout")); static const wxString wxPyHtmlPrintingTitleStr(wxT("Printing")); - /*@/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 /*@@*/ @@ -1481,7 +1715,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; @@ -1495,7 +1729,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1503,7 +1737,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1517,7 +1751,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1532,7 +1766,7 @@ static void wxHtmlWinParser_SetFonts(wxHtmlWinParser *self,wxString normal_face, } class wxPyHtmlTagHandler : public wxHtmlTagHandler { - DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler); + DECLARE_DYNAMIC_CLASS(wxPyHtmlTagHandler) public: wxPyHtmlTagHandler() : wxHtmlTagHandler() {}; @@ -1552,7 +1786,7 @@ IMP_PYCALLBACK_BOOL_TAG_pure(wxPyHtmlTagHandler, wxHtmlTagHandler, HandleTag); class wxPyHtmlWinTagHandler : public wxHtmlWinTagHandler { - DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler); + DECLARE_DYNAMIC_CLASS(wxPyHtmlWinTagHandler) public: wxPyHtmlWinTagHandler() : wxHtmlWinTagHandler() {}; @@ -1601,7 +1835,7 @@ public: PyObject* arg = PyTuple_New(0); PyObject* obj = PyObject_CallObject(m_tagHandlerClass, arg); Py_DECREF(arg); - + // now figure out where it's C++ object is... wxPyHtmlWinTagHandler* thPtr; if (! wxPyConvertSwigPtr(obj, (void **)&thPtr, wxT("wxPyHtmlWinTagHandler"))) { @@ -1631,7 +1865,7 @@ private: } -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_bool(bool value) { PyObject *obj = value ? Py_True : Py_False; @@ -1693,7 +1927,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1707,14 +1941,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1752,7 +1986,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -1764,7 +1998,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -1772,7 +2006,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -1786,40 +2020,40 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ -SWIGINTERNSHORT 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)); } #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif // here's the C++ version class wxPyHtmlFilter : public wxHtmlFilter { - DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter); + DECLARE_ABSTRACT_CLASS(wxPyHtmlFilter) public: wxPyHtmlFilter() : wxHtmlFilter() {} @@ -1865,7 +2099,7 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlFilter, wxHtmlFilter); class wxPyHtmlWindow : public wxHtmlWindow { - DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow); + DECLARE_ABSTRACT_CLASS(wxPyHtmlWindow) public: wxPyHtmlWindow(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, @@ -2021,7 +2255,7 @@ SWIGINTERN int double v; if (SWIG_AsVal_double(obj, &v)) { if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { - if (val) *val = (float)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2036,7 +2270,7 @@ SWIGINTERN int } -SWIGINTERNSHORT float +SWIGINTERNINLINE float SWIG_As_float(PyObject* obj) { float v; @@ -2050,7 +2284,7 @@ SWIG_As_float(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_float(PyObject* obj) { return SWIG_AsVal_float(obj, (float*)0); @@ -2063,6 +2297,27 @@ static void wxHtmlEasyPrinting_SetFonts(wxHtmlEasyPrinting *self,wxString normal if (temp) delete [] temp; } + +SWIGINTERNINLINE long +SWIG_As_long(PyObject* obj) +{ + long v; + if (!SWIG_AsVal_long(obj, &v)) { + /* + this is needed to make valgrind/purify happier. + */ + memset((void*)&v, 0, sizeof(long)); + } + return v; +} + + +SWIGINTERNINLINE int +SWIG_Check_long(PyObject* obj) +{ + return SWIG_AsVal_long(obj, (long*)0); +} + #ifdef __cplusplus extern "C" { #endif @@ -2073,7 +2328,7 @@ static int _wrap_HtmlWindowNameStr_set(PyObject *) { static PyObject *_wrap_HtmlWindowNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2093,7 +2348,7 @@ static int _wrap_HtmlPrintoutTitleStr_set(PyObject *) { static PyObject *_wrap_HtmlPrintoutTitleStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2113,7 +2368,7 @@ static int _wrap_HtmlPrintingTitleStr_set(PyObject *) { static PyObject *_wrap_HtmlPrintingTitleStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -2127,7 +2382,7 @@ static PyObject *_wrap_HtmlPrintingTitleStr_get(void) { static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -2184,7 +2439,7 @@ static PyObject *_wrap_new_HtmlLinkInfo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2216,7 +2471,7 @@ static PyObject *_wrap_HtmlLinkInfo_GetHref(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2248,7 +2503,7 @@ static PyObject *_wrap_HtmlLinkInfo_GetTarget(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxMouseEvent *result; PyObject * obj0 = 0 ; @@ -2276,7 +2531,7 @@ static PyObject *_wrap_HtmlLinkInfo_GetEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -2302,7 +2557,7 @@ static PyObject *_wrap_HtmlLinkInfo_GetHtmlCell(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxMouseEvent *arg2 = (wxMouseEvent *) 0 ; PyObject * obj0 = 0 ; @@ -2331,7 +2586,7 @@ static PyObject *_wrap_HtmlLinkInfo_SetEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlLinkInfo_SetHtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlLinkInfo *arg1 = (wxHtmlLinkInfo *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; PyObject * obj0 = 0 ; @@ -2367,7 +2622,7 @@ static PyObject * HtmlLinkInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2399,7 +2654,7 @@ static PyObject *_wrap_HtmlTag_GetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2443,7 +2698,7 @@ static PyObject *_wrap_HtmlTag_HasParam(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) false ; @@ -2466,7 +2721,7 @@ static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -2499,7 +2754,7 @@ static PyObject *_wrap_HtmlTag_GetParam(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2531,7 +2786,7 @@ static PyObject *_wrap_HtmlTag_GetAllParams(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2559,7 +2814,7 @@ static PyObject *_wrap_HtmlTag_HasEnding(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2578,7 +2833,7 @@ static PyObject *_wrap_HtmlTag_GetBeginPos(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: @@ -2587,7 +2842,7 @@ static PyObject *_wrap_HtmlTag_GetBeginPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2606,7 +2861,7 @@ static PyObject *_wrap_HtmlTag_GetEndPos1(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: @@ -2615,7 +2870,7 @@ static PyObject *_wrap_HtmlTag_GetEndPos1(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlTag_GetEndPos2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlTag *arg1 = (wxHtmlTag *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2634,7 +2889,7 @@ static PyObject *_wrap_HtmlTag_GetEndPos2(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: @@ -2650,7 +2905,7 @@ static PyObject * HtmlTag_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxFileSystem *arg2 = (wxFileSystem *) 0 ; PyObject * obj0 = 0 ; @@ -2679,7 +2934,7 @@ static PyObject *_wrap_HtmlParser_SetFS(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxFileSystem *result; PyObject * obj0 = 0 ; @@ -2707,7 +2962,7 @@ static PyObject *_wrap_HtmlParser_GetFS(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *arg2 = 0 ; wxObject *result; @@ -2751,7 +3006,7 @@ static PyObject *_wrap_HtmlParser_Parse(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2792,7 +3047,7 @@ static PyObject *_wrap_HtmlParser_InitParser(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2817,7 +3072,7 @@ static PyObject *_wrap_HtmlParser_DoneParser(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; int arg2 ; int arg3 ; @@ -2832,11 +3087,11 @@ static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2854,7 +3109,7 @@ static PyObject *_wrap_HtmlParser_DoParsing(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2879,7 +3134,7 @@ static PyObject *_wrap_HtmlParser_StopParsing(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; PyObject * obj0 = 0 ; @@ -2908,7 +3163,7 @@ static PyObject *_wrap_HtmlParser_AddTagHandler(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -2940,7 +3195,7 @@ static PyObject *_wrap_HtmlParser_GetSource(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; wxHtmlTagHandler *arg2 = (wxHtmlTagHandler *) 0 ; wxString arg3 ; @@ -2977,7 +3232,7 @@ static PyObject *_wrap_HtmlParser_PushTagHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlParser_PopTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlParser *arg1 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3009,7 +3264,7 @@ static PyObject * HtmlParser_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) NULL ; wxHtmlWinParser *result; PyObject * obj0 = 0 ; @@ -3037,7 +3292,7 @@ static PyObject *_wrap_new_HtmlWinParser(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxDC *arg2 = (wxDC *) 0 ; PyObject * obj0 = 0 ; @@ -3066,7 +3321,7 @@ static PyObject *_wrap_HtmlWinParser_SetDC(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxDC *result; PyObject * obj0 = 0 ; @@ -3094,7 +3349,7 @@ static PyObject *_wrap_HtmlWinParser_GetDC(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3113,7 +3368,7 @@ static PyObject *_wrap_HtmlWinParser_GetCharHeight(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: @@ -3122,7 +3377,7 @@ static PyObject *_wrap_HtmlWinParser_GetCharHeight(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3141,7 +3396,7 @@ static PyObject *_wrap_HtmlWinParser_GetCharWidth(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: @@ -3150,7 +3405,7 @@ static PyObject *_wrap_HtmlWinParser_GetCharWidth(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxPyHtmlWindow *result; PyObject * obj0 = 0 ; @@ -3178,7 +3433,7 @@ static PyObject *_wrap_HtmlWinParser_GetWindow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxString arg2 ; wxString arg3 ; @@ -3224,7 +3479,7 @@ static PyObject *_wrap_HtmlWinParser_SetFonts(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3246,7 +3501,7 @@ static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args 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; } } @@ -3295,7 +3550,7 @@ static PyObject *_wrap_HtmlWinParser_SetStandardFonts(PyObject *, PyObject *args static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -3321,7 +3576,7 @@ static PyObject *_wrap_HtmlWinParser_GetContainer(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -3347,7 +3602,7 @@ static PyObject *_wrap_HtmlWinParser_OpenContainer(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; wxHtmlContainerCell *result; @@ -3377,7 +3632,7 @@ static PyObject *_wrap_HtmlWinParser_SetContainer(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -3403,7 +3658,7 @@ static PyObject *_wrap_HtmlWinParser_CloseContainer(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3422,7 +3677,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontSize(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: @@ -3431,7 +3686,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3444,7 +3699,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3462,7 +3717,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3481,7 +3736,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontBold(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: @@ -3490,7 +3745,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontBold(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3503,7 +3758,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3521,7 +3776,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontBold(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3540,7 +3795,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontItalic(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: @@ -3549,7 +3804,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontItalic(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3562,7 +3817,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3580,7 +3835,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontItalic(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3599,7 +3854,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3608,7 +3863,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontUnderlined(PyObject *, PyObject *arg static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3621,7 +3876,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3639,7 +3894,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontUnderlined(PyObject *, PyObject *arg static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3658,7 +3913,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontFixed(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: @@ -3667,7 +3922,7 @@ static PyObject *_wrap_HtmlWinParser_GetFontFixed(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3680,7 +3935,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3698,7 +3953,7 @@ static PyObject *_wrap_HtmlWinParser_SetFontFixed(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3717,7 +3972,7 @@ static PyObject *_wrap_HtmlWinParser_GetAlign(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: @@ -3726,7 +3981,7 @@ static PyObject *_wrap_HtmlWinParser_GetAlign(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3739,7 +3994,7 @@ static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWinParser, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3757,7 +4012,7 @@ static PyObject *_wrap_HtmlWinParser_SetAlign(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3777,7 +4032,7 @@ static PyObject *_wrap_HtmlWinParser_GetLinkColor(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; @@ -3787,7 +4042,7 @@ static PyObject *_wrap_HtmlWinParser_GetLinkColor(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -3819,7 +4074,7 @@ static PyObject *_wrap_HtmlWinParser_SetLinkColor(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -3839,7 +4094,7 @@ static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -3849,7 +4104,7 @@ static PyObject *_wrap_HtmlWinParser_GetActualColor(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -3881,7 +4136,7 @@ static PyObject *_wrap_HtmlWinParser_SetActualColor(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3922,7 +4177,7 @@ static PyObject *_wrap_HtmlWinParser_SetLink(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -3948,7 +4203,7 @@ static PyObject *_wrap_HtmlWinParser_CreateCurrentFont(PyObject *, PyObject *arg static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlWinParser *arg1 = (wxHtmlWinParser *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -3968,7 +4223,7 @@ static PyObject *_wrap_HtmlWinParser_GetLink(PyObject *, PyObject *args, PyObjec } { wxHtmlLinkInfo * resultptr; - resultptr = new wxHtmlLinkInfo((wxHtmlLinkInfo &)(result)); + resultptr = new wxHtmlLinkInfo(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxHtmlLinkInfo, 1); } return resultobj; @@ -3985,7 +4240,7 @@ static PyObject * HtmlWinParser_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *result; char *kwnames[] = { NULL @@ -4007,7 +4262,7 @@ static PyObject *_wrap_new_HtmlTagHandler(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -4038,7 +4293,7 @@ static PyObject *_wrap_HtmlTagHandler__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; @@ -4067,7 +4322,7 @@ static PyObject *_wrap_HtmlTagHandler_SetParser(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; wxHtmlParser *result; PyObject * obj0 = 0 ; @@ -4093,7 +4348,7 @@ static PyObject *_wrap_HtmlTagHandler_GetParser(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlTagHandler *arg1 = (wxPyHtmlTagHandler *) 0 ; wxHtmlTag *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4135,7 +4390,7 @@ static PyObject * HtmlTagHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *result; char *kwnames[] = { NULL @@ -4157,7 +4412,7 @@ static PyObject *_wrap_new_HtmlWinTagHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -4188,7 +4443,7 @@ static PyObject *_wrap_HtmlWinTagHandler__setCallbackInfo(PyObject *, PyObject * static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; wxHtmlParser *arg2 = (wxHtmlParser *) 0 ; PyObject * obj0 = 0 ; @@ -4217,7 +4472,7 @@ static PyObject *_wrap_HtmlWinTagHandler_SetParser(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; wxHtmlWinParser *result; PyObject * obj0 = 0 ; @@ -4243,7 +4498,7 @@ static PyObject *_wrap_HtmlWinTagHandler_GetParser(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWinTagHandler_ParseInner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWinTagHandler *arg1 = (wxPyHtmlWinTagHandler *) 0 ; wxHtmlTag *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4285,7 +4540,7 @@ static PyObject * HtmlWinTagHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4309,7 +4564,7 @@ static PyObject *_wrap_HtmlWinParser_AddTagHandler(PyObject *, PyObject *args, P static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *result; char *kwnames[] = { NULL @@ -4331,7 +4586,7 @@ static PyObject *_wrap_new_HtmlSelection(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4356,7 +4611,7 @@ static PyObject *_wrap_delete_HtmlSelection(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *arg2 = 0 ; wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; @@ -4403,7 +4658,7 @@ static PyObject *_wrap_HtmlSelection_Set(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; wxHtmlCell *arg3 = (wxHtmlCell *) 0 ; @@ -4436,7 +4691,7 @@ static PyObject *_wrap_HtmlSelection_SetCells(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -4462,7 +4717,7 @@ static PyObject *_wrap_HtmlSelection_GetFromCell(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -4488,7 +4743,7 @@ static PyObject *_wrap_HtmlSelection_GetToCell(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -4517,7 +4772,7 @@ static PyObject *_wrap_HtmlSelection_GetFromPos(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -4546,7 +4801,7 @@ static PyObject *_wrap_HtmlSelection_GetToPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -4575,7 +4830,7 @@ static PyObject *_wrap_HtmlSelection_GetFromPrivPos(PyObject *, PyObject *args, static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -4604,7 +4859,7 @@ static PyObject *_wrap_HtmlSelection_GetToPrivPos(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -4636,7 +4891,7 @@ static PyObject *_wrap_HtmlSelection_SetFromPrivPos(PyObject *, PyObject *args, static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -4668,7 +4923,7 @@ static PyObject *_wrap_HtmlSelection_SetToPrivPos(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4693,7 +4948,7 @@ static PyObject *_wrap_HtmlSelection_ClearPrivPos(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSelection *arg1 = (wxHtmlSelection *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4712,7 +4967,7 @@ static PyObject *_wrap_HtmlSelection_IsEmpty(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_bool((bool)(result)); + resultobj = SWIG_From_bool(static_cast(result)); } return resultobj; fail: @@ -4728,7 +4983,7 @@ static PyObject * HtmlSelection_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *result; char *kwnames[] = { NULL @@ -4750,7 +5005,7 @@ static PyObject *_wrap_new_HtmlRenderingState(PyObject *, PyObject *args, PyObje static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4775,7 +5030,7 @@ static PyObject *_wrap_delete_HtmlRenderingState(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxHtmlSelectionState arg2 ; PyObject * obj0 = 0 ; @@ -4788,12 +5043,12 @@ static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlRenderingState, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxHtmlSelectionState)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetSelectionState((wxHtmlSelectionState )arg2); + (arg1)->SetSelectionState(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4806,7 +5061,7 @@ static PyObject *_wrap_HtmlRenderingState_SetSelectionState(PyObject *, PyObject static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxHtmlSelectionState result; PyObject * obj0 = 0 ; @@ -4832,7 +5087,7 @@ static PyObject *_wrap_HtmlRenderingState_GetSelectionState(PyObject *, PyObject static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -4864,7 +5119,7 @@ static PyObject *_wrap_HtmlRenderingState_SetFgColour(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -4893,7 +5148,7 @@ static PyObject *_wrap_HtmlRenderingState_GetFgColour(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -4925,7 +5180,7 @@ static PyObject *_wrap_HtmlRenderingState_SetBgColour(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingState_GetBgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingState *arg1 = (wxHtmlRenderingState *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -4961,7 +5216,7 @@ static PyObject * HtmlRenderingState_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; wxColour *arg2 = 0 ; wxColour result; @@ -4988,7 +5243,7 @@ static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyOb } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -4998,7 +5253,7 @@ static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyOb static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingStyle *arg1 = (wxHtmlRenderingStyle *) 0 ; wxColour *arg2 = 0 ; wxColour result; @@ -5025,7 +5280,7 @@ static PyObject *_wrap_HtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, 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; @@ -5042,7 +5297,7 @@ static PyObject * HtmlRenderingStyle_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; wxColour *arg2 = 0 ; wxColour result; @@ -5069,7 +5324,7 @@ static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(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; @@ -5079,7 +5334,7 @@ static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextColour(PyObject static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDefaultHtmlRenderingStyle *arg1 = (wxDefaultHtmlRenderingStyle *) 0 ; wxColour *arg2 = 0 ; wxColour result; @@ -5106,7 +5361,7 @@ static PyObject *_wrap_DefaultHtmlRenderingStyle_GetSelectedTextBgColour(PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -5123,7 +5378,7 @@ static PyObject * DefaultHtmlRenderingStyle_swigregister(PyObject *, PyObject *a return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *result; char *kwnames[] = { NULL @@ -5145,7 +5400,7 @@ static PyObject *_wrap_new_HtmlRenderingInfo(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5170,7 +5425,7 @@ static PyObject *_wrap_delete_HtmlRenderingInfo(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; PyObject * obj0 = 0 ; @@ -5199,7 +5454,7 @@ static PyObject *_wrap_HtmlRenderingInfo_SetSelection(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlSelection *result; PyObject * obj0 = 0 ; @@ -5225,7 +5480,7 @@ static PyObject *_wrap_HtmlRenderingInfo_GetSelection(PyObject *, PyObject *args static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlRenderingStyle *arg2 = (wxHtmlRenderingStyle *) 0 ; PyObject * obj0 = 0 ; @@ -5254,7 +5509,7 @@ static PyObject *_wrap_HtmlRenderingInfo_SetStyle(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlRenderingStyle *result; PyObject * obj0 = 0 ; @@ -5283,7 +5538,7 @@ static PyObject *_wrap_HtmlRenderingInfo_GetStyle(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlRenderingInfo_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlRenderingInfo *arg1 = (wxHtmlRenderingInfo *) 0 ; wxHtmlRenderingState *result; PyObject * obj0 = 0 ; @@ -5319,7 +5574,7 @@ static PyObject * HtmlRenderingInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *result; char *kwnames[] = { NULL @@ -5341,7 +5596,7 @@ static PyObject *_wrap_new_HtmlCell(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5360,7 +5615,7 @@ static PyObject *_wrap_HtmlCell_GetPosX(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: @@ -5369,7 +5624,7 @@ static PyObject *_wrap_HtmlCell_GetPosX(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5388,7 +5643,7 @@ static PyObject *_wrap_HtmlCell_GetPosY(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: @@ -5397,7 +5652,7 @@ static PyObject *_wrap_HtmlCell_GetPosY(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5416,7 +5671,7 @@ static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5425,7 +5680,7 @@ static PyObject *_wrap_HtmlCell_GetWidth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5444,7 +5699,7 @@ static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5453,7 +5708,7 @@ static PyObject *_wrap_HtmlCell_GetHeight(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5472,7 +5727,7 @@ static PyObject *_wrap_HtmlCell_GetDescent(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: @@ -5481,7 +5736,7 @@ static PyObject *_wrap_HtmlCell_GetDescent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5500,7 +5755,7 @@ static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(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: @@ -5509,7 +5764,7 @@ static PyObject *_wrap_HtmlCell_GetMaxTotalWidth(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -5544,7 +5799,7 @@ static PyObject *_wrap_HtmlCell_GetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5585,7 +5840,7 @@ static PyObject *_wrap_HtmlCell_SetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -5602,13 +5857,13 @@ static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5627,7 +5882,7 @@ static PyObject *_wrap_HtmlCell_GetLink(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -5653,7 +5908,7 @@ static PyObject *_wrap_HtmlCell_GetNext(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -5679,7 +5934,7 @@ static PyObject *_wrap_HtmlCell_GetParent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -5705,7 +5960,7 @@ static PyObject *_wrap_HtmlCell_GetFirstChild(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxCursor result; PyObject * obj0 = 0 ; @@ -5725,7 +5980,7 @@ static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject * } { wxCursor * resultptr; - resultptr = new wxCursor((wxCursor &)(result)); + resultptr = new wxCursor(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); } return resultobj; @@ -5735,7 +5990,7 @@ static PyObject *_wrap_HtmlCell_GetCursor(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5763,7 +6018,7 @@ static PyObject *_wrap_HtmlCell_IsFormattingCell(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlLinkInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -5798,7 +6053,7 @@ static PyObject *_wrap_HtmlCell_SetLink(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; PyObject * obj0 = 0 ; @@ -5827,7 +6082,7 @@ static PyObject *_wrap_HtmlCell_SetNext(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlContainerCell *arg2 = (wxHtmlContainerCell *) 0 ; PyObject * obj0 = 0 ; @@ -5856,7 +6111,7 @@ static PyObject *_wrap_HtmlCell_SetParent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 ; int arg3 ; @@ -5871,11 +6126,11 @@ static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -5893,7 +6148,7 @@ static PyObject *_wrap_HtmlCell_SetPos(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5906,7 +6161,7 @@ static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5924,7 +6179,7 @@ static PyObject *_wrap_HtmlCell_Layout(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxDC *arg2 = 0 ; int arg3 ; @@ -5955,19 +6210,19 @@ static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -5993,7 +6248,7 @@ static PyObject *_wrap_HtmlCell_Draw(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxDC *arg2 = 0 ; int arg3 ; @@ -6020,11 +6275,11 @@ static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObje 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; } { @@ -6050,7 +6305,7 @@ static PyObject *_wrap_HtmlCell_DrawInvisible(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 ; void *arg3 = (void *) 0 ; @@ -6066,11 +6321,11 @@ static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwarg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { + if ((SWIG_ConvertPtr(obj2,reinterpret_cast(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { SWIG_arg_fail(3);SWIG_fail; } } @@ -6089,7 +6344,7 @@ static PyObject *_wrap_HtmlCell_Find(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int *arg2 = (int *) 0 ; bool result; @@ -6131,7 +6386,7 @@ static PyObject *_wrap_HtmlCell_AdjustPagebreak(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -6144,7 +6399,7 @@ static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, 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; } { @@ -6162,7 +6417,7 @@ static PyObject *_wrap_HtmlCell_SetCanLiveOnPagebreak(PyObject *, PyObject *args static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6190,7 +6445,7 @@ static PyObject *_wrap_HtmlCell_IsLinebreakAllowed(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6218,7 +6473,7 @@ static PyObject *_wrap_HtmlCell_IsTerminalCell(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; int arg2 ; int arg3 ; @@ -6236,16 +6491,16 @@ static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (unsigned int)(SWIG_As_unsigned_SS_int(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6264,7 +6519,7 @@ static PyObject *_wrap_HtmlCell_FindCellByPos(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -6284,7 +6539,7 @@ static PyObject *_wrap_HtmlCell_GetAbsPos(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; @@ -6294,7 +6549,7 @@ static PyObject *_wrap_HtmlCell_GetAbsPos(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -6320,7 +6575,7 @@ static PyObject *_wrap_HtmlCell_GetFirstTerminal(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -6346,7 +6601,7 @@ static PyObject *_wrap_HtmlCell_GetLastTerminal(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -6365,7 +6620,7 @@ static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -6374,7 +6629,7 @@ static PyObject *_wrap_HtmlCell_GetDepth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; bool result; @@ -6406,7 +6661,7 @@ static PyObject *_wrap_HtmlCell_IsBefore(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlCell_ConvertToText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlCell *arg1 = (wxHtmlCell *) 0 ; wxHtmlSelection *arg2 = (wxHtmlSelection *) 0 ; wxString result; @@ -6449,7 +6704,7 @@ static PyObject * HtmlCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWordCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxDC *arg2 = 0 ; wxHtmlWordCell *result; @@ -6504,7 +6759,7 @@ static PyObject * HtmlWordCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -6530,7 +6785,7 @@ static PyObject *_wrap_new_HtmlContainerCell(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; PyObject * obj0 = 0 ; @@ -6559,7 +6814,7 @@ static PyObject *_wrap_HtmlContainerCell_InsertCell(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6572,7 +6827,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6590,7 +6845,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlignHor(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6609,7 +6864,7 @@ static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6618,7 +6873,7 @@ static PyObject *_wrap_HtmlContainerCell_GetAlignHor(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6631,7 +6886,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6649,7 +6904,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlignVer(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6668,7 +6923,7 @@ static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6677,7 +6932,7 @@ static PyObject *_wrap_HtmlContainerCell_GetAlignVer(PyObject *, PyObject *args, static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int arg3 ; @@ -6694,16 +6949,16 @@ static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -6722,7 +6977,7 @@ static PyObject *_wrap_HtmlContainerCell_SetIndent(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int result; @@ -6736,7 +6991,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6747,7 +7002,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndent(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: @@ -6756,7 +7011,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndent(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int result; @@ -6770,7 +7025,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6781,7 +7036,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6790,7 +7045,7 @@ static PyObject *_wrap_HtmlContainerCell_GetIndentUnits(PyObject *, PyObject *ar static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlTag *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -6825,7 +7080,7 @@ static PyObject *_wrap_HtmlContainerCell_SetAlign(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int arg3 ; @@ -6840,11 +7095,11 @@ static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6862,7 +7117,7 @@ static PyObject *_wrap_HtmlContainerCell_SetWidthFloat(PyObject *, PyObject *arg static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlTag *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -6897,7 +7152,7 @@ static PyObject *_wrap_HtmlContainerCell_SetWidthFloatFromTag(PyObject *, PyObje static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; int arg2 ; int arg3 = (int) wxHTML_ALIGN_TOP ; @@ -6912,12 +7167,12 @@ static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlContainerCell, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6936,7 +7191,7 @@ static PyObject *_wrap_HtmlContainerCell_SetMinHeight(PyObject *, PyObject *args static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -6968,7 +7223,7 @@ static PyObject *_wrap_HtmlContainerCell_SetBackgroundColour(PyObject *, PyObjec static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -6988,7 +7243,7 @@ static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObjec } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -6998,7 +7253,7 @@ static PyObject *_wrap_HtmlContainerCell_GetBackgroundColour(PyObject *, PyObjec static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxColour *arg2 = 0 ; wxColour *arg3 = 0 ; @@ -7037,7 +7292,7 @@ static PyObject *_wrap_HtmlContainerCell_SetBorder(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlContainerCell_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlContainerCell *arg1 = (wxHtmlContainerCell *) 0 ; wxHtmlCell *result; PyObject * obj0 = 0 ; @@ -7070,7 +7325,7 @@ static PyObject * HtmlContainerCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColour *arg1 = 0 ; int arg2 = (int) wxHTML_CLR_FOREGROUND ; wxHtmlColourCell *result; @@ -7088,7 +7343,7 @@ static PyObject *_wrap_new_HtmlColourCell(PyObject *, PyObject *args, PyObject * } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7114,7 +7369,7 @@ static PyObject * HtmlColourCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlFontCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFont *arg1 = (wxFont *) 0 ; wxHtmlFontCell *result; PyObject * obj0 = 0 ; @@ -7147,7 +7402,7 @@ static PyObject * HtmlFontCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWidgetCell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) 0 ; wxHtmlWidgetCell *result; @@ -7162,7 +7417,7 @@ static PyObject *_wrap_new_HtmlWidgetCell(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; } } @@ -7188,7 +7443,7 @@ static PyObject * HtmlWidgetCell_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlFilter *result; char *kwnames[] = { NULL @@ -7210,7 +7465,7 @@ static PyObject *_wrap_new_HtmlFilter(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_HtmlFilter__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -7248,7 +7503,7 @@ static PyObject * HtmlFilter_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -7277,7 +7532,7 @@ static PyObject *_wrap_new_HtmlWindow(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; } } @@ -7295,7 +7550,7 @@ static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwar } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -7330,7 +7585,7 @@ static PyObject *_wrap_new_HtmlWindow(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *result; char *kwnames[] = { NULL @@ -7353,7 +7608,7 @@ static PyObject *_wrap_new_PreHtmlWindow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -7386,7 +7641,7 @@ static PyObject *_wrap_HtmlWindow_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; } } @@ -7404,7 +7659,7 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *k } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -7440,7 +7695,7 @@ static PyObject *_wrap_HtmlWindow_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -7471,7 +7726,7 @@ static PyObject *_wrap_HtmlWindow__setCallbackInfo(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -7515,7 +7770,7 @@ static PyObject *_wrap_HtmlWindow_SetPage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -7559,7 +7814,7 @@ static PyObject *_wrap_HtmlWindow_LoadPage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -7603,7 +7858,7 @@ static PyObject *_wrap_HtmlWindow_LoadFile(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -7647,7 +7902,7 @@ static PyObject *_wrap_HtmlWindow_AppendToPage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7679,7 +7934,7 @@ static PyObject *_wrap_HtmlWindow_GetOpenedPage(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7711,7 +7966,7 @@ static PyObject *_wrap_HtmlWindow_GetOpenedAnchor(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7743,7 +7998,7 @@ static PyObject *_wrap_HtmlWindow_GetOpenedPageTitle(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxString *arg3 = 0 ; @@ -7788,7 +8043,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedFrame(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -7816,7 +8071,7 @@ static PyObject *_wrap_HtmlWindow_GetRelatedFrame(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7829,7 +8084,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7847,7 +8102,7 @@ static PyObject *_wrap_HtmlWindow_SetRelatedStatusBar(PyObject *, PyObject *args static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString arg2 ; wxString arg3 ; @@ -7893,7 +8148,7 @@ static PyObject *_wrap_HtmlWindow_SetFonts(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -7915,7 +8170,7 @@ static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, P if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7964,7 +8219,7 @@ static PyObject *_wrap_HtmlWindow_SetStandardFonts(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -8005,7 +8260,7 @@ static PyObject *_wrap_HtmlWindow_SetLabel(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8018,7 +8273,7 @@ static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8036,7 +8291,7 @@ static PyObject *_wrap_HtmlWindow_SetBorders(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8071,7 +8326,7 @@ static PyObject *_wrap_HtmlWindow_SetBackgroundImage(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -8110,7 +8365,7 @@ static PyObject *_wrap_HtmlWindow_ReadCustomization(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -8149,7 +8404,7 @@ static PyObject *_wrap_HtmlWindow_WriteCustomization(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8177,7 +8432,7 @@ static PyObject *_wrap_HtmlWindow_HistoryBack(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8205,7 +8460,7 @@ static PyObject *_wrap_HtmlWindow_HistoryForward(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8233,7 +8488,7 @@ static PyObject *_wrap_HtmlWindow_HistoryCanBack(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8261,7 +8516,7 @@ static PyObject *_wrap_HtmlWindow_HistoryCanForward(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8286,7 +8541,7 @@ static PyObject *_wrap_HtmlWindow_HistoryClear(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlContainerCell *result; PyObject * obj0 = 0 ; @@ -8312,7 +8567,7 @@ static PyObject *_wrap_HtmlWindow_GetInternalRepresentation(PyObject *, PyObject static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlWinParser *result; PyObject * obj0 = 0 ; @@ -8338,7 +8593,7 @@ static PyObject *_wrap_HtmlWindow_GetParser(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8382,7 +8637,7 @@ static PyObject *_wrap_HtmlWindow_ScrollToAnchor(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8426,7 +8681,7 @@ static PyObject *_wrap_HtmlWindow_HasAnchor(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlFilter *arg1 = (wxPyHtmlFilter *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8451,7 +8706,7 @@ static PyObject *_wrap_HtmlWindow_AddFilter(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -8483,7 +8738,7 @@ static PyObject *_wrap_HtmlWindow_SelectWord(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -8515,7 +8770,7 @@ static PyObject *_wrap_HtmlWindow_SelectLine(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8540,7 +8795,7 @@ static PyObject *_wrap_HtmlWindow_SelectAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8572,7 +8827,7 @@ static PyObject *_wrap_HtmlWindow_SelectionToText(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8604,7 +8859,7 @@ static PyObject *_wrap_HtmlWindow_ToText(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlLinkInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -8639,7 +8894,7 @@ static PyObject *_wrap_HtmlWindow_base_OnLinkClicked(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -8680,7 +8935,7 @@ static PyObject *_wrap_HtmlWindow_base_OnSetTitle(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; int arg3 ; @@ -8699,11 +8954,11 @@ static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -8721,7 +8976,7 @@ static PyObject *_wrap_HtmlWindow_base_OnCellMouseHover(PyObject *, PyObject *ar static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlWindow *arg1 = (wxPyHtmlWindow *) 0 ; wxHtmlCell *arg2 = (wxHtmlCell *) 0 ; int arg3 ; @@ -8742,11 +8997,11 @@ static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlCell, 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; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -8772,7 +9027,7 @@ static PyObject *_wrap_HtmlWindow_base_OnCellClicked(PyObject *, PyObject *args, static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -8783,21 +9038,21 @@ static PyObject *_wrap_HtmlWindow_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:HtmlWindow_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 = wxPyHtmlWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxPyHtmlWindow::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; @@ -8814,7 +9069,7 @@ static PyObject * HtmlWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *result; char *kwnames[] = { NULL @@ -8837,7 +9092,7 @@ static PyObject *_wrap_new_HtmlDCRenderer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8862,7 +9117,7 @@ static PyObject *_wrap_delete_HtmlDCRenderer(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; wxDC *arg2 = (wxDC *) 0 ; int arg3 ; @@ -8879,7 +9134,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, 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; } { @@ -8897,7 +9152,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetDC(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; int arg2 ; int arg3 ; @@ -8912,11 +9167,11 @@ static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -8934,7 +9189,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -8967,7 +9222,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, Py } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9002,7 +9257,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetHtmlText(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; wxString arg2 ; wxString arg3 ; @@ -9048,7 +9303,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetFonts(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9070,7 +9325,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *arg 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; } } @@ -9119,7 +9374,7 @@ static PyObject *_wrap_HtmlDCRenderer_SetStandardFonts(PyObject *, PyObject *arg static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; int arg2 ; int arg3 ; @@ -9145,28 +9400,28 @@ static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlDCRenderer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -9176,7 +9431,7 @@ static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObjec } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -9188,7 +9443,7 @@ static PyObject *_wrap_HtmlDCRenderer_Render(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: @@ -9197,7 +9452,7 @@ static PyObject *_wrap_HtmlDCRenderer_Render(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlDCRenderer *arg1 = (wxHtmlDCRenderer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9216,7 +9471,7 @@ static PyObject *_wrap_HtmlDCRenderer_GetTotalHeight(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9232,7 +9487,7 @@ static PyObject * HtmlDCRenderer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyHtmlPrintoutTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxHtmlPrintout *result; @@ -9274,7 +9529,7 @@ static PyObject *_wrap_new_HtmlPrintout(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9307,7 +9562,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyOb } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9342,7 +9597,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9383,7 +9638,7 @@ static PyObject *_wrap_HtmlPrintout_SetHtmlFile(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; @@ -9405,7 +9660,7 @@ static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9432,7 +9687,7 @@ static PyObject *_wrap_HtmlPrintout_SetHeader(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; @@ -9454,7 +9709,7 @@ static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9481,7 +9736,7 @@ static PyObject *_wrap_HtmlPrintout_SetFooter(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; wxString arg2 ; wxString arg3 ; @@ -9527,7 +9782,7 @@ static PyObject *_wrap_HtmlPrintout_SetFonts(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9549,7 +9804,7 @@ static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, 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; } } @@ -9598,7 +9853,7 @@ static PyObject *_wrap_HtmlPrintout_SetStandardFonts(PyObject *, PyObject *args, static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlPrintout *arg1 = (wxHtmlPrintout *) 0 ; float arg2 = (float) 25.2 ; float arg3 = (float) 25.2 ; @@ -9620,31 +9875,31 @@ static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (float)(SWIG_As_float(obj1)); + arg2 = static_cast(SWIG_As_float(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (float)(SWIG_As_float(obj2)); + arg3 = static_cast(SWIG_As_float(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (float)(SWIG_As_float(obj3)); + arg4 = static_cast(SWIG_As_float(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (float)(SWIG_As_float(obj4)); + arg5 = static_cast(SWIG_As_float(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (float)(SWIG_As_float(obj5)); + arg6 = static_cast(SWIG_As_float(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -9663,7 +9918,7 @@ static PyObject *_wrap_HtmlPrintout_SetMargins(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlFilter *arg1 = (wxHtmlFilter *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9688,7 +9943,7 @@ static PyObject *_wrap_HtmlPrintout_AddFilter(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlPrintout_CleanUpStatics(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9716,7 +9971,7 @@ static PyObject * HtmlPrintout_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyHtmlPrintingTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxWindow *arg2 = (wxWindow *) NULL ; @@ -9764,7 +10019,7 @@ static PyObject *_wrap_new_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9789,7 +10044,7 @@ static PyObject *_wrap_delete_HtmlEasyPrinting(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9830,7 +10085,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewFile(PyObject *, PyObject *args, static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9890,7 +10145,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PreviewText(PyObject *, PyObject *args, static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -9931,7 +10186,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintFile(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -9991,7 +10246,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PrintText(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10016,7 +10271,7 @@ static PyObject *_wrap_HtmlEasyPrinting_PageSetup(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; @@ -10038,7 +10293,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10065,7 +10320,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetHeader(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) wxPAGE_ALL ; @@ -10087,7 +10342,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10114,7 +10369,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFooter(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxString arg2 ; wxString arg3 ; @@ -10160,7 +10415,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetFonts(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -10182,7 +10437,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *a 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; } } @@ -10231,7 +10486,7 @@ static PyObject *_wrap_HtmlEasyPrinting_SetStandardFonts(PyObject *, PyObject *a static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxPrintData *result; PyObject * obj0 = 0 ; @@ -10257,7 +10512,7 @@ static PyObject *_wrap_HtmlEasyPrinting_GetPrintData(PyObject *, PyObject *args, static PyObject *_wrap_HtmlEasyPrinting_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlEasyPrinting *arg1 = (wxHtmlEasyPrinting *) 0 ; wxPageSetupDialogData *result; PyObject * obj0 = 0 ; @@ -10290,7 +10545,7 @@ static PyObject * HtmlEasyPrinting_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -10376,7 +10631,7 @@ static PyObject *_wrap_new_HtmlBookRecord(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10408,7 +10663,7 @@ static PyObject *_wrap_HtmlBookRecord_GetBookFile(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10440,7 +10695,7 @@ static PyObject *_wrap_HtmlBookRecord_GetTitle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10472,7 +10727,7 @@ static PyObject *_wrap_HtmlBookRecord_GetStart(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -10504,7 +10759,7 @@ static PyObject *_wrap_HtmlBookRecord_GetBasePath(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; int arg2 ; int arg3 ; @@ -10519,11 +10774,11 @@ static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlBookRecord, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -10541,7 +10796,7 @@ static PyObject *_wrap_HtmlBookRecord_SetContentsRange(PyObject *, PyObject *arg static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10560,7 +10815,7 @@ static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10569,7 +10824,7 @@ static PyObject *_wrap_HtmlBookRecord_GetContentsStart(PyObject *, PyObject *arg static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10588,7 +10843,7 @@ static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10597,7 +10852,7 @@ static PyObject *_wrap_HtmlBookRecord_GetContentsEnd(PyObject *, PyObject *args, static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10638,7 +10893,7 @@ static PyObject *_wrap_HtmlBookRecord_SetTitle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10679,7 +10934,7 @@ static PyObject *_wrap_HtmlBookRecord_SetBasePath(PyObject *, PyObject *args, Py static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10720,7 +10975,7 @@ static PyObject *_wrap_HtmlBookRecord_SetStart(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlBookRecord_GetFullPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlBookRecord *arg1 = (wxHtmlBookRecord *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -10775,7 +11030,7 @@ static PyObject * HtmlBookRecord_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10803,7 +11058,7 @@ static PyObject *_wrap_HtmlSearchStatus_Search(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10831,7 +11086,7 @@ static PyObject *_wrap_HtmlSearchStatus_IsActive(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10850,7 +11105,7 @@ static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10859,7 +11114,7 @@ static PyObject *_wrap_HtmlSearchStatus_GetCurIndex(PyObject *, PyObject *args, static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10878,7 +11133,7 @@ static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10887,7 +11142,7 @@ static PyObject *_wrap_HtmlSearchStatus_GetMaxIndex(PyObject *, PyObject *args, static PyObject *_wrap_HtmlSearchStatus_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlSearchStatus *arg1 = (wxHtmlSearchStatus *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -10929,7 +11184,7 @@ static PyObject * HtmlSearchStatus_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *result; char *kwnames[] = { NULL @@ -10951,7 +11206,7 @@ static PyObject *_wrap_new_HtmlHelpData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10976,7 +11231,7 @@ static PyObject *_wrap_delete_HtmlHelpData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -11017,7 +11272,7 @@ static PyObject *_wrap_HtmlHelpData_SetTempDir(PyObject *, PyObject *args, PyObj static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; bool result; @@ -11061,7 +11316,7 @@ static PyObject *_wrap_HtmlHelpData_AddBook(PyObject *, PyObject *args, PyObject static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -11109,7 +11364,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageByName(PyObject *, PyObject *args, P static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; int arg2 ; wxString result; @@ -11123,7 +11378,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11147,7 +11402,7 @@ static PyObject *_wrap_HtmlHelpData_FindPageById(PyObject *, PyObject *args, PyO static PyObject *_wrap_HtmlHelpData_GetBookRecArray(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxHtmlHelpData *arg1 = (wxHtmlHelpData *) 0 ; wxHtmlBookRecArray *result; PyObject * obj0 = 0 ; @@ -11182,83 +11437,195 @@ static PyObject * HtmlHelpData_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_HtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; - wxString const &arg3_defvalue = wxPyEmptyString ; - wxString *arg3 = (wxString *) &arg3_defvalue ; - int arg4 = (int) wxHF_DEFAULTSTYLE ; - wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; - wxHtmlHelpFrame *result; - bool temp3 = false ; + wxPoint const &arg3_defvalue = wxDefaultPosition ; + wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; + wxSize const &arg4_defvalue = wxDefaultSize ; + wxSize *arg4 = (wxSize *) &arg4_defvalue ; + int arg5 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; + int arg6 = (int) wxHF_DEFAULT_STYLE ; + wxHtmlHelpData *arg7 = (wxHtmlHelpData *) NULL ; + wxHtmlHelpWindow *result; + wxPoint temp3 ; + wxSize temp4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; PyObject * obj3 = 0 ; PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; char *kwnames[] = { - (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL + (char *) "parent","arg2",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle",(char *) "data", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_HtmlHelpWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); - if (SWIG_arg_fail(4)) SWIG_fail; + arg4 = &temp4; + if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; } } if (obj4) { - SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(5)) SWIG_fail; + { + arg5 = static_cast(SWIG_As_int(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = static_cast(SWIG_As_int(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + if (obj6) { + SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(7)) SWIG_fail; } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); + result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); - { - if (temp3) - delete arg3; + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_PreHtmlHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; + wxHtmlHelpWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "data", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpWindow",kwnames,&obj0)) goto fail; + if (obj0) { + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpWindow *)new wxHtmlHelpWindow(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpWindow, 1); return resultobj; fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + wxSize const &arg5_defvalue = wxDefaultSize ; + wxSize *arg5 = (wxSize *) &arg5_defvalue ; + int arg6 = (int) wxTAB_TRAVERSAL|wxNO_BORDER ; + int arg7 = (int) wxHF_DEFAULT_STYLE ; + bool result; + wxPoint temp4 ; + wxSize temp5 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + PyObject * obj5 = 0 ; + PyObject * obj6 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "helpStyle", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:HtmlHelpWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; { - if (temp3) - delete arg3; + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = &temp5; + if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; + } + } + if (obj5) { + { + arg6 = static_cast(SWIG_As_int(obj5)); + if (SWIG_arg_fail(6)) SWIG_fail; + } + } + if (obj6) { + { + arg7 = static_cast(SWIG_As_int(obj6)); + if (SWIG_arg_fail(7)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); } + return resultobj; + fail: return NULL; } -static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_GetData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxHtmlHelpData *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetData",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -11274,51 +11641,66 @@ static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; - wxString *arg2 = 0 ; - bool temp2 = false ; +static PyObject *_wrap_HtmlHelpWindow_GetController(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + wxHtmlHelpController *result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "format", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetController",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpController *)((wxHtmlHelpWindow const *)arg1)->GetController(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpWindow_SetController(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "controller", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_SetController",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetTitleFormat((wxString const &)*arg2); + (arg1)->SetController(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } Py_INCREF(Py_None); resultobj = Py_None; - { - if (temp2) - delete arg2; - } return resultobj; fail: - { - if (temp2) - delete arg2; - } return NULL; } -static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_Display(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxString *arg2 = 0 ; + bool result; bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11326,8 +11708,8 @@ static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_Display",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_Display",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); @@ -11336,12 +11718,14 @@ static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObjec } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Display((wxString const &)*arg2); + result = (bool)(arg1)->Display((wxString const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } { if (temp2) delete arg2; @@ -11356,110 +11740,133 @@ static PyObject *_wrap_HtmlHelpFrame_Display(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_HtmlHelpFrame_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; int arg2 ; + bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_DisplayID",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpWindow_DisplayID",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Display(arg2); + result = (bool)(arg1)->Display(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_HtmlHelpFrame_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + bool result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayContents",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayContents",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->DisplayContents(); + result = (bool)(arg1)->DisplayContents(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_HtmlHelpFrame_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + bool result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_DisplayIndex",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_DisplayIndex",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->DisplayIndex(); + result = (bool)(arg1)->DisplayIndex(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxString *arg2 = 0 ; + wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; bool result; bool temp2 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "keyword", NULL + (char *) "self",(char *) "keyword",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = wxString_in_helper(obj1); if (arg2 == NULL) SWIG_fail; temp2 = true; } + if (obj2) { + { + wxHelpSearchMode * argp; + SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION); + if (SWIG_arg_fail(3)) SWIG_fail; + if (argp == NULL) { + SWIG_null_ref("wxHelpSearchMode"); + } + if (SWIG_arg_fail(3)) SWIG_fail; + arg3 = *argp; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); + result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11481,11 +11888,11 @@ static PyObject *_wrap_HtmlHelpFrame_KeywordSearch(PyObject *, PyObject *args, P } -static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; - wxString const &arg3_defvalue = wxPyEmptyString ; + wxString const &arg3_defvalue = wxEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; bool temp3 = false ; PyObject * obj0 = 0 ; @@ -11495,8 +11902,8 @@ static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "config",(char *) "rootpath", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; @@ -11529,11 +11936,13 @@ static PyObject *_wrap_HtmlHelpFrame_UseConfig(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; - wxString arg3 = (wxString) wxPyEmptyString ; + wxString const &arg3_defvalue = wxEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11541,38 +11950,47 @@ static PyObject *_wrap_HtmlHelpFrame_ReadCustomization(PyObject *, PyObject *arg (char *) "self",(char *) "cfg",(char *) "path", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - wxString* sptr = wxString_in_helper(obj2); - if (sptr == NULL) SWIG_fail; - arg3 = *sptr; - delete sptr; + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->ReadCustomization(arg2,arg3); + (arg1)->ReadCustomization(arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp3) + delete arg3; + } return resultobj; fail: + { + if (temp3) + delete arg3; + } return NULL; } -static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; wxConfigBase *arg2 = (wxConfigBase *) 0 ; - wxString arg3 = (wxString) wxPyEmptyString ; + wxString const &arg3_defvalue = wxEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11580,85 +11998,79 @@ static PyObject *_wrap_HtmlHelpFrame_WriteCustomization(PyObject *, PyObject *ar (char *) "self",(char *) "cfg",(char *) "path", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpFrame_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpWindow_WriteCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - wxString* sptr = wxString_in_helper(obj2); - if (sptr == NULL) SWIG_fail; - arg3 = *sptr; - delete sptr; + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->WriteCustomization(arg2,arg3); + (arg1)->WriteCustomization(arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp3) + delete arg3; + } return resultobj; fail: + { + if (temp3) + delete arg3; + } return NULL; } -static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} -static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - int arg1 = (int) wxHF_DEFAULTSTYLE ; - wxHtmlHelpController *result; +static PyObject *_wrap_HtmlHelpWindow_NotifyPageChanged(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { - (char *) "style", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_HtmlHelpController",kwnames,&obj0)) goto fail; - if (obj0) { - { - arg1 = (int)(SWIG_As_int(obj0)); - if (SWIG_arg_fail(1)) SWIG_fail; - } - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_NotifyPageChanged",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1); + (arg1)->NotifyPageChanged(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1); + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; +static PyObject *_wrap_HtmlHelpWindow_RefreshLists(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_RefreshLists",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - delete arg1; + (arg1)->RefreshLists(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -11670,325 +12082,295 @@ static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxString *arg2 = 0 ; - bool temp2 = false ; +static PyObject *_wrap_HtmlHelpWindow_GetHtmlWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + wxHtmlWindow *result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "format", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetHtmlWindow",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetTitleFormat((wxString const &)*arg2); + result = (wxHtmlWindow *)((wxHtmlHelpWindow const *)arg1)->GetHtmlWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; - { - if (temp2) - delete arg2; - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindow, 0); return resultobj; fail: - { - if (temp2) - delete arg2; - } return NULL; } -static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxString *arg2 = 0 ; - bool temp2 = false ; +static PyObject *_wrap_HtmlHelpWindow_GetSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + wxSplitterWindow *result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "path", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetSplitterWindow",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetTempDir((wxString const &)*arg2); + result = (wxSplitterWindow *)(arg1)->GetSplitterWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; - { - if (temp2) - delete arg2; - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 0); return resultobj; fail: - { - if (temp2) - delete arg2; - } return NULL; } -static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxString *arg2 = 0 ; - int arg3 = (int) false ; - bool result; - bool temp2 = false ; +static PyObject *_wrap_HtmlHelpWindow_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + wxToolBar *result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetToolBar",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } - if (obj2) { - { - arg3 = (int)(SWIG_As_int(obj2)); - if (SWIG_arg_fail(3)) SWIG_fail; - } - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); + result = (wxToolBar *)((wxHtmlHelpWindow const *)arg1)->GetToolBar(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp2) - delete arg2; + resultobj = wxPyMake_wxObject(result, 0); } return resultobj; fail: - { - if (temp2) - delete arg2; - } return NULL; } -static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxString *arg2 = 0 ; - bool temp2 = false ; +static PyObject *_wrap_HtmlHelpWindow_GetCfgData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + wxHtmlHelpFrameCfg *result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "x", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetCfgData",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Display((wxString const &)*arg2); + { + wxHtmlHelpFrameCfg &_result_ref = (arg1)->GetCfgData(); + result = (wxHtmlHelpFrameCfg *) &_result_ref; + } wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; - { - if (temp2) - delete arg2; - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrameCfg, 0); return resultobj; fail: - { - if (temp2) - delete arg2; - } return NULL; } -static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - int arg2 ; +static PyObject *_wrap_HtmlHelpWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpWindow *arg1 = (wxHtmlHelpWindow *) 0 ; + wxTreeCtrl *result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "id", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpWindow_GetTreeCtrl",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = (int)(SWIG_As_int(obj1)); - if (SWIG_arg_fail(2)) SWIG_fail; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Display(arg2); + result = (wxTreeCtrl *)((wxHtmlHelpWindow const *)arg1)->GetTreeCtrl(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeCtrl, 0); return resultobj; fail: return NULL; } -static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; +static PyObject * HtmlHelpWindow_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpWindow, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_HtmlWindowEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxEventType arg1 = (wxEventType) wxEVT_NULL ; + int arg2 = (int) 0 ; + wxHtmlWindowEvent *result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "commandType",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlWindowEvent",kwnames,&obj0,&obj1)) goto fail; + if (obj0) { + { + arg1 = static_cast(SWIG_As_int(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } + } + if (obj1) { + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->DisplayContents(); + result = (wxHtmlWindowEvent *)new wxHtmlWindowEvent(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlWindowEvent, 1); return resultobj; fail: return NULL; } -static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; +static PyObject *_wrap_HtmlWindowEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; + wxString *arg2 = 0 ; + bool temp2 = false ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "self",(char *) "url", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlWindowEvent_SetURL",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->DisplayIndex(); + (arg1)->SetURL((wxString const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } return resultobj; fail: + { + if (temp2) + delete arg2; + } return NULL; } -static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxString *arg2 = 0 ; - bool result; - bool temp2 = false ; +static PyObject *_wrap_HtmlWindowEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlWindowEvent *arg1 = (wxHtmlWindowEvent *) 0 ; + wxString *result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "keyword", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlWindowEvent_GetURL",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlWindowEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); + { + wxString const &_result_ref = ((wxHtmlWindowEvent const *)arg1)->GetURL(); + result = (wxString *) &_result_ref; + } wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } - { - if (temp2) - delete arg2; +#if wxUSE_UNICODE + resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); +#else + resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); +#endif } return resultobj; fail: - { - if (temp2) - delete arg2; - } return NULL; } -static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxConfigBase *arg2 = (wxConfigBase *) 0 ; +static PyObject * HtmlWindowEvent_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxHtmlWindowEvent, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_HtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; wxString *arg3 = (wxString *) &arg3_defvalue ; + int arg4 = (int) wxHF_DEFAULTSTYLE ; + wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; + wxHtmlHelpFrame *result; bool temp3 = false ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "config",(char *) "rootpath", NULL + (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(2)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } if (obj2) { { arg3 = wxString_in_helper(obj2); @@ -11996,14 +12378,25 @@ static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, temp3 = true; } } + if (obj3) { + { + arg4 = static_cast(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + if (obj4) { + SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(5)) SWIG_fail; + } { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->UseConfig(arg2,(wxString const &)*arg3); + result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1,arg2,(wxString const &)*arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); { if (temp3) delete arg3; @@ -12018,54 +12411,1971 @@ static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, } -static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxConfigBase *arg2 = (wxConfigBase *) 0 ; - wxString arg3 = (wxString) wxPyEmptyString ; +static PyObject *_wrap_new_PreHtmlHelpFrame(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; + wxHtmlHelpFrame *result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "cfg",(char *) "path", NULL + (char *) "data", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(2)) SWIG_fail; - if (obj2) { - { - wxString* sptr = wxString_in_helper(obj2); - if (sptr == NULL) SWIG_fail; - arg3 = *sptr; - delete sptr; - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpFrame",kwnames,&obj0)) goto fail; + if (obj0) { + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; } { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->ReadCustomization(arg2,arg3); + result = (wxHtmlHelpFrame *)new wxHtmlHelpFrame(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 1); return resultobj; fail: return NULL; } -static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxConfigBase *arg2 = (wxConfigBase *) 0 ; - wxString arg3 = (wxString) wxPyEmptyString ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - char *kwnames[] = { +static PyObject *_wrap_HtmlHelpFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 ; + wxString const &arg4_defvalue = wxPyEmptyString ; + wxString *arg4 = (wxString *) &arg4_defvalue ; + int arg5 = (int) wxHF_DEFAULT_STYLE ; + bool result; + bool temp4 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + if (obj3) { + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_int(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp4) + delete arg4; + } + return resultobj; + fail: + { + if (temp4) + delete arg4; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpFrame_GetData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; + wxHtmlHelpData *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetData",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpData *)(arg1)->GetData(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpFrame_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; + wxString *arg2 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "format", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTitleFormat((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpFrame_AddGrabIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_AddGrabIfNeeded",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->AddGrabIfNeeded(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpFrame_GetController(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; + wxHtmlHelpController *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetController",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpController *)((wxHtmlHelpFrame const *)arg1)->GetController(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpFrame_SetController(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; + wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "controller", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpFrame_SetController",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetController(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpFrame_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpFrame *arg1 = (wxHtmlHelpFrame *) 0 ; + wxHtmlHelpWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpFrame_GetHelpWindow",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpFrame, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpWindow *)((wxHtmlHelpFrame const *)arg1)->GetHelpWindow(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * HtmlHelpFrame_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpFrame, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_HtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int arg2 ; + wxString const &arg3_defvalue = wxPyEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + int arg4 = (int) wxHF_DEFAULT_STYLE ; + wxHtmlHelpData *arg5 = (wxHtmlHelpData *) NULL ; + wxHtmlHelpDialog *result; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "parent","arg2",(char *) "title",(char *) "style",(char *) "data", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_HtmlHelpDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (obj2) { + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + if (obj4) { + SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(5)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1,arg2,(wxString const &)*arg3,arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1); + { + if (temp3) + delete arg3; + } + return resultobj; + fail: + { + if (temp3) + delete arg3; + } + return NULL; +} + + +static PyObject *_wrap_new_PreHtmlHelpDialog(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpData *arg1 = (wxHtmlHelpData *) NULL ; + wxHtmlHelpDialog *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "data", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PreHtmlHelpDialog",kwnames,&obj0)) goto fail; + if (obj0) { + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpData, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpDialog *)new wxHtmlHelpDialog(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpDialog, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + int arg3 ; + wxString const &arg4_defvalue = wxPyEmptyString ; + wxString *arg4 = (wxString *) &arg4_defvalue ; + int arg5 = (int) wxHF_DEFAULT_STYLE ; + bool result; + bool temp4 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "style", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HtmlHelpDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + if (obj3) { + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_int(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp4) + delete arg4; + } + return resultobj; + fail: + { + if (temp4) + delete arg4; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; + wxHtmlHelpData *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetData",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpData *)(arg1)->GetData(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpData, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpDialog_GetController(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; + wxHtmlHelpController *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetController",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpController *)((wxHtmlHelpDialog const *)arg1)->GetController(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpDialog_SetController(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; + wxHtmlHelpController *arg2 = (wxHtmlHelpController *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "controller", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetController",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetController(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpDialog_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; + wxHtmlHelpWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpDialog_GetHelpWindow",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpWindow *)((wxHtmlHelpDialog const *)arg1)->GetHelpWindow(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpDialog_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpDialog *arg1 = (wxHtmlHelpDialog *) 0 ; + wxString *arg2 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "format", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpDialog_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpDialog, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTitleFormat((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject * HtmlHelpDialog_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxHtmlHelpDialog, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_0(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxString *arg2 = 0 ; + int arg3 ; + bool result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OOO:HelpControllerBase_Initialize",&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Initialize((wxString const &)*arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_Initialize__SWIG_1(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxString *arg2 = 0 ; + bool result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_Initialize",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Initialize((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_Initialize(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[4]; + int ii; + + argc = PyObject_Length(args); + for (ii = 0; (ii < argc) && (ii < 3); ii++) { + argv[ii] = PyTuple_GetItem(args,ii); + } + if (argc == 2) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); + } + if (_v) { + return _wrap_HelpControllerBase_Initialize__SWIG_1(self,args); + } + } + } + if (argc == 3) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); + } + if (_v) { + _v = SWIG_Check_int(argv[2]); + if (_v) { + return _wrap_HelpControllerBase_Initialize__SWIG_0(self,args); + } + } + } + } + + PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_Initialize'"); + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_SetViewer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxString *arg2 = 0 ; + long arg3 = (long) 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "viewer",(char *) "flags", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_SetViewer",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_long(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetViewer((wxString const &)*arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxString const &arg2_defvalue = wxEmptyString ; + wxString *arg2 = (wxString *) &arg2_defvalue ; + bool result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "file", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HelpControllerBase_LoadFile",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->LoadFile((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_DisplayContents",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DisplayContents(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_0(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + int arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DisplaySection(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_DisplayContextPopup(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + int arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "contextId", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayContextPopup",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DisplayContextPopup(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_DisplayTextPopup(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxString *arg2 = 0 ; + wxPoint *arg3 = 0 ; + bool result; + bool temp2 = false ; + wxPoint temp3 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "text",(char *) "pos", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpControllerBase_DisplayTextPopup",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + arg3 = &temp3; + if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DisplayTextPopup((wxString const &)*arg2,(wxPoint const &)*arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_DisplaySection__SWIG_1(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxString *arg2 = 0 ; + bool result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:HelpControllerBase_DisplaySection",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DisplaySection((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_DisplaySection(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[3]; + int ii; + + argc = PyObject_Length(args); + for (ii = 0; (ii < argc) && (ii < 2); ii++) { + argv[ii] = PyTuple_GetItem(args,ii); + } + if (argc == 2) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]); + } + if (_v) { + return _wrap_HelpControllerBase_DisplaySection__SWIG_1(self,args); + } + } + } + if (argc == 2) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxHelpControllerBase, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + _v = SWIG_Check_int(argv[1]); + if (_v) { + return _wrap_HelpControllerBase_DisplaySection__SWIG_0(self,args); + } + } + } + + PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'HelpControllerBase_DisplaySection'"); + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_DisplayBlock(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + long arg2 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "blockNo", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_DisplayBlock",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_long(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->DisplayBlock(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxString *arg2 = 0 ; + wxHelpSearchMode arg3 = (wxHelpSearchMode) wxHELP_SEARCH_ALL ; + bool result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "k",(char *) "mode", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HelpControllerBase_KeywordSearch",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + if (obj2) { + { + wxHelpSearchMode * argp; + SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxHelpSearchMode, SWIG_POINTER_EXCEPTION); + if (SWIG_arg_fail(3)) SWIG_fail; + if (argp == NULL) { + SWIG_null_ref("wxHelpSearchMode"); + } + if (SWIG_arg_fail(3)) SWIG_fail; + arg3 = *argp; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_SetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxString *arg2 = 0 ; + wxSize *arg3 = 0 ; + wxPoint const &arg4_defvalue = wxDefaultPosition ; + wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; + bool arg5 = (bool) false ; + bool temp2 = false ; + wxSize temp3 ; + wxPoint temp4 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "title",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:HelpControllerBase_SetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + arg3 = &temp3; + if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; + } + if (obj3) { + { + arg4 = &temp4; + if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; + } + } + if (obj4) { + { + arg5 = static_cast(SWIG_As_bool(obj4)); + if (SWIG_arg_fail(5)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetFrameParameters((wxString const &)*arg2,(wxSize const &)*arg3,(wxPoint const &)*arg4,arg5); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_GetFrameParameters(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxSize *arg2 = (wxSize *) NULL ; + wxPoint *arg3 = (wxPoint *) NULL ; + bool *arg4 = (bool *) NULL ; + wxFrame *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "size",(char *) "pos",(char *) "newFrameEachTime", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:HelpControllerBase_GetFrameParameters",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (obj2) { + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; + } + if (obj3) { + SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_bool, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(4)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxFrame *)(arg1)->GetFrameParameters(arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_Quit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_Quit",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->Quit(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_OnQuit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_OnQuit",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->OnQuit(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_SetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxWindow *arg2 = (wxWindow *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "win", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpControllerBase_SetParentWindow",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetParentWindow(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HelpControllerBase_GetParentWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHelpControllerBase *arg1 = (wxHelpControllerBase *) 0 ; + wxWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpControllerBase_GetParentWindow",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpControllerBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)((wxHelpControllerBase const *)arg1)->GetParentWindow(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * HelpControllerBase_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxHelpControllerBase, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + int arg1 = (int) wxHF_DEFAULT_STYLE ; + wxWindow *arg2 = (wxWindow *) NULL ; + wxHtmlHelpController *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "style",(char *) "parentWindow", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_HtmlHelpController",kwnames,&obj0,&obj1)) goto fail; + if (obj0) { + { + arg1 = static_cast(SWIG_As_int(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } + } + if (obj1) { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpController *)new wxHtmlHelpController(arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpController, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_HtmlHelpController(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_HtmlHelpController",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_GetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxHtmlHelpWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetHelpWindow",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpWindow *)(arg1)->GetHelpWindow(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_SetHelpWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxHtmlHelpWindow *arg2 = (wxHtmlHelpWindow *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "helpWindow", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetHelpWindow",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxHtmlHelpWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetHelpWindow(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxHtmlHelpFrame *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxHtmlHelpDialog *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetDialog",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlHelpDialog *)(arg1)->GetDialog(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_SetTitleFormat(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxString *arg2 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "format", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTitleFormat",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTitleFormat((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_SetTempDir(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxString *arg2 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "path", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_SetTempDir",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetTempDir((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_AddBook(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxString *arg2 = 0 ; + int arg3 = (int) false ; + bool result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "book",(char *) "show_wait_msg", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_AddBook",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->AddBook((wxString const &)*arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_Display(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxString *arg2 = 0 ; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "x", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_Display",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Display((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_DisplayID(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "id", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_DisplayID",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Display(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_DisplayContents(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayContents",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->DisplayContents(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_DisplayIndex(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_DisplayIndex",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->DisplayIndex(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_KeywordSearch(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxString *arg2 = 0 ; + bool result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "keyword", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlHelpController_KeywordSearch",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->KeywordSearch((wxString const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp2) + delete arg2; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_UseConfig(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxConfigBase *arg2 = (wxConfigBase *) 0 ; + wxString const &arg3_defvalue = wxPyEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "config",(char *) "rootpath", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_UseConfig",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (obj2) { + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->UseConfig(arg2,(wxString const &)*arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + { + if (temp3) + delete arg3; + } + return resultobj; + fail: + { + if (temp3) + delete arg3; + } + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_ReadCustomization(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxConfigBase *arg2 = (wxConfigBase *) 0 ; + wxString arg3 = (wxString) wxPyEmptyString ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "cfg",(char *) "path", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:HtmlHelpController_ReadCustomization",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (obj2) { + { + wxString* sptr = wxString_in_helper(obj2); + if (sptr == NULL) SWIG_fail; + arg3 = *sptr; + delete sptr; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->ReadCustomization(arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxConfigBase *arg2 = (wxConfigBase *) 0 ; + wxString arg3 = (wxString) wxPyEmptyString ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { (char *) "self",(char *) "cfg",(char *) "path", NULL }; @@ -12096,26 +14406,53 @@ static PyObject *_wrap_HtmlHelpController_WriteCustomization(PyObject *, PyObjec } -static PyObject *_wrap_HtmlHelpController_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_HtmlHelpController_MakeModalIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; - wxHtmlHelpFrame *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_GetFrame",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_MakeModalIfNeeded",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxHtmlHelpFrame *)(arg1)->GetFrame(); + (arg1)->MakeModalIfNeeded(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_HtmlHelpController_FindTopLevelWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxHtmlHelpController *arg1 = (wxHtmlHelpController *) 0 ; + wxWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlHelpController_FindTopLevelWindow",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHtmlHelpController, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)(arg1)->FindTopLevelWindow(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlHelpFrame, 0); + { + resultobj = wxPyMake_wxObject(result, 0); + } return resultobj; fail: return NULL; @@ -12129,6 +14466,82 @@ static PyObject * HtmlHelpController_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } +static PyObject *_wrap_new_HtmlModalHelp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + wxString *arg2 = 0 ; + wxString const &arg3_defvalue = wxEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + int arg4 = (int) wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL ; + wxHtmlModalHelp *result; + bool temp2 = false ; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "parent",(char *) "helpFile",(char *) "topic",(char *) "style", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_HtmlModalHelp",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = wxString_in_helper(obj1); + if (arg2 == NULL) SWIG_fail; + temp2 = true; + } + if (obj2) { + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxHtmlModalHelp *)new wxHtmlModalHelp(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHtmlModalHelp, 1); + { + if (temp2) + delete arg2; + } + { + if (temp3) + delete arg3; + } + return resultobj; + fail: + { + if (temp2) + delete arg2; + } + { + if (temp3) + delete arg3; + } + return NULL; +} + + +static PyObject * HtmlModalHelp_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxHtmlModalHelp, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} static PyMethodDef SwigMethods[] = { { (char *)"new_HtmlLinkInfo", (PyCFunction) _wrap_new_HtmlLinkInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlLinkInfo_GetHref", (PyCFunction) _wrap_HtmlLinkInfo_GetHref, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -12410,20 +14823,73 @@ static PyMethodDef SwigMethods[] = { { (char *)"HtmlHelpData_FindPageById", (PyCFunction) _wrap_HtmlHelpData_FindPageById, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpData_GetBookRecArray", (PyCFunction) _wrap_HtmlHelpData_GetBookRecArray, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpData_swigregister", HtmlHelpData_swigregister, METH_VARARGS, NULL}, + { (char *)"new_HtmlHelpWindow", (PyCFunction) _wrap_new_HtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHtmlHelpWindow", (PyCFunction) _wrap_new_PreHtmlHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_Create", (PyCFunction) _wrap_HtmlHelpWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_GetData", (PyCFunction) _wrap_HtmlHelpWindow_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_GetController", (PyCFunction) _wrap_HtmlHelpWindow_GetController, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_SetController", (PyCFunction) _wrap_HtmlHelpWindow_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_Display", (PyCFunction) _wrap_HtmlHelpWindow_Display, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_DisplayID", (PyCFunction) _wrap_HtmlHelpWindow_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_DisplayContents", (PyCFunction) _wrap_HtmlHelpWindow_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_DisplayIndex", (PyCFunction) _wrap_HtmlHelpWindow_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_KeywordSearch", (PyCFunction) _wrap_HtmlHelpWindow_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_UseConfig", (PyCFunction) _wrap_HtmlHelpWindow_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_ReadCustomization", (PyCFunction) _wrap_HtmlHelpWindow_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_WriteCustomization", (PyCFunction) _wrap_HtmlHelpWindow_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_NotifyPageChanged", (PyCFunction) _wrap_HtmlHelpWindow_NotifyPageChanged, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_RefreshLists", (PyCFunction) _wrap_HtmlHelpWindow_RefreshLists, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_GetHtmlWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetHtmlWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_GetSplitterWindow", (PyCFunction) _wrap_HtmlHelpWindow_GetSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_GetToolBar", (PyCFunction) _wrap_HtmlHelpWindow_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_GetCfgData", (PyCFunction) _wrap_HtmlHelpWindow_GetCfgData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_GetTreeCtrl", (PyCFunction) _wrap_HtmlHelpWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpWindow_swigregister", HtmlHelpWindow_swigregister, METH_VARARGS, NULL}, + { (char *)"new_HtmlWindowEvent", (PyCFunction) _wrap_new_HtmlWindowEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlWindowEvent_SetURL", (PyCFunction) _wrap_HtmlWindowEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlWindowEvent_GetURL", (PyCFunction) _wrap_HtmlWindowEvent_GetURL, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlWindowEvent_swigregister", HtmlWindowEvent_swigregister, METH_VARARGS, NULL}, { (char *)"new_HtmlHelpFrame", (PyCFunction) _wrap_new_HtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHtmlHelpFrame", (PyCFunction) _wrap_new_PreHtmlHelpFrame, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpFrame_Create", (PyCFunction) _wrap_HtmlHelpFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpFrame_GetData", (PyCFunction) _wrap_HtmlHelpFrame_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpFrame_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpFrame_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpFrame_Display", (PyCFunction) _wrap_HtmlHelpFrame_Display, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpFrame_DisplayID", (PyCFunction) _wrap_HtmlHelpFrame_DisplayID, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpFrame_DisplayContents", (PyCFunction) _wrap_HtmlHelpFrame_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpFrame_DisplayIndex", (PyCFunction) _wrap_HtmlHelpFrame_DisplayIndex, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpFrame_KeywordSearch", (PyCFunction) _wrap_HtmlHelpFrame_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpFrame_UseConfig", (PyCFunction) _wrap_HtmlHelpFrame_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpFrame_ReadCustomization", (PyCFunction) _wrap_HtmlHelpFrame_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpFrame_WriteCustomization", (PyCFunction) _wrap_HtmlHelpFrame_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpFrame_AddGrabIfNeeded", (PyCFunction) _wrap_HtmlHelpFrame_AddGrabIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpFrame_GetController", (PyCFunction) _wrap_HtmlHelpFrame_GetController, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpFrame_SetController", (PyCFunction) _wrap_HtmlHelpFrame_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpFrame_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpFrame_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpFrame_swigregister", HtmlHelpFrame_swigregister, METH_VARARGS, NULL}, + { (char *)"new_HtmlHelpDialog", (PyCFunction) _wrap_new_HtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_PreHtmlHelpDialog", (PyCFunction) _wrap_new_PreHtmlHelpDialog, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpDialog_Create", (PyCFunction) _wrap_HtmlHelpDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpDialog_GetData", (PyCFunction) _wrap_HtmlHelpDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpDialog_GetController", (PyCFunction) _wrap_HtmlHelpDialog_GetController, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpDialog_SetController", (PyCFunction) _wrap_HtmlHelpDialog_SetController, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpDialog_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpDialog_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpDialog_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpDialog_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpDialog_swigregister", HtmlHelpDialog_swigregister, METH_VARARGS, NULL}, + { (char *)"HelpControllerBase_Initialize", _wrap_HelpControllerBase_Initialize, METH_VARARGS, NULL}, + { (char *)"HelpControllerBase_SetViewer", (PyCFunction) _wrap_HelpControllerBase_SetViewer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_LoadFile", (PyCFunction) _wrap_HelpControllerBase_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_DisplayContents", (PyCFunction) _wrap_HelpControllerBase_DisplayContents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_DisplayContextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayContextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_DisplayTextPopup", (PyCFunction) _wrap_HelpControllerBase_DisplayTextPopup, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_DisplaySection", _wrap_HelpControllerBase_DisplaySection, METH_VARARGS, NULL}, + { (char *)"HelpControllerBase_DisplayBlock", (PyCFunction) _wrap_HelpControllerBase_DisplayBlock, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_KeywordSearch", (PyCFunction) _wrap_HelpControllerBase_KeywordSearch, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_SetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_SetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_GetFrameParameters", (PyCFunction) _wrap_HelpControllerBase_GetFrameParameters, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_Quit", (PyCFunction) _wrap_HelpControllerBase_Quit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_OnQuit", (PyCFunction) _wrap_HelpControllerBase_OnQuit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_SetParentWindow", (PyCFunction) _wrap_HelpControllerBase_SetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_GetParentWindow", (PyCFunction) _wrap_HelpControllerBase_GetParentWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HelpControllerBase_swigregister", HelpControllerBase_swigregister, METH_VARARGS, NULL}, { (char *)"new_HtmlHelpController", (PyCFunction) _wrap_new_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_HtmlHelpController", (PyCFunction) _wrap_delete_HtmlHelpController, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpController_GetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_GetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpController_SetHelpWindow", (PyCFunction) _wrap_HtmlHelpController_SetHelpWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpController_GetDialog", (PyCFunction) _wrap_HtmlHelpController_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpController_SetTitleFormat", (PyCFunction) _wrap_HtmlHelpController_SetTitleFormat, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpController_SetTempDir", (PyCFunction) _wrap_HtmlHelpController_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpController_AddBook", (PyCFunction) _wrap_HtmlHelpController_AddBook, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -12435,8 +14901,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"HtmlHelpController_UseConfig", (PyCFunction) _wrap_HtmlHelpController_UseConfig, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpController_ReadCustomization", (PyCFunction) _wrap_HtmlHelpController_ReadCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpController_WriteCustomization", (PyCFunction) _wrap_HtmlHelpController_WriteCustomization, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"HtmlHelpController_GetFrame", (PyCFunction) _wrap_HtmlHelpController_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpController_MakeModalIfNeeded", (PyCFunction) _wrap_HtmlHelpController_MakeModalIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlHelpController_FindTopLevelWindow", (PyCFunction) _wrap_HtmlHelpController_FindTopLevelWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"HtmlHelpController_swigregister", HtmlHelpController_swigregister, METH_VARARGS, NULL}, + { (char *)"new_HtmlModalHelp", (PyCFunction) _wrap_new_HtmlModalHelp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"HtmlModalHelp_swigregister", HtmlModalHelp_swigregister, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; @@ -12446,1039 +14915,1947 @@ static PyMethodDef SwigMethods[] = { static void *_p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle(void *x) { return (void *)((wxHtmlRenderingStyle *) ((wxDefaultHtmlRenderingStyle *) x)); } -static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { - return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); +static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); } -static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) ((wxScrolledWindow *) x)); +static void *_p_wxMenuEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxMenuEvent *) x)); } -static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); +static void *_p_wxCloseEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxCloseEvent *) x)); } -static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); +static void *_p_wxMouseEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxMouseEvent *) x)); } -static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); +static void *_p_wxEraseEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxEraseEvent *) x)); } -static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); } -static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); } -static void *_p_wxPyPanelTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) ((wxPyPanel *) x)); +static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); } -static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); +static void *_p_wxScrollEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); } -static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); +static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); } -static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { - return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); +static void *_p_wxPyEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxPyEvent *) x)); } -static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { - return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); +static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); +} +static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); +} +static void *_p_wxIdleEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxIdleEvent *) x)); +} +static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); +} +static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); +} +static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); +} +static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxIconizeEvent *) x)); +} +static void *_p_wxActivateEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxActivateEvent *) x)); +} +static void *_p_wxSizeEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxSizeEvent *) x)); +} +static void *_p_wxMoveEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxMoveEvent *) x)); +} +static void *_p_wxDateEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); +} +static void *_p_wxPaintEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxPaintEvent *) x)); +} +static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); +} +static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); +} +static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); +} +static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); +} +static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); +} +static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); +} +static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); +} +static void *_p_wxFocusEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxFocusEvent *) x)); +} +static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); +} +static void *_p_wxSashEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); +} +static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); +} +static void *_p_wxShowEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxShowEvent *) x)); +} +static void *_p_wxHtmlWindowEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); +} +static void *_p_wxCommandEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxCommandEvent *) x)); +} +static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); +} +static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); +} +static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); +} +static void *_p_wxKeyEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxKeyEvent *) x)); +} +static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); +} +static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { + return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); +} +static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { + return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); +} +static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { + return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); +} +static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { + return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); +} +static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { + return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); +} +static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { + return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); +} +static void *_p_wxHtmlWindowEventTo_p_wxNotifyEvent(void *x) { + return (void *)((wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); +} +static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { + return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); +} +static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); +} +static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); +} +static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); +} +static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); +} +static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) ((wxValidator *) x)); +} +static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); +} +static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) ((wxMenu *) x)); +} +static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); +} +static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); +} +static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); +} +static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); +} +static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); +} +static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); +} +static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); +} +static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); +} +static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); +} +static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); +} +static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); +} +static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); +} +static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); +} +static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); +} +static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); +} +static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); +} +static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); } -static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { - return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); +static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); } -static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { - return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); +static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) ((wxWindow *) x)); } -static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); +static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); } -static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); +static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); } -static void *_p_wxPyPanelTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); +static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); } -static void *_p_wxMenuBarTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxMenuBar *) x)); +static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } -static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); +static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); } -static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); +static void *_p_wxHtmlHelpWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxHtmlHelpWindow *) x)); } -static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); +static void *_p_wxControlTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); } -static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); +static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); } -static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); +static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); } -static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); +static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); } -static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); +static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) ((wxPyApp *) x)); } -static void *_p_wxFileDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); +static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); } -static void *_p_wxPanelTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxPanel *) x)); +static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); } -static void *_p_wxStatusBarTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxStatusBar *) x)); +static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); } -static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); +static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); } -static void *_p_wxTipWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); +static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); } -static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); +static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); } -static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxPopupWindow *) x)); +static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); } -static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); +static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); } -static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); +static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); } -static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); +static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); } -static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); +static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); } -static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxSplitterWindow *) x)); +static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); } -static void *_p_wxSashWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxSashWindow *) x)); +static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); } -static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); +static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); } -static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); +static void *_p_wxHtmlHelpDialogTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); } -static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); +static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { + return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); } -static void *_p_wxControlTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxControl *) x)); +static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { + return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); } -static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); +static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); } -static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); +static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) ((wxProgressDialog *) x)); } -static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); +static void *_p_wxTipWindowTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) ((wxTipWindow *) x)); } -static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); +static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) ((wxPreviewFrame *) x)); } -static void *_p_wxPyWindowTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) ((wxPyWindow *) x)); +static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); } -static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); +static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) ((wxMiniFrame *) x)); } -static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); } -static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) ((wxSplashScreen *) x)); } -static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); +static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { + return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); } -static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); +static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { + return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); } -static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); +static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); } -static void *_p_wxFrameTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); +static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); } -static void *_p_wxFontDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); +static void *_p_wxEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxEvent *) x)); } -static void *_p_wxDirDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); +static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); } -static void *_p_wxColourDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); +static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); } -static void *_p_wxDialogTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); +static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); } -static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { - return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); +static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); } -static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); +static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); } -static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); +static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); } -static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); +static void *_p_wxHtmlTagTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxHtmlTag *) x)); } -static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); +static void *_p_wxMenuItemTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxMenuItem *) x)); } -static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); +static void *_p_wxImageTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxImage *) x)); } -static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); +static void *_p_wxPySizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); } -static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); +static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); } -static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); +static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); } -static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); +static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); } -static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); +static void *_p_wxPyAppTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); } -static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); +static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); } -static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); +static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); } -static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); +static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxFindReplaceData *) x)); } -static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); +static void *_p_wxValidatorTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); +static void *_p_wxPyValidatorTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); } -static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); +static void *_p_wxEraseEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); } -static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); +static void *_p_wxMouseEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); } -static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); +static void *_p_wxCloseEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); } -static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); +static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); } -static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); +static void *_p_wxScrollEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); } -static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { - return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); +static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPrintDialogData *) x)); } -static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxLayoutConstraints *) x)); +static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); } -static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); +static void *_p_wxPrinterTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPrinter *) x)); } -static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); +static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); } -static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); +static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); } -static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); +static void *_p_wxHtmlParserTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxHtmlParser *) x)); } -static void *_p_wxSizerItemTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxSizerItem *) x)); +static void *_p_wxGridSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); } -static void *_p_wxScrollEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); +static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); } -static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); +static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxAcceleratorTable *) x)); } -static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); +static void *_p_wxControlTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); } -static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); +static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); } -static void *_p_wxBoxSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); +static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); } -static void *_p_wxSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxSizer *) x)); +static void *_p_wxColourDataTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxColourData *) x)); } -static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); +static void *_p_wxActivateEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); } -static void *_p_wxHtmlFontCellTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlFontCell *) x)); +static void *_p_wxMoveEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); } -static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); +static void *_p_wxSizeEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); } -static void *_p_wxPyPanelTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); +static void *_p_wxIconizeEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); } -static void *_p_wxEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxEvent *) x)); +static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); } -static void *_p_wxFontDataTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxFontData *) x)); +static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); } -static void *_p_wxPrintDataTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPrintData *) x)); +static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); } -static void *_p_wxHtmlTagTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxHtmlTag *) x)); +static void *_p_wxIdleEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); } -static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); +static void *_p_wxDateEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); } -static void *_p_wxGridSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); +static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); } -static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); +static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); } -static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); +static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPyPrintout *) x)); } -static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); +static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); } -static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); +static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); } -static void *_p_wxHtmlHelpFrameTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); +static void *_p_wxKeyEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); } -static void *_p_wxHtmlCellTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxHtmlCell *) x)); +static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); } -static void *_p_wxPaintEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); +static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); } -static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); +static void *_p_wxSashEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); } -static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); +static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); } -static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); +static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); } -static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); +static void *_p_wxPrintDataTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPrintData *) x)); } -static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); +static void *_p_wxFontDataTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxFontData *) x)); } -static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); +static void *_p_wxMiniFrameTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); } -static void *_p_wxControlTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); +static void *_p_wxFrameTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); } -static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); +static void *_p_wxPyPanelTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); } -static void *_p_wxSplitterEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); +static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); } -static void *_p_wxFSFileTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxFSFile *) x)); +static void *_p_wxSplashScreenTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); } -static void *_p_wxHtmlWidgetCellTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWidgetCell *) x)); +static void *_p_wxFileSystemTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxFileSystem *) x)); } -static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxFindReplaceData *) x)); +static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); } -static void *_p_wxPySizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); +static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPrintPreview *) x)); } -static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); +static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxLayoutConstraints *) x)); } -static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); +static void *_p_wxSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxSizer *) x)); } -static void *_p_wxColourDataTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxColourData *) x)); +static void *_p_wxBoxSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); } -static void *_p_wxPyEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); +static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); } -static void *_p_wxNotifyEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); +static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); } -static void *_p_wxPyWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); +static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); } -static void *_p_wxSplashScreenTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); +static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); } -static void *_p_wxFileDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); +static void *_p_wxPaintEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); } -static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); +static void *_p_wxFSFileTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxFSFile *) x)); } -static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); +static void *_p_wxSplitterEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); } -static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); +static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); } -static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); +static void *_p_wxMenuTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); } -static void *_p_wxMessageDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); +static void *_p_wxSizerItemTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxSizerItem *) x)); } -static void *_p_wxProgressDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); +static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); } -static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); +static void *_p_wxHtmlHelpDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); } -static void *_p_wxShowEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); +static void *_p_wxPrintDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPrintDialog *) x)); } -static void *_p_wxPrinterTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPrinter *) x)); +static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPageSetupDialog *) x)); } -static void *_p_wxMenuItemTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxMenuItem *) x)); +static void *_p_wxFontDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); } -static void *_p_wxDateEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); +static void *_p_wxDirDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); } -static void *_p_wxIdleEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); +static void *_p_wxColourDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); } -static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); +static void *_p_wxDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); } -static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); +static void *_p_wxNotifyEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); } -static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); +static void *_p_wxPyEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); } -static void *_p_wxIconizeEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); +static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); } -static void *_p_wxSizeEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); +static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); } -static void *_p_wxMoveEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); +static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxEvtHandler *) x)); } -static void *_p_wxActivateEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); +static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); } -static void *_p_wxPyHtmlFilterTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPyHtmlFilter *) x)); +static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); } -static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); +static void *_p_wxImageHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxImageHandler *) x)); } -static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); +static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); } -static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); +static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); } -static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); +static void *_p_wxICOHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); } -static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); +static void *_p_wxCURHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); } static void *_p_wxANIHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); } -static void *_p_wxCURHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); +static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); } -static void *_p_wxICOHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); +static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); } -static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); +static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); } -static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); +static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); } -static void *_p_wxImageHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxImageHandler *) x)); +static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); } -static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); +static void *_p_wxHtmlWindowEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); } -static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); +static void *_p_wxShowEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); } -static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxEvtHandler *) x)); +static void *_p_wxHtmlHelpWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxHtmlHelpWindow *) x)); } -static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); +static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); } -static void *_p_wxPyHtmlTagHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPyHtmlTagHandler *) x)); +static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } -static void *_p_wxPyHtmlWinTagHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); +static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); } -static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); } -static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +static void *_p_wxTipWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); } -static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); +static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); } -static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxAcceleratorTable *) x)); +static void *_p_wxPopupWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); } -static void *_p_wxMiniFrameTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); +static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); } -static void *_p_wxImageTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxImage *) x)); +static void *_p_wxSashWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); } -static void *_p_wxFrameTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); +static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); } -static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPyPrintout *) x)); +static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); } -static void *_p_wxHtmlPrintoutTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxPyPrintout *) ((wxHtmlPrintout *) x)); +static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); } -static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); +static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); } -static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); +static void *_p_wxWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); } -static void *_p_wxStatusBarTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); +static void *_p_wxHelpControllerBaseTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxHelpControllerBase *) x)); } static void *_p_wxHtmlDCRendererTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxHtmlDCRenderer *) x)); } -static void *_p_wxHtmlContainerCellTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlContainerCell *) x)); +static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); } -static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); +static void *_p_wxProgressDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); } -static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); +static void *_p_wxMessageDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); } -static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); +static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); } -static void *_p_wxKeyEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); +static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); } -static void *_p_wxWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); +static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); } -static void *_p_wxMenuTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); +static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); } -static void *_p_wxMenuBarTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); +static void *_p_wxFileDialogTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); } -static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +static void *_p_wxHtmlLinkInfoTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxHtmlLinkInfo *) x)); } -static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); +static void *_p_wxPyWindowTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); } -static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); +static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); } -static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); +static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); } -static void *_p_wxSashWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); +static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); } -static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); +static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); } -static void *_p_wxPopupWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); +static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxHelpControllerBase *) ((wxHtmlHelpController *) x)); } -static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); +static void *_p_wxPanelTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); } -static void *_p_wxTipWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); +static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); } -static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); +static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); } -static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); +static void *_p_wxHtmlCellTo_p_wxObject(void *x) { + return (void *)((wxObject *) ((wxHtmlCell *) x)); } -static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); +static void *_p_wxMenuEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); } -static void *_p_wxPyHtmlWindowTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); +static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); } -static void *_p_wxSashEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); +static void *_p_wxCommandEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); } -static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPrintPreview *) x)); +static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); } -static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); +static void *_p_wxHtmlColourCellTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlColourCell *) x)); } -static void *_p_wxPanelTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); +static void *_p_wxStatusBarTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); } -static void *_p_wxDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); +static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); } -static void *_p_wxColourDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); +static void *_p_wxFocusEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); +} +static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); +} +static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); +} +static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); } -static void *_p_wxDirDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); +static void *_p_wxMenuBarTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); } -static void *_p_wxFontDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); +static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); } -static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPageSetupDialog *) x)); +static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); } -static void *_p_wxPrintDialogTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPrintDialog *) x)); +static void *_p_wxPyPanelTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); } -static void *_p_wxHtmlParserTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxHtmlParser *) x)); +static void *_p_wxMenuBarTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxMenuBar *) x)); } -static void *_p_wxHtmlWinParserTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxHtmlParser *) ((wxHtmlWinParser *) x)); +static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); } -static void *_p_wxFileSystemTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxFileSystem *) x)); +static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); } -static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); +static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); } -static void *_p_wxMenuEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); +static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); } -static void *_p_wxHtmlWordCellTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxHtmlCell *) ((wxHtmlWordCell *) x)); +static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); } -static void *_p_wxPyAppTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); +static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); } -static void *_p_wxCloseEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); +static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); } -static void *_p_wxMouseEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); +static void *_p_wxFileDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); } -static void *_p_wxEraseEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); +static void *_p_wxPanelTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxPanel *) x)); } -static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); +static void *_p_wxStatusBarTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxStatusBar *) x)); } -static void *_p_wxCommandEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); +static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); } -static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); +static void *_p_wxTipWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); } -static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); +static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); } -static void *_p_wxHtmlEasyPrintingTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxHtmlEasyPrinting *) x)); +static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxPopupWindow *) x)); } -static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); +static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); } -static void *_p_wxFocusEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); +static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); } -static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); +static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); } -static void *_p_wxHtmlHelpControllerTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxHtmlHelpController *) x)); +static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); } -static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); +static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxSplitterWindow *) x)); } -static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); +static void *_p_wxSashWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxSashWindow *) x)); } -static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { - return (void *)((wxObject *) ((wxPrintDialogData *) x)); +static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); } -static void *_p_wxPyValidatorTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); +static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } -static void *_p_wxValidatorTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); +static void *_p_wxPyHtmlWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); } -static void *_p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler(void *x) { - return (void *)((wxPyHtmlTagHandler *) ((wxPyHtmlWinTagHandler *) x)); +static void *_p_wxHtmlHelpWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxHtmlHelpWindow *) x)); } -static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); +static void *_p_wxControlTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxControl *) x)); } -static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); +static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); } -static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); +static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); } -static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); +static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); } -static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) ((wxValidator *) x)); +static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); } -static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); +static void *_p_wxPyWindowTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) ((wxPyWindow *) x)); } -static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) ((wxMenu *) x)); +static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); } -static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); +static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); } -static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); +static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); } -static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); +static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); } -static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); +static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); } -static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); +static void *_p_wxHtmlHelpFrameTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); } -static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); +static void *_p_wxFrameTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); } -static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); +static void *_p_wxFontDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); } -static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); +static void *_p_wxDirDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); } -static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); +static void *_p_wxColourDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); } -static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); +static void *_p_wxDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); } -static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); +static void *_p_wxHtmlHelpDialogTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxHtmlHelpDialog *) x)); } -static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); +static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { + return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); } -static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); +static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { + return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } -static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); +static void *_p_wxPyHtmlWindowTo_p_wxScrolledWindow(void *x) { + return (void *)((wxScrolledWindow *) ((wxPyHtmlWindow *) x)); } -static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); +static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { + return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); } -static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); +static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); } -static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); +static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); } -static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); +static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); } -static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) ((wxWindow *) x)); +static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); } -static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); +static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); } -static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); +static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); } -static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); +static void *_p_wxHtmlHelpDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxHtmlHelpDialog *) x)); } -static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); +static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); } -static void *_p_wxPyHtmlWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyHtmlWindow *) x)); +static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); } -static void *_p_wxControlTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); +static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); } -static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); +static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); } -static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); +static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); } -static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); +static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); } -static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) ((wxPyApp *) x)); +static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); } -static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); +static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); } -static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); +static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); } -static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); +static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); } -static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); +static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); } -static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); +static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); } -static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); +static void *_p_wxHtmlHelpFrameTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxHtmlHelpFrame *) x)); } -static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); +static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); } -static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); +static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { + return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); } -static void *_p_wxHtmlHelpFrameTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxHtmlHelpFrame *) x)); +static void *_p_wxColourDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxColourDialog *) x)); } -static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); +static void *_p_wxDirDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxDirDialog *) x)); } -static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); +static void *_p_wxFontDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxFontDialog *) x)); } -static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); +static void *_p_wxHtmlHelpDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxHtmlHelpDialog *) x)); } -static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); +static void *_p_wxFileDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxFileDialog *) x)); } -static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); +static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); } -static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { - return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); +static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); } -static void *_p_wxHtmlPrintoutTo_p_wxPyPrintout(void *x) { - return (void *)((wxPyPrintout *) ((wxHtmlPrintout *) x)); +static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); } -static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); +static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); } -static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) ((wxProgressDialog *) x)); +static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxMessageDialog *) x)); } -static void *_p_wxTipWindowTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) ((wxTipWindow *) x)); +static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { + return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); } -static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) ((wxPreviewFrame *) x)); +static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxScrolledWindow *) x)); } -static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); +static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); } -static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) ((wxMiniFrame *) x)); +static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); } -static void *_p_wxHtmlHelpFrameTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) ((wxHtmlHelpFrame *) x)); +static void *_p_wxPyHtmlWindowTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyHtmlWindow *) x)); } -static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) ((wxSplashScreen *) x)); +static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); } -static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { - return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); +static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); } -static void *_p_wxHtmlContainerCellTo_p_wxHtmlCell(void *x) { - return (void *)((wxHtmlCell *) ((wxHtmlContainerCell *) x)); +static void *_p_wxPyPanelTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPyPanel *) x)); } -static void *_p_wxHtmlWidgetCellTo_p_wxHtmlCell(void *x) { - return (void *)((wxHtmlCell *) ((wxHtmlWidgetCell *) x)); +static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); } -static void *_p_wxHtmlColourCellTo_p_wxHtmlCell(void *x) { - return (void *)((wxHtmlCell *) ((wxHtmlColourCell *) x)); +static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); } -static void *_p_wxHtmlWordCellTo_p_wxHtmlCell(void *x) { - return (void *)((wxHtmlCell *) ((wxHtmlWordCell *) x)); +static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { + return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); } -static void *_p_wxHtmlFontCellTo_p_wxHtmlCell(void *x) { - return (void *)((wxHtmlCell *) ((wxHtmlFontCell *) x)); +static void *_p_wxHtmlWinParserTo_p_wxHtmlParser(void *x) { + return (void *)((wxHtmlParser *) ((wxHtmlWinParser *) x)); } -static swig_type_info _swigt__p_wxHtmlDCRenderer[] = {{"_p_wxHtmlDCRenderer", 0, "wxHtmlDCRenderer *", 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", 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_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_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_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_wxHtmlRenderingStyle[] = {{"_p_wxHtmlRenderingStyle", 0, "wxHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxDefaultHtmlRenderingStyle[] = {{"_p_wxDefaultHtmlRenderingStyle", 0, "wxDefaultHtmlRenderingStyle *", 0, 0, 0, 0},{"_p_wxDefaultHtmlRenderingStyle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlWordCell[] = {{"_p_wxHtmlWordCell", 0, "wxHtmlWordCell *", 0, 0, 0, 0},{"_p_wxHtmlWordCell", 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_wxHtmlHelpData[] = {{"_p_wxHtmlHelpData", 0, "wxHtmlHelpData *", 0, 0, 0, 0},{"_p_wxHtmlHelpData", 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_wxHtmlWinParser[] = {{"_p_wxHtmlWinParser", 0, "wxHtmlWinParser *", 0, 0, 0, 0},{"_p_wxHtmlWinParser", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlParser[] = {{"_p_wxHtmlParser", 0, "wxHtmlParser *", 0, 0, 0, 0},{"_p_wxHtmlParser", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxHtmlParser, 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_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_wxPyHtmlWindow[] = {{"_p_wxPyHtmlWindow", 0, "wxPyHtmlWindow *", 0, 0, 0, 0},{"_p_wxPyHtmlWindow", 0, 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_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_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_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_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 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_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_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_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_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_wxFontDialog", _p_wxFontDialogTo_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_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_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_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_wxHtmlColourCell[] = {{"_p_wxHtmlColourCell", 0, "wxHtmlColourCell *", 0, 0, 0, 0},{"_p_wxHtmlColourCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlFontCell[] = {{"_p_wxHtmlFontCell", 0, "wxHtmlFontCell *", 0, 0, 0, 0},{"_p_wxHtmlFontCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlEasyPrinting[] = {{"_p_wxHtmlEasyPrinting", 0, "wxHtmlEasyPrinting *", 0, 0, 0, 0},{"_p_wxHtmlEasyPrinting", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlSelection[] = {{"_p_wxHtmlSelection", 0, "wxHtmlSelection *", 0, 0, 0, 0},{"_p_wxHtmlSelection", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlRenderingInfo[] = {{"_p_wxHtmlRenderingInfo", 0, "wxHtmlRenderingInfo *", 0, 0, 0, 0},{"_p_wxHtmlRenderingInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlWidgetCell[] = {{"_p_wxHtmlWidgetCell", 0, "wxHtmlWidgetCell *", 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", 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_wxHtmlLinkInfo", _p_wxHtmlLinkInfoTo_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_wxHtmlFontCell", _p_wxHtmlFontCellTo_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_wxHtmlTag", _p_wxHtmlTagTo_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_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_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_wxHtmlCell", _p_wxHtmlCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_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_wxHtmlColourCell", _p_wxHtmlColourCellTo_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_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlFilter", _p_wxPyHtmlFilterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_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_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_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_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlDCRenderer", _p_wxHtmlDCRendererTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_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_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_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_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxHtmlParser", _p_wxHtmlParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWinParser", _p_wxHtmlWinParserTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxHtmlEasyPrinting", _p_wxHtmlEasyPrintingTo_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_wxHtmlHelpController", _p_wxHtmlHelpControllerTo_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_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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_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__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_wxHtmlTagHandler[] = {{"_p_wxHtmlTagHandler", 0, "wxHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxHtmlTagHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyHtmlTagHandler[] = {{"_p_wxPyHtmlTagHandler", 0, "wxPyHtmlTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlTagHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 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_wxPyHtmlWindow", _p_wxPyHtmlWindowTo_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_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_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_wxPyHtmlWinTagHandler[] = {{"_p_wxPyHtmlWinTagHandler", 0, "wxPyHtmlWinTagHandler *", 0, 0, 0, 0},{"_p_wxPyHtmlWinTagHandler", 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_wxHtmlHelpController[] = {{"_p_wxHtmlHelpController", 0, "wxHtmlHelpController *", 0, 0, 0, 0},{"_p_wxHtmlHelpController", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxHtmlBookRecArray[] = {{"_p_wxHtmlBookRecArray", 0, "wxHtmlBookRecArray *", 0, 0, 0, 0},{"_p_wxHtmlBookRecArray", 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_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlPrintout", _p_wxHtmlPrintoutTo_p_wxPyPrintout, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlPrintout[] = {{"_p_wxHtmlPrintout", 0, "wxHtmlPrintout *", 0, 0, 0, 0},{"_p_wxHtmlPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlSearchStatus[] = {{"_p_wxHtmlSearchStatus", 0, "wxHtmlSearchStatus *", 0, 0, 0, 0},{"_p_wxHtmlSearchStatus", 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__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__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxConfigBase", 0, 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_wxHtmlHelpFrame[] = {{"_p_wxHtmlHelpFrame", 0, "wxHtmlHelpFrame *", 0, 0, 0, 0},{"_p_wxHtmlHelpFrame", 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_wxHtmlHelpFrame", _p_wxHtmlHelpFrameTo_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_wxHtmlRenderingState[] = {{"_p_wxHtmlRenderingState", 0, "wxHtmlRenderingState *", 0, 0, 0, 0},{"_p_wxHtmlRenderingState", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyHtmlFilter[] = {{"_p_wxPyHtmlFilter", 0, "wxPyHtmlFilter *", 0, 0, 0, 0},{"_p_wxPyHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlFilter[] = {{"_p_wxHtmlFilter", 0, "wxHtmlFilter *", 0, 0, 0, 0},{"_p_wxHtmlFilter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlCell[] = {{"_p_wxHtmlCell", 0, "wxHtmlCell *", 0, 0, 0, 0},{"_p_wxHtmlCell", 0, 0, 0, 0, 0, 0},{"_p_wxHtmlContainerCell", _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWidgetCell", _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlColourCell", _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlWordCell", _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{"_p_wxHtmlFontCell", _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlContainerCell[] = {{"_p_wxHtmlContainerCell", 0, "wxHtmlContainerCell *", 0, 0, 0, 0},{"_p_wxHtmlContainerCell", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlTag[] = {{"_p_wxHtmlTag", 0, "wxHtmlTag *", 0, 0, 0, 0},{"_p_wxHtmlTag", 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_wxHtmlLinkInfo[] = {{"_p_wxHtmlLinkInfo", 0, "wxHtmlLinkInfo *", 0, 0, 0, 0},{"_p_wxHtmlLinkInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxHtmlBookRecord[] = {{"_p_wxHtmlBookRecord", 0, "wxHtmlBookRecord *", 0, 0, 0, 0},{"_p_wxHtmlBookRecord", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxHtmlDCRenderer, -_swigt__p_wxColour, -_swigt__p_wxPageSetupDialogData, -_swigt__p_wxDC, -_swigt__p_form_ops_t, -_swigt__p_wxHtmlRenderingStyle, -_swigt__p_wxMouseEvent, -_swigt__p_wxDuplexMode, -_swigt__p_wxDefaultHtmlRenderingStyle, -_swigt__p_wxHtmlWordCell, -_swigt__p_wxVisualAttributes, -_swigt__p_wxHtmlHelpData, -_swigt__p_char, -_swigt__p_wxHtmlWinParser, -_swigt__p_wxHtmlParser, -_swigt__p_wxPanel, -_swigt__p_wxPyHtmlWindow, -_swigt__p_wxScrolledWindow, -_swigt__p_wxWindow, -_swigt__p_wxTopLevelWindow, -_swigt__p_wxFont, -_swigt__p_wxHtmlColourCell, -_swigt__p_wxHtmlFontCell, -_swigt__p_wxHtmlEasyPrinting, -_swigt__p_wxHtmlSelection, -_swigt__p_wxHtmlRenderingInfo, -_swigt__p_wxHtmlWidgetCell, -_swigt__p_wxObject, -_swigt__p_wxBitmap, -_swigt__p_wxPaperSize, -_swigt__p_wxString, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxHtmlTagHandler, -_swigt__p_wxPyHtmlTagHandler, -_swigt__p_wxEvtHandler, -_swigt__p_wxPyHtmlWinTagHandler, -_swigt__p_wxPoint, -_swigt__p_wxHtmlHelpController, -_swigt__p_wxCursor, -_swigt__p_wxFileSystem, -_swigt__p_wxHtmlBookRecArray, -_swigt__p_unsigned_char, -_swigt__p_wxPyPrintout, -_swigt__p_wxHtmlPrintout, -_swigt__p_wxHtmlSearchStatus, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxConfigBase, -_swigt__p_wxPrintData, -_swigt__p_wxHtmlHelpFrame, -_swigt__p_wxFrame, -_swigt__p_wxHtmlRenderingState, -_swigt__p_wxPyHtmlFilter, -_swigt__p_wxHtmlFilter, -_swigt__p_wxHtmlCell, -_swigt__p_wxHtmlContainerCell, -_swigt__p_wxHtmlTag, -_swigt__p_int, -_swigt__p_wxHtmlLinkInfo, -_swigt__p_unsigned_long, -_swigt__p_wxHtmlBookRecord, -0 +static void *_p_wxHtmlHelpControllerTo_p_wxHelpControllerBase(void *x) { + return (void *)((wxHelpControllerBase *) ((wxHtmlHelpController *) x)); +} +static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); +} +static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); +} +static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); +} +static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); +} +static void *_p_wxHtmlWindowEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxHtmlWindowEvent *) x)); +} +static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); +} +static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); +} +static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); +} +static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); +} +static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); +} +static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); +} +static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); +} +static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { + return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); +} +static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, 0}; +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_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_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 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_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDefaultHtmlRenderingStyle = {"_p_wxDefaultHtmlRenderingStyle", "wxDefaultHtmlRenderingStyle *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 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_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_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 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_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 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_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpControllerBase = {"_p_wxHelpControllerBase", "wxHelpControllerBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHelpSearchMode = {"_p_wxHelpSearchMode", "wxHelpSearchMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlBookRecArray = {"_p_wxHtmlBookRecArray", "wxHtmlBookRecArray *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlBookRecord = {"_p_wxHtmlBookRecord", "wxHtmlBookRecord *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlCell = {"_p_wxHtmlCell", "wxHtmlCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlColourCell = {"_p_wxHtmlColourCell", "wxHtmlColourCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlContainerCell = {"_p_wxHtmlContainerCell", "wxHtmlContainerCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlDCRenderer = {"_p_wxHtmlDCRenderer", "wxHtmlDCRenderer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlEasyPrinting = {"_p_wxHtmlEasyPrinting", "wxHtmlEasyPrinting *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlFilter = {"_p_wxHtmlFilter", "wxHtmlFilter *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlFontCell = {"_p_wxHtmlFontCell", "wxHtmlFontCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpController = {"_p_wxHtmlHelpController", "wxHtmlHelpController *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpData = {"_p_wxHtmlHelpData", "wxHtmlHelpData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpDialog = {"_p_wxHtmlHelpDialog", "wxHtmlHelpDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpFrame = {"_p_wxHtmlHelpFrame", "wxHtmlHelpFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpFrameCfg = {"_p_wxHtmlHelpFrameCfg", "wxHtmlHelpFrameCfg *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlHelpWindow = {"_p_wxHtmlHelpWindow", "wxHtmlHelpWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlModalHelp = {"_p_wxHtmlModalHelp", "wxHtmlModalHelp *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlParser = {"_p_wxHtmlParser", "wxHtmlParser *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlPrintout = {"_p_wxHtmlPrintout", "wxHtmlPrintout *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlRenderingInfo = {"_p_wxHtmlRenderingInfo", "wxHtmlRenderingInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlRenderingState = {"_p_wxHtmlRenderingState", "wxHtmlRenderingState *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlRenderingStyle = {"_p_wxHtmlRenderingStyle", "wxHtmlRenderingStyle *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlSearchStatus = {"_p_wxHtmlSearchStatus", "wxHtmlSearchStatus *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlSelection = {"_p_wxHtmlSelection", "wxHtmlSelection *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlTag = {"_p_wxHtmlTag", "wxHtmlTag *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlTagHandler = {"_p_wxHtmlTagHandler", "wxHtmlTagHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWidgetCell = {"_p_wxHtmlWidgetCell", "wxHtmlWidgetCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWinParser = {"_p_wxHtmlWinParser", "wxHtmlWinParser *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWindow = {"_p_wxHtmlWindow", "wxHtmlWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWindowEvent = {"_p_wxHtmlWindowEvent", "wxHtmlWindowEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxHtmlWordCell = {"_p_wxHtmlWordCell", "wxHtmlWordCell *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 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_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 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_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 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_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 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_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_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlFilter = {"_p_wxPyHtmlFilter", "wxPyHtmlFilter *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlTagHandler = {"_p_wxPyHtmlTagHandler", "wxPyHtmlTagHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlWinTagHandler = {"_p_wxPyHtmlWinTagHandler", "wxPyHtmlWinTagHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlWindow = {"_p_wxPyHtmlWindow", "wxPyHtmlWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 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_bool, + &_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_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_wxConfigBase, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDefaultHtmlRenderingStyle, + &_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_wxHelpControllerBase, + &_swigt__p_wxHelpSearchMode, + &_swigt__p_wxHtmlBookRecArray, + &_swigt__p_wxHtmlBookRecord, + &_swigt__p_wxHtmlCell, + &_swigt__p_wxHtmlColourCell, + &_swigt__p_wxHtmlContainerCell, + &_swigt__p_wxHtmlDCRenderer, + &_swigt__p_wxHtmlEasyPrinting, + &_swigt__p_wxHtmlFilter, + &_swigt__p_wxHtmlFontCell, + &_swigt__p_wxHtmlHelpController, + &_swigt__p_wxHtmlHelpData, + &_swigt__p_wxHtmlHelpDialog, + &_swigt__p_wxHtmlHelpFrame, + &_swigt__p_wxHtmlHelpFrameCfg, + &_swigt__p_wxHtmlHelpWindow, + &_swigt__p_wxHtmlLinkInfo, + &_swigt__p_wxHtmlModalHelp, + &_swigt__p_wxHtmlParser, + &_swigt__p_wxHtmlPrintout, + &_swigt__p_wxHtmlRenderingInfo, + &_swigt__p_wxHtmlRenderingState, + &_swigt__p_wxHtmlRenderingStyle, + &_swigt__p_wxHtmlSearchStatus, + &_swigt__p_wxHtmlSelection, + &_swigt__p_wxHtmlTag, + &_swigt__p_wxHtmlTagHandler, + &_swigt__p_wxHtmlWidgetCell, + &_swigt__p_wxHtmlWinParser, + &_swigt__p_wxHtmlWindow, + &_swigt__p_wxHtmlWindowEvent, + &_swigt__p_wxHtmlWordCell, + &_swigt__p_wxICOHandler, + &_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_wxPyHtmlFilter, + &_swigt__p_wxPyHtmlListBox, + &_swigt__p_wxPyHtmlTagHandler, + &_swigt__p_wxPyHtmlWinTagHandler, + &_swigt__p_wxPyHtmlWindow, + &_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_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_wxTaskBarIconEvent, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTipWindow, + &_swigt__p_wxTopLevelWindow, + &_swigt__p_wxTreeCtrl, + &_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_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxBitmap[] = { {&_swigt__p_wxBitmap, 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_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 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_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 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_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 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_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxConfigBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDefaultHtmlRenderingStyle[] = { {&_swigt__p_wxDefaultHtmlRenderingStyle, 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_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 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_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 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_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 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_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 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_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_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_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_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_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_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 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_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 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_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_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_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_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 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_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 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_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 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_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 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_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 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_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 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_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 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_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 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_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 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_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 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_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 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_wxMenu[] = {{&_swigt__p_wxMenu, 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_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_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_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_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_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_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_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_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_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_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_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_wxHelpControllerBase[] = { {&_swigt__p_wxHelpControllerBase, 0, 0, 0}, {&_swigt__p_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxHelpControllerBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHelpSearchMode[] = { {&_swigt__p_wxHelpSearchMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlBookRecArray[] = { {&_swigt__p_wxHtmlBookRecArray, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlBookRecord[] = { {&_swigt__p_wxHtmlBookRecord, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlCell[] = { {&_swigt__p_wxHtmlCell, 0, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxHtmlCell, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxHtmlCell, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlColourCell[] = { {&_swigt__p_wxHtmlColourCell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlContainerCell[] = { {&_swigt__p_wxHtmlContainerCell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlDCRenderer[] = { {&_swigt__p_wxHtmlDCRenderer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlEasyPrinting[] = { {&_swigt__p_wxHtmlEasyPrinting, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlFilter[] = { {&_swigt__p_wxHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlFontCell[] = { {&_swigt__p_wxHtmlFontCell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpController[] = { {&_swigt__p_wxHtmlHelpController, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpData[] = { {&_swigt__p_wxHtmlHelpData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpDialog[] = { {&_swigt__p_wxHtmlHelpDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpFrame[] = { {&_swigt__p_wxHtmlHelpFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpFrameCfg[] = { {&_swigt__p_wxHtmlHelpFrameCfg, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlHelpWindow[] = { {&_swigt__p_wxHtmlHelpWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlModalHelp[] = { {&_swigt__p_wxHtmlModalHelp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlParser[] = { {&_swigt__p_wxHtmlParser, 0, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxHtmlParser, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlPrintout[] = { {&_swigt__p_wxHtmlPrintout, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlRenderingInfo[] = { {&_swigt__p_wxHtmlRenderingInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlRenderingState[] = { {&_swigt__p_wxHtmlRenderingState, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlRenderingStyle[] = { {&_swigt__p_wxHtmlRenderingStyle, 0, 0, 0}, {&_swigt__p_wxDefaultHtmlRenderingStyle, _p_wxDefaultHtmlRenderingStyleTo_p_wxHtmlRenderingStyle, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlSearchStatus[] = { {&_swigt__p_wxHtmlSearchStatus, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlSelection[] = { {&_swigt__p_wxHtmlSelection, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlTag[] = { {&_swigt__p_wxHtmlTag, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlTagHandler[] = { {&_swigt__p_wxHtmlTagHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWidgetCell[] = { {&_swigt__p_wxHtmlWidgetCell, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWinParser[] = { {&_swigt__p_wxHtmlWinParser, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWindow[] = { {&_swigt__p_wxHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWindowEvent[] = { {&_swigt__p_wxHtmlWindowEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxHtmlWordCell[] = { {&_swigt__p_wxHtmlWordCell, 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_wxNotifyEvent[] = { {&_swigt__p_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxNotifyEvent, 0, 0}, {&_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_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 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_wxImage[] = {{&_swigt__p_wxImage, 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_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 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_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 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_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_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 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_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 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_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 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_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 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_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 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_wxFSFile[] = {{&_swigt__p_wxFSFile, 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_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 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_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 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_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 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_wxObject[] = { {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlFontCell, _p_wxHtmlFontCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlTag, _p_wxHtmlTagTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlFilter, _p_wxPyHtmlFilterTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_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_wxHtmlEasyPrinting, _p_wxHtmlEasyPrintingTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxHtmlParser, _p_wxHtmlParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWinParser, _p_wxHtmlWinParserTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWidgetCell, _p_wxHtmlWidgetCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlContainerCell, _p_wxHtmlContainerCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlTagHandler, _p_wxPyHtmlTagHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_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_wxHtmlWindowEvent, _p_wxHtmlWindowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpControllerBase, _p_wxHelpControllerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlDCRenderer, _p_wxHtmlDCRendererTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlLinkInfo, _p_wxHtmlLinkInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_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_wxHtmlHelpController, _p_wxHtmlHelpControllerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlCell, _p_wxHtmlCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlColourCell, _p_wxHtmlColourCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxHtmlWordCell, _p_wxHtmlWordCellTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 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_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_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_wxPoint[] = { {&_swigt__p_wxPoint, 0, 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_wxPyHtmlFilter[] = { {&_swigt__p_wxPyHtmlFilter, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHtmlTagHandler[] = { {&_swigt__p_wxPyHtmlTagHandler, 0, 0, 0}, {&_swigt__p_wxPyHtmlWinTagHandler, _p_wxPyHtmlWinTagHandlerTo_p_wxPyHtmlTagHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHtmlWinTagHandler[] = { {&_swigt__p_wxPyHtmlWinTagHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHtmlWindow[] = { {&_swigt__p_wxPyHtmlWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0}, {&_swigt__p_wxHtmlPrintout, _p_wxHtmlPrintoutTo_p_wxPyPrintout, 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_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 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_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 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_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_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_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_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_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 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_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpWindow, _p_wxHtmlHelpWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlWindow, _p_wxPyHtmlWindowTo_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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxHtmlHelpFrame, _p_wxHtmlHelpFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHtmlHelpDialog, _p_wxHtmlHelpDialogTo_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_bool, + _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_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_wxConfigBase, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDefaultHtmlRenderingStyle, + _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_wxHelpControllerBase, + _swigc__p_wxHelpSearchMode, + _swigc__p_wxHtmlBookRecArray, + _swigc__p_wxHtmlBookRecord, + _swigc__p_wxHtmlCell, + _swigc__p_wxHtmlColourCell, + _swigc__p_wxHtmlContainerCell, + _swigc__p_wxHtmlDCRenderer, + _swigc__p_wxHtmlEasyPrinting, + _swigc__p_wxHtmlFilter, + _swigc__p_wxHtmlFontCell, + _swigc__p_wxHtmlHelpController, + _swigc__p_wxHtmlHelpData, + _swigc__p_wxHtmlHelpDialog, + _swigc__p_wxHtmlHelpFrame, + _swigc__p_wxHtmlHelpFrameCfg, + _swigc__p_wxHtmlHelpWindow, + _swigc__p_wxHtmlLinkInfo, + _swigc__p_wxHtmlModalHelp, + _swigc__p_wxHtmlParser, + _swigc__p_wxHtmlPrintout, + _swigc__p_wxHtmlRenderingInfo, + _swigc__p_wxHtmlRenderingState, + _swigc__p_wxHtmlRenderingStyle, + _swigc__p_wxHtmlSearchStatus, + _swigc__p_wxHtmlSelection, + _swigc__p_wxHtmlTag, + _swigc__p_wxHtmlTagHandler, + _swigc__p_wxHtmlWidgetCell, + _swigc__p_wxHtmlWinParser, + _swigc__p_wxHtmlWindow, + _swigc__p_wxHtmlWindowEvent, + _swigc__p_wxHtmlWordCell, + _swigc__p_wxICOHandler, + _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_wxPyHtmlFilter, + _swigc__p_wxPyHtmlListBox, + _swigc__p_wxPyHtmlTagHandler, + _swigc__p_wxPyHtmlWinTagHandler, + _swigc__p_wxPyHtmlWindow, + _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_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_wxTaskBarIconEvent, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTipWindow, + _swigc__p_wxTopLevelWindow, + _swigc__p_wxTreeCtrl, + _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, }; @@ -13490,6 +16867,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 @@ -13507,7 +17095,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; @@ -13517,13 +17105,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; @@ -13536,7 +17124,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -13549,7 +17137,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) { @@ -13562,72 +17150,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; } @@ -13636,11 +17241,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); @@ -13677,7 +17282,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, @@ -13689,7 +17294,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]); @@ -13702,14 +17307,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; + } + } } } } @@ -13719,69 +17328,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 @@ -13790,42 +17336,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); @@ -13833,166 +17358,265 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintoutTitleStr",_wrap_HtmlPrintoutTitleStr_get, _wrap_HtmlPrintoutTitleStr_set); SWIG_addvarlink(SWIG_globals,(char*)"HtmlPrintingTitleStr",_wrap_HtmlPrintingTitleStr_get, _wrap_HtmlPrintingTitleStr_set); { - PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int((int)(wxHTML_ALIGN_LEFT))); + PyDict_SetItemString(d,"HTML_ALIGN_LEFT", SWIG_From_int(static_cast(wxHTML_ALIGN_LEFT))); + } + { + PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int(static_cast(wxHTML_ALIGN_CENTER))); + } + { + PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int(static_cast(wxHTML_ALIGN_RIGHT))); + } + { + PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int(static_cast(wxHTML_ALIGN_BOTTOM))); + } + { + PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int(static_cast(wxHTML_ALIGN_TOP))); + } + { + PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int(static_cast(wxHTML_CLR_FOREGROUND))); + } + { + PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int(static_cast(wxHTML_CLR_BACKGROUND))); + } + { + PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int(static_cast(wxHTML_UNITS_PIXELS))); + } + { + PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int(static_cast(wxHTML_UNITS_PERCENT))); + } + { + PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int(static_cast(wxHTML_INDENT_LEFT))); + } + { + PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int(static_cast(wxHTML_INDENT_RIGHT))); + } + { + PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int(static_cast(wxHTML_INDENT_TOP))); + } + { + PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int(static_cast(wxHTML_INDENT_BOTTOM))); + } + { + PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int(static_cast(wxHTML_INDENT_HORIZONTAL))); + } + { + PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int(static_cast(wxHTML_INDENT_VERTICAL))); + } + { + PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int(static_cast(wxHTML_INDENT_ALL))); + } + { + PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int(static_cast(wxHTML_COND_ISANCHOR))); + } + { + PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int(static_cast(wxHTML_COND_ISIMAGEMAP))); + } + { + PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int(static_cast(wxHTML_COND_USER))); + } + { + PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_1))); + } + { + PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_2))); + } + { + PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_3))); + } + { + PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_4))); + } + { + PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_5))); + } + { + PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_6))); + } + { + PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int(static_cast(wxHTML_FONT_SIZE_7))); + } + { + PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int(static_cast(wxHW_SCROLLBAR_NEVER))); + } + { + PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int(static_cast(wxHW_SCROLLBAR_AUTO))); + } + { + PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int(static_cast(wxHW_NO_SELECTION))); + } + { + PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int(static_cast(wxHW_DEFAULT_STYLE))); + } + { + PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int(static_cast(wxHTML_OPEN))); + } + { + PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int(static_cast(wxHTML_BLOCK))); + } + { + PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int(static_cast(wxHTML_REDIRECT))); + } + { + PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int(static_cast(wxHTML_URL_PAGE))); } { - PyDict_SetItemString(d,"HTML_ALIGN_CENTER", SWIG_From_int((int)(wxHTML_ALIGN_CENTER))); + PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int(static_cast(wxHTML_URL_IMAGE))); } { - PyDict_SetItemString(d,"HTML_ALIGN_RIGHT", SWIG_From_int((int)(wxHTML_ALIGN_RIGHT))); + PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int(static_cast(wxHTML_URL_OTHER))); } { - PyDict_SetItemString(d,"HTML_ALIGN_BOTTOM", SWIG_From_int((int)(wxHTML_ALIGN_BOTTOM))); + PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int(static_cast(wxHTML_SEL_OUT))); } { - PyDict_SetItemString(d,"HTML_ALIGN_TOP", SWIG_From_int((int)(wxHTML_ALIGN_TOP))); + PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int(static_cast(wxHTML_SEL_IN))); } { - PyDict_SetItemString(d,"HTML_CLR_FOREGROUND", SWIG_From_int((int)(wxHTML_CLR_FOREGROUND))); + PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int(static_cast(wxHTML_SEL_CHANGING))); } { - PyDict_SetItemString(d,"HTML_CLR_BACKGROUND", SWIG_From_int((int)(wxHTML_CLR_BACKGROUND))); + PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int(static_cast(wxHTML_FIND_EXACT))); } { - PyDict_SetItemString(d,"HTML_UNITS_PIXELS", SWIG_From_int((int)(wxHTML_UNITS_PIXELS))); + PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int(static_cast(wxHTML_FIND_NEAREST_BEFORE))); } { - PyDict_SetItemString(d,"HTML_UNITS_PERCENT", SWIG_From_int((int)(wxHTML_UNITS_PERCENT))); + PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int(static_cast(wxHTML_FIND_NEAREST_AFTER))); } { - PyDict_SetItemString(d,"HTML_INDENT_LEFT", SWIG_From_int((int)(wxHTML_INDENT_LEFT))); + PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int(static_cast(wxPAGE_ODD))); } { - PyDict_SetItemString(d,"HTML_INDENT_RIGHT", SWIG_From_int((int)(wxHTML_INDENT_RIGHT))); + PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int(static_cast(wxPAGE_EVEN))); } { - PyDict_SetItemString(d,"HTML_INDENT_TOP", SWIG_From_int((int)(wxHTML_INDENT_TOP))); + PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int(static_cast(wxPAGE_ALL))); } { - PyDict_SetItemString(d,"HTML_INDENT_BOTTOM", SWIG_From_int((int)(wxHTML_INDENT_BOTTOM))); + PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int(static_cast(wxHF_TOOLBAR))); } { - PyDict_SetItemString(d,"HTML_INDENT_HORIZONTAL", SWIG_From_int((int)(wxHTML_INDENT_HORIZONTAL))); + PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int(static_cast(wxHF_CONTENTS))); } { - PyDict_SetItemString(d,"HTML_INDENT_VERTICAL", SWIG_From_int((int)(wxHTML_INDENT_VERTICAL))); + PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int(static_cast(wxHF_INDEX))); } { - PyDict_SetItemString(d,"HTML_INDENT_ALL", SWIG_From_int((int)(wxHTML_INDENT_ALL))); + PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int(static_cast(wxHF_SEARCH))); } { - PyDict_SetItemString(d,"HTML_COND_ISANCHOR", SWIG_From_int((int)(wxHTML_COND_ISANCHOR))); + PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int(static_cast(wxHF_BOOKMARKS))); } { - PyDict_SetItemString(d,"HTML_COND_ISIMAGEMAP", SWIG_From_int((int)(wxHTML_COND_ISIMAGEMAP))); + PyDict_SetItemString(d,"HF_OPEN_FILES", SWIG_From_int(static_cast(wxHF_OPEN_FILES))); } { - PyDict_SetItemString(d,"HTML_COND_USER", SWIG_From_int((int)(wxHTML_COND_USER))); + PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int(static_cast(wxHF_PRINT))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_1", SWIG_From_int((int)(wxHTML_FONT_SIZE_1))); + PyDict_SetItemString(d,"HF_FLAT_TOOLBAR", SWIG_From_int(static_cast(wxHF_FLAT_TOOLBAR))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_2", SWIG_From_int((int)(wxHTML_FONT_SIZE_2))); + PyDict_SetItemString(d,"HF_MERGE_BOOKS", SWIG_From_int(static_cast(wxHF_MERGE_BOOKS))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_3", SWIG_From_int((int)(wxHTML_FONT_SIZE_3))); + PyDict_SetItemString(d,"HF_ICONS_BOOK", SWIG_From_int(static_cast(wxHF_ICONS_BOOK))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_4", SWIG_From_int((int)(wxHTML_FONT_SIZE_4))); + PyDict_SetItemString(d,"HF_ICONS_BOOK_CHAPTER", SWIG_From_int(static_cast(wxHF_ICONS_BOOK_CHAPTER))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_5", SWIG_From_int((int)(wxHTML_FONT_SIZE_5))); + PyDict_SetItemString(d,"HF_ICONS_FOLDER", SWIG_From_int(static_cast(wxHF_ICONS_FOLDER))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_6", SWIG_From_int((int)(wxHTML_FONT_SIZE_6))); + PyDict_SetItemString(d,"HF_DEFAULT_STYLE", SWIG_From_int(static_cast(wxHF_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"HTML_FONT_SIZE_7", SWIG_From_int((int)(wxHTML_FONT_SIZE_7))); + PyDict_SetItemString(d,"HF_EMBEDDED", SWIG_From_int(static_cast(wxHF_EMBEDDED))); } { - PyDict_SetItemString(d,"HW_SCROLLBAR_NEVER", SWIG_From_int((int)(wxHW_SCROLLBAR_NEVER))); + PyDict_SetItemString(d,"HF_DIALOG", SWIG_From_int(static_cast(wxHF_DIALOG))); } { - PyDict_SetItemString(d,"HW_SCROLLBAR_AUTO", SWIG_From_int((int)(wxHW_SCROLLBAR_AUTO))); + PyDict_SetItemString(d,"HF_FRAME", SWIG_From_int(static_cast(wxHF_FRAME))); } { - PyDict_SetItemString(d,"HW_NO_SELECTION", SWIG_From_int((int)(wxHW_NO_SELECTION))); + PyDict_SetItemString(d,"HF_MODAL", SWIG_From_int(static_cast(wxHF_MODAL))); } { - PyDict_SetItemString(d,"HW_DEFAULT_STYLE", SWIG_From_int((int)(wxHW_DEFAULT_STYLE))); + PyDict_SetItemString(d,"ID_HTML_PANEL", SWIG_From_int(static_cast(wxID_HTML_PANEL))); } { - PyDict_SetItemString(d,"HTML_OPEN", SWIG_From_int((int)(wxHTML_OPEN))); + PyDict_SetItemString(d,"ID_HTML_BACK", SWIG_From_int(static_cast(wxID_HTML_BACK))); } { - PyDict_SetItemString(d,"HTML_BLOCK", SWIG_From_int((int)(wxHTML_BLOCK))); + PyDict_SetItemString(d,"ID_HTML_FORWARD", SWIG_From_int(static_cast(wxID_HTML_FORWARD))); } { - PyDict_SetItemString(d,"HTML_REDIRECT", SWIG_From_int((int)(wxHTML_REDIRECT))); + PyDict_SetItemString(d,"ID_HTML_UPNODE", SWIG_From_int(static_cast(wxID_HTML_UPNODE))); } { - PyDict_SetItemString(d,"HTML_URL_PAGE", SWIG_From_int((int)(wxHTML_URL_PAGE))); + PyDict_SetItemString(d,"ID_HTML_UP", SWIG_From_int(static_cast(wxID_HTML_UP))); } { - PyDict_SetItemString(d,"HTML_URL_IMAGE", SWIG_From_int((int)(wxHTML_URL_IMAGE))); + PyDict_SetItemString(d,"ID_HTML_DOWN", SWIG_From_int(static_cast(wxID_HTML_DOWN))); } { - PyDict_SetItemString(d,"HTML_URL_OTHER", SWIG_From_int((int)(wxHTML_URL_OTHER))); + PyDict_SetItemString(d,"ID_HTML_PRINT", SWIG_From_int(static_cast(wxID_HTML_PRINT))); } { - PyDict_SetItemString(d,"HTML_SEL_OUT", SWIG_From_int((int)(wxHTML_SEL_OUT))); + PyDict_SetItemString(d,"ID_HTML_OPENFILE", SWIG_From_int(static_cast(wxID_HTML_OPENFILE))); } { - PyDict_SetItemString(d,"HTML_SEL_IN", SWIG_From_int((int)(wxHTML_SEL_IN))); + PyDict_SetItemString(d,"ID_HTML_OPTIONS", SWIG_From_int(static_cast(wxID_HTML_OPTIONS))); } { - PyDict_SetItemString(d,"HTML_SEL_CHANGING", SWIG_From_int((int)(wxHTML_SEL_CHANGING))); + PyDict_SetItemString(d,"ID_HTML_BOOKMARKSLIST", SWIG_From_int(static_cast(wxID_HTML_BOOKMARKSLIST))); } { - PyDict_SetItemString(d,"HTML_FIND_EXACT", SWIG_From_int((int)(wxHTML_FIND_EXACT))); + PyDict_SetItemString(d,"ID_HTML_BOOKMARKSADD", SWIG_From_int(static_cast(wxID_HTML_BOOKMARKSADD))); } { - PyDict_SetItemString(d,"HTML_FIND_NEAREST_BEFORE", SWIG_From_int((int)(wxHTML_FIND_NEAREST_BEFORE))); + PyDict_SetItemString(d,"ID_HTML_BOOKMARKSREMOVE", SWIG_From_int(static_cast(wxID_HTML_BOOKMARKSREMOVE))); } { - PyDict_SetItemString(d,"HTML_FIND_NEAREST_AFTER", SWIG_From_int((int)(wxHTML_FIND_NEAREST_AFTER))); + PyDict_SetItemString(d,"ID_HTML_TREECTRL", SWIG_From_int(static_cast(wxID_HTML_TREECTRL))); } { - PyDict_SetItemString(d,"PAGE_ODD", SWIG_From_int((int)(wxPAGE_ODD))); + PyDict_SetItemString(d,"ID_HTML_INDEXPAGE", SWIG_From_int(static_cast(wxID_HTML_INDEXPAGE))); } { - PyDict_SetItemString(d,"PAGE_EVEN", SWIG_From_int((int)(wxPAGE_EVEN))); + PyDict_SetItemString(d,"ID_HTML_INDEXLIST", SWIG_From_int(static_cast(wxID_HTML_INDEXLIST))); } { - PyDict_SetItemString(d,"PAGE_ALL", SWIG_From_int((int)(wxPAGE_ALL))); + PyDict_SetItemString(d,"ID_HTML_INDEXTEXT", SWIG_From_int(static_cast(wxID_HTML_INDEXTEXT))); } { - PyDict_SetItemString(d,"HF_TOOLBAR", SWIG_From_int((int)(wxHF_TOOLBAR))); + PyDict_SetItemString(d,"ID_HTML_INDEXBUTTON", SWIG_From_int(static_cast(wxID_HTML_INDEXBUTTON))); } { - PyDict_SetItemString(d,"HF_FLATTOOLBAR", SWIG_From_int((int)(wxHF_FLATTOOLBAR))); + PyDict_SetItemString(d,"ID_HTML_INDEXBUTTONALL", SWIG_From_int(static_cast(wxID_HTML_INDEXBUTTONALL))); } { - PyDict_SetItemString(d,"HF_CONTENTS", SWIG_From_int((int)(wxHF_CONTENTS))); + PyDict_SetItemString(d,"ID_HTML_NOTEBOOK", SWIG_From_int(static_cast(wxID_HTML_NOTEBOOK))); } { - PyDict_SetItemString(d,"HF_INDEX", SWIG_From_int((int)(wxHF_INDEX))); + PyDict_SetItemString(d,"ID_HTML_SEARCHPAGE", SWIG_From_int(static_cast(wxID_HTML_SEARCHPAGE))); } { - PyDict_SetItemString(d,"HF_SEARCH", SWIG_From_int((int)(wxHF_SEARCH))); + PyDict_SetItemString(d,"ID_HTML_SEARCHTEXT", SWIG_From_int(static_cast(wxID_HTML_SEARCHTEXT))); } { - PyDict_SetItemString(d,"HF_BOOKMARKS", SWIG_From_int((int)(wxHF_BOOKMARKS))); + PyDict_SetItemString(d,"ID_HTML_SEARCHLIST", SWIG_From_int(static_cast(wxID_HTML_SEARCHLIST))); } { - PyDict_SetItemString(d,"HF_OPENFILES", SWIG_From_int((int)(wxHF_OPENFILES))); + PyDict_SetItemString(d,"ID_HTML_SEARCHBUTTON", SWIG_From_int(static_cast(wxID_HTML_SEARCHBUTTON))); } { - PyDict_SetItemString(d,"HF_PRINT", SWIG_From_int((int)(wxHF_PRINT))); + PyDict_SetItemString(d,"ID_HTML_SEARCHCHOICE", SWIG_From_int(static_cast(wxID_HTML_SEARCHCHOICE))); } { - PyDict_SetItemString(d,"HF_DEFAULTSTYLE", SWIG_From_int((int)(wxHF_DEFAULTSTYLE))); + PyDict_SetItemString(d,"ID_HTML_COUNTINFO", SWIG_From_int(static_cast(wxID_HTML_COUNTINFO))); } wxPyPtrTypeMap_Add("wxHtmlTagHandler", "wxPyHtmlTagHandler"); diff --git a/wxPython/src/mac/media.py b/wxPython/src/mac/media.py index 07ed43ce9a..70f4e57160 100644 --- a/wxPython/src/mac/media.py +++ b/wxPython/src/mac/media.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -179,7 +179,10 @@ def PreMediaCtrl(*args, **kwargs): wxEVT_MEDIA_FINISHED = _media.wxEVT_MEDIA_FINISHED wxEVT_MEDIA_STOP = _media.wxEVT_MEDIA_STOP +wxEVT_MEDIA_LOADED = _media.wxEVT_MEDIA_LOADED EVT_MEDIA_FINISHED = wx.PyEventBinder( wxEVT_MEDIA_FINISHED, 1) EVT_MEDIA_STOP = wx.PyEventBinder( wxEVT_MEDIA_STOP, 1) +EVT_MEDIA_LOADED = wx.PyEventBinder( wxEVT_MEDIA_LOADED, 1) + diff --git a/wxPython/src/mac/media_wrap.cpp b/wxPython/src/mac/media_wrap.cpp index b8955111d9..f635d0a9e6 100644 --- a/wxPython/src/mac/media_wrap.cpp +++ b/wxPython/src/mac/media_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,30 +1431,102 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxObject swig_types[0] -#define SWIGTYPE_p_unsigned_char swig_types[1] -#define SWIGTYPE_p_wxMediaEvent swig_types[2] -#define SWIGTYPE_p_wxWindow swig_types[3] -#define SWIGTYPE_p_wxValidator swig_types[4] -#define SWIGTYPE_p_wxCommandEvent swig_types[5] -#define SWIGTYPE_p_unsigned_long swig_types[6] -#define SWIGTYPE_p_unsigned_int swig_types[7] -#define SWIGTYPE_unsigned_int swig_types[8] -#define SWIGTYPE_p_form_ops_t swig_types[9] -#define SWIGTYPE_p_wxDuplexMode swig_types[10] -#define SWIGTYPE_p_wxMediaCtrlPlayerControls swig_types[11] -#define SWIGTYPE_p_char swig_types[12] -#define SWIGTYPE_p_wxFileOffset swig_types[13] -#define SWIGTYPE_p_wxEvtHandler swig_types[14] -#define SWIGTYPE_std__ptrdiff_t swig_types[15] -#define SWIGTYPE_ptrdiff_t swig_types[16] -#define SWIGTYPE_p_wxNotifyEvent swig_types[17] -#define SWIGTYPE_p_wxControl swig_types[18] -#define SWIGTYPE_p_wxMediaCtrl swig_types[19] -#define SWIGTYPE_p_wxEvent swig_types[20] -#define SWIGTYPE_p_wxPaperSize swig_types[21] -#define SWIGTYPE_p_int swig_types[22] -static swig_type_info *swig_types[24]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBoxSizer swig_types[10] +#define SWIGTYPE_p_wxCURHandler swig_types[11] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[12] +#define SWIGTYPE_p_wxCloseEvent swig_types[13] +#define SWIGTYPE_p_wxCommandEvent swig_types[14] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[15] +#define SWIGTYPE_p_wxControl swig_types[16] +#define SWIGTYPE_p_wxControlWithItems swig_types[17] +#define SWIGTYPE_p_wxDateEvent swig_types[18] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[19] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[20] +#define SWIGTYPE_p_wxDuplexMode swig_types[21] +#define SWIGTYPE_p_wxEraseEvent swig_types[22] +#define SWIGTYPE_p_wxEvent swig_types[23] +#define SWIGTYPE_p_wxEvtHandler swig_types[24] +#define SWIGTYPE_p_wxFSFile swig_types[25] +#define SWIGTYPE_p_wxFileOffset swig_types[26] +#define SWIGTYPE_p_wxFileSystem swig_types[27] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[28] +#define SWIGTYPE_p_wxFocusEvent swig_types[29] +#define SWIGTYPE_p_wxGBSizerItem swig_types[30] +#define SWIGTYPE_p_wxGIFHandler swig_types[31] +#define SWIGTYPE_p_wxGridBagSizer swig_types[32] +#define SWIGTYPE_p_wxGridSizer swig_types[33] +#define SWIGTYPE_p_wxICOHandler swig_types[34] +#define SWIGTYPE_p_wxIconizeEvent swig_types[35] +#define SWIGTYPE_p_wxIdleEvent swig_types[36] +#define SWIGTYPE_p_wxImage swig_types[37] +#define SWIGTYPE_p_wxImageHandler swig_types[38] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[39] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[40] +#define SWIGTYPE_p_wxJPEGHandler swig_types[41] +#define SWIGTYPE_p_wxKeyEvent swig_types[42] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[43] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[44] +#define SWIGTYPE_p_wxMediaCtrl swig_types[45] +#define SWIGTYPE_p_wxMediaCtrlPlayerControls swig_types[46] +#define SWIGTYPE_p_wxMediaEvent swig_types[47] +#define SWIGTYPE_p_wxMenu swig_types[48] +#define SWIGTYPE_p_wxMenuBar swig_types[49] +#define SWIGTYPE_p_wxMenuEvent swig_types[50] +#define SWIGTYPE_p_wxMenuItem swig_types[51] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[52] +#define SWIGTYPE_p_wxMouseEvent swig_types[53] +#define SWIGTYPE_p_wxMoveEvent swig_types[54] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[55] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[56] +#define SWIGTYPE_p_wxNotifyEvent swig_types[57] +#define SWIGTYPE_p_wxObject swig_types[58] +#define SWIGTYPE_p_wxPCXHandler swig_types[59] +#define SWIGTYPE_p_wxPNGHandler swig_types[60] +#define SWIGTYPE_p_wxPNMHandler swig_types[61] +#define SWIGTYPE_p_wxPaintEvent swig_types[62] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[63] +#define SWIGTYPE_p_wxPaperSize swig_types[64] +#define SWIGTYPE_p_wxPyApp swig_types[65] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[66] +#define SWIGTYPE_p_wxPyEvent swig_types[67] +#define SWIGTYPE_p_wxPyImageHandler swig_types[68] +#define SWIGTYPE_p_wxPySizer swig_types[69] +#define SWIGTYPE_p_wxPyValidator swig_types[70] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[71] +#define SWIGTYPE_p_wxScrollEvent swig_types[72] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[73] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[74] +#define SWIGTYPE_p_wxShowEvent swig_types[75] +#define SWIGTYPE_p_wxSizeEvent swig_types[76] +#define SWIGTYPE_p_wxSizer swig_types[77] +#define SWIGTYPE_p_wxSizerItem swig_types[78] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[79] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[80] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[81] +#define SWIGTYPE_p_wxTIFFHandler swig_types[82] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[83] +#define SWIGTYPE_p_wxValidator swig_types[84] +#define SWIGTYPE_p_wxWindow swig_types[85] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[86] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[87] +#define SWIGTYPE_p_wxXPMHandler swig_types[88] +#define SWIGTYPE_ptrdiff_t swig_types[89] +#define SWIGTYPE_std__ptrdiff_t swig_types[90] +#define SWIGTYPE_unsigned_int swig_types[91] +static swig_type_info *swig_types[93]; +static swig_module_info swig_module = {swig_types, 92, 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) -------- */ @@ -1456,11 +1620,12 @@ public: const wxEventType wxEVT_MEDIA_FINISHED = 0; const wxEventType wxEVT_MEDIA_STOP = 0; +const wxEventType wxEVT_MEDIA_LOADED = 0; #endif - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_int PyInt_FromLong /*@@*/ @@ -1513,7 +1678,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; @@ -1527,7 +1692,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1535,7 +1700,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1549,7 +1714,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1558,7 +1723,7 @@ SWIG_Check_int(PyObject* obj) static const wxString wxPyEmptyString(wxEmptyString); static const wxString wxPyMediaCtrlNameStr(wxT("mediaCtrl")); -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1572,14 +1737,14 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)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 /*@@*/ @@ -1598,7 +1763,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -1612,7 +1777,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -1622,7 +1787,7 @@ SWIG_Check_double(PyObject* obj) extern "C" { #endif static PyObject *_wrap_new_MediaEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxMediaEvent *result; @@ -1635,13 +1800,13 @@ static PyObject *_wrap_new_MediaEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MediaEvent",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; } } @@ -1673,7 +1838,7 @@ static int _wrap_MediaCtrlNameStr_set(PyObject *) { static PyObject *_wrap_MediaCtrlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1687,7 +1852,7 @@ static PyObject *_wrap_MediaCtrlNameStr_get(void) { static PyObject *_wrap_new_MediaCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -1727,7 +1892,7 @@ static PyObject *_wrap_new_MediaCtrl(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; } } @@ -1752,7 +1917,7 @@ static PyObject *_wrap_new_MediaCtrl(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; } } @@ -1820,7 +1985,7 @@ static PyObject *_wrap_new_MediaCtrl(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreMediaCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *result; char *kwnames[] = { NULL @@ -1843,7 +2008,7 @@ static PyObject *_wrap_new_PreMediaCtrl(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MediaCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -1887,7 +2052,7 @@ static PyObject *_wrap_MediaCtrl_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; } } @@ -1912,7 +2077,7 @@ static PyObject *_wrap_MediaCtrl_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; } } @@ -1981,7 +2146,7 @@ static PyObject *_wrap_MediaCtrl_Create(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MediaCtrl_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2009,7 +2174,7 @@ static PyObject *_wrap_MediaCtrl_Play(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_Pause(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2037,7 +2202,7 @@ static PyObject *_wrap_MediaCtrl_Pause(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MediaCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2065,7 +2230,7 @@ static PyObject *_wrap_MediaCtrl_Stop(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxMediaState result; PyObject * obj0 = 0 ; @@ -2091,7 +2256,7 @@ static PyObject *_wrap_MediaCtrl_GetState(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MediaCtrl_GetPlaybackRate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; double result; PyObject * obj0 = 0 ; @@ -2110,7 +2275,7 @@ static PyObject *_wrap_MediaCtrl_GetPlaybackRate(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -2119,7 +2284,7 @@ static PyObject *_wrap_MediaCtrl_GetPlaybackRate(PyObject *, PyObject *args, PyO static PyObject *_wrap_MediaCtrl_SetPlaybackRate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; double arg2 ; bool result; @@ -2133,7 +2298,7 @@ static PyObject *_wrap_MediaCtrl_SetPlaybackRate(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMediaCtrl, 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; } { @@ -2153,7 +2318,7 @@ static PyObject *_wrap_MediaCtrl_SetPlaybackRate(PyObject *, PyObject *args, PyO static PyObject *_wrap_MediaCtrl_Seek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxFileOffset arg2 ; wxSeekMode arg3 = (wxSeekMode) wxFromStart ; @@ -2176,13 +2341,13 @@ static PyObject *_wrap_MediaCtrl_Seek(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg3 = (wxSeekMode)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->Seek(arg2,(wxSeekMode )arg3); + result = (arg1)->Seek(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2200,7 +2365,7 @@ static PyObject *_wrap_MediaCtrl_Seek(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_Tell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxFileOffset result; PyObject * obj0 = 0 ; @@ -2231,7 +2396,7 @@ static PyObject *_wrap_MediaCtrl_Tell(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_Length(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxFileOffset result; PyObject * obj0 = 0 ; @@ -2262,7 +2427,7 @@ static PyObject *_wrap_MediaCtrl_Length(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MediaCtrl_GetVolume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; double result; PyObject * obj0 = 0 ; @@ -2281,7 +2446,7 @@ static PyObject *_wrap_MediaCtrl_GetVolume(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -2290,7 +2455,7 @@ static PyObject *_wrap_MediaCtrl_GetVolume(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MediaCtrl_SetVolume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; double arg2 ; bool result; @@ -2304,7 +2469,7 @@ static PyObject *_wrap_MediaCtrl_SetVolume(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMediaCtrl, 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; } { @@ -2324,7 +2489,7 @@ static PyObject *_wrap_MediaCtrl_SetVolume(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MediaCtrl_ShowPlayerControls(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxMediaCtrlPlayerControls arg2 = (wxMediaCtrlPlayerControls) wxMEDIACTRLPLAYERCONTROLS_DEFAULT ; bool result; @@ -2366,7 +2531,7 @@ static PyObject *_wrap_MediaCtrl_ShowPlayerControls(PyObject *, PyObject *args, static PyObject *_wrap_MediaCtrl_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2410,7 +2575,7 @@ static PyObject *_wrap_MediaCtrl_Load(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MediaCtrl_LoadURI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2454,7 +2619,7 @@ static PyObject *_wrap_MediaCtrl_LoadURI(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MediaCtrl_LoadURIWithProxy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMediaCtrl *arg1 = (wxMediaCtrl *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -2974,55 +3139,380 @@ static void *_p_wxMediaEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_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_wxMediaCtrl", _p_wxMediaCtrlTo_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_wxMediaEvent", _p_wxMediaEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxMediaEvent[] = {{"_p_wxMediaEvent", 0, "wxMediaEvent *", 0, 0, 0, 0},{"_p_wxMediaEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_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_wxMediaCtrlPlayerControls[] = {{"_p_wxMediaCtrlPlayerControls", 0, "wxMediaCtrlPlayerControls *", 0, 0, 0, 0},{"_p_wxMediaCtrlPlayerControls", 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_wxFileOffset[] = {{"_p_wxFileOffset", 0, "wxFileOffset *", 0, 0, 0, 0},{"_p_wxFileOffset", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxMediaCtrl", _p_wxMediaCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMediaCtrl[] = {{"_p_wxMediaCtrl", 0, "wxMediaCtrl *", 0, 0, 0, 0},{"_p_wxMediaCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMediaEvent", _p_wxMediaEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxMediaEvent, -_swigt__p_wxWindow, -_swigt__p_wxValidator, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxMediaCtrlPlayerControls, -_swigt__p_char, -_swigt__p_wxFileOffset, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxNotifyEvent, -_swigt__p_wxControl, -_swigt__p_wxMediaCtrl, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_int, -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 *|wxEventType *", 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_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_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 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_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileOffset = {"_p_wxFileOffset", "wxFileOffset *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMediaCtrl = {"_p_wxMediaCtrl", "wxMediaCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMediaCtrlPlayerControls = {"_p_wxMediaCtrlPlayerControls", "wxMediaCtrlPlayerControls *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMediaEvent = {"_p_wxMediaEvent", "wxMediaEvent *", 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_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 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_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 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_wxBMPHandler, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileOffset, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMediaCtrl, + &_swigt__p_wxMediaCtrlPlayerControls, + &_swigt__p_wxMediaEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_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_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_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxMediaEvent, _p_wxMediaEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 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_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxMediaCtrl, _p_wxMediaCtrlTo_p_wxControl, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMediaEvent, _p_wxMediaEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 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_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxMediaCtrl, _p_wxMediaCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileOffset[] = { {&_swigt__p_wxFileOffset, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMediaCtrl[] = { {&_swigt__p_wxMediaCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMediaCtrlPlayerControls[] = { {&_swigt__p_wxMediaCtrlPlayerControls, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMediaEvent[] = { {&_swigt__p_wxMediaEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxNotifyEvent, 0, 0, 0}, {&_swigt__p_wxMediaEvent, _p_wxMediaEventTo_p_wxNotifyEvent, 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_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 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_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_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 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_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 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_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_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_wxMediaCtrl, _p_wxMediaCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMediaEvent, _p_wxMediaEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMediaCtrl, _p_wxMediaCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_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_wxBMPHandler, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileOffset, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMediaCtrl, + _swigc__p_wxMediaCtrlPlayerControls, + _swigc__p_wxMediaEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -3034,6 +3524,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 @@ -3051,7 +3752,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; @@ -3061,13 +3762,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; @@ -3080,7 +3781,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -3093,7 +3794,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) { @@ -3106,72 +3807,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; } @@ -3180,11 +3898,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); @@ -3221,7 +3939,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, @@ -3233,7 +3951,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]); @@ -3246,14 +3964,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; + } + } } } } @@ -3263,69 +3985,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 @@ -3334,57 +3993,37 @@ 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,"MEDIASTATE_STOPPED", SWIG_From_int((int)(wxMEDIASTATE_STOPPED))); + PyDict_SetItemString(d,"MEDIASTATE_STOPPED", SWIG_From_int(static_cast(wxMEDIASTATE_STOPPED))); } { - PyDict_SetItemString(d,"MEDIASTATE_PAUSED", SWIG_From_int((int)(wxMEDIASTATE_PAUSED))); + PyDict_SetItemString(d,"MEDIASTATE_PAUSED", SWIG_From_int(static_cast(wxMEDIASTATE_PAUSED))); } { - PyDict_SetItemString(d,"MEDIASTATE_PLAYING", SWIG_From_int((int)(wxMEDIASTATE_PLAYING))); + PyDict_SetItemString(d,"MEDIASTATE_PLAYING", SWIG_From_int(static_cast(wxMEDIASTATE_PLAYING))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"MediaCtrlNameStr",_wrap_MediaCtrlNameStr_get, _wrap_MediaCtrlNameStr_set); PyDict_SetItemString(d, "wxEVT_MEDIA_FINISHED", PyInt_FromLong(wxEVT_MEDIA_FINISHED)); PyDict_SetItemString(d, "wxEVT_MEDIA_STOP", PyInt_FromLong(wxEVT_MEDIA_STOP)); + PyDict_SetItemString(d, "wxEVT_MEDIA_LOADED", PyInt_FromLong(wxEVT_MEDIA_LOADED)); } diff --git a/wxPython/src/mac/webkit.py b/wxPython/src/mac/webkit.py index fb14f84a4b..daf3349c2b 100644 --- a/wxPython/src/mac/webkit.py +++ b/wxPython/src/mac/webkit.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -185,3 +185,4 @@ _webkit.WebKitStateChangedEvent_swigregister(WebKitStateChangedEventPtr) EVT_WEBKIT_STATE_CHANGED = wx.PyEventBinder(wxEVT_WEBKIT_STATE_CHANGED) + diff --git a/wxPython/src/mac/webkit_wrap.cpp b/wxPython/src/mac/webkit_wrap.cpp index 9b063e35c2..4d75ad27f3 100644 --- a/wxPython/src/mac/webkit_wrap.cpp +++ b/wxPython/src/mac/webkit_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,27 +1431,100 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxObject swig_types[0] -#define SWIGTYPE_p_unsigned_char swig_types[1] -#define SWIGTYPE_p_wxWindow swig_types[2] -#define SWIGTYPE_p_wxValidator swig_types[3] -#define SWIGTYPE_p_wxCommandEvent swig_types[4] -#define SWIGTYPE_p_unsigned_long swig_types[5] -#define SWIGTYPE_p_unsigned_int swig_types[6] -#define SWIGTYPE_unsigned_int swig_types[7] -#define SWIGTYPE_p_form_ops_t swig_types[8] -#define SWIGTYPE_p_wxDuplexMode swig_types[9] -#define SWIGTYPE_p_char swig_types[10] -#define SWIGTYPE_p_wxWebKitStateChangedEvent swig_types[11] -#define SWIGTYPE_p_wxEvtHandler swig_types[12] -#define SWIGTYPE_std__ptrdiff_t swig_types[13] -#define SWIGTYPE_ptrdiff_t swig_types[14] -#define SWIGTYPE_p_wxControl swig_types[15] -#define SWIGTYPE_p_wxEvent swig_types[16] -#define SWIGTYPE_p_wxPaperSize swig_types[17] -#define SWIGTYPE_p_int swig_types[18] -#define SWIGTYPE_p_wxWebKitCtrl swig_types[19] -static swig_type_info *swig_types[21]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBoxSizer swig_types[10] +#define SWIGTYPE_p_wxCURHandler swig_types[11] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[12] +#define SWIGTYPE_p_wxCloseEvent swig_types[13] +#define SWIGTYPE_p_wxCommandEvent swig_types[14] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[15] +#define SWIGTYPE_p_wxControl swig_types[16] +#define SWIGTYPE_p_wxControlWithItems swig_types[17] +#define SWIGTYPE_p_wxDateEvent swig_types[18] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[19] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[20] +#define SWIGTYPE_p_wxDuplexMode swig_types[21] +#define SWIGTYPE_p_wxEraseEvent swig_types[22] +#define SWIGTYPE_p_wxEvent swig_types[23] +#define SWIGTYPE_p_wxEvtHandler swig_types[24] +#define SWIGTYPE_p_wxFSFile swig_types[25] +#define SWIGTYPE_p_wxFileSystem swig_types[26] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[27] +#define SWIGTYPE_p_wxFocusEvent swig_types[28] +#define SWIGTYPE_p_wxGBSizerItem swig_types[29] +#define SWIGTYPE_p_wxGIFHandler swig_types[30] +#define SWIGTYPE_p_wxGridBagSizer swig_types[31] +#define SWIGTYPE_p_wxGridSizer swig_types[32] +#define SWIGTYPE_p_wxICOHandler swig_types[33] +#define SWIGTYPE_p_wxIconizeEvent swig_types[34] +#define SWIGTYPE_p_wxIdleEvent swig_types[35] +#define SWIGTYPE_p_wxImage swig_types[36] +#define SWIGTYPE_p_wxImageHandler swig_types[37] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[38] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[39] +#define SWIGTYPE_p_wxJPEGHandler swig_types[40] +#define SWIGTYPE_p_wxKeyEvent swig_types[41] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[42] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[43] +#define SWIGTYPE_p_wxMenu swig_types[44] +#define SWIGTYPE_p_wxMenuBar swig_types[45] +#define SWIGTYPE_p_wxMenuEvent swig_types[46] +#define SWIGTYPE_p_wxMenuItem swig_types[47] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[48] +#define SWIGTYPE_p_wxMouseEvent swig_types[49] +#define SWIGTYPE_p_wxMoveEvent swig_types[50] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[51] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[52] +#define SWIGTYPE_p_wxNotifyEvent swig_types[53] +#define SWIGTYPE_p_wxObject swig_types[54] +#define SWIGTYPE_p_wxPCXHandler swig_types[55] +#define SWIGTYPE_p_wxPNGHandler swig_types[56] +#define SWIGTYPE_p_wxPNMHandler swig_types[57] +#define SWIGTYPE_p_wxPaintEvent swig_types[58] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[59] +#define SWIGTYPE_p_wxPaperSize swig_types[60] +#define SWIGTYPE_p_wxPyApp swig_types[61] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[62] +#define SWIGTYPE_p_wxPyEvent swig_types[63] +#define SWIGTYPE_p_wxPyImageHandler swig_types[64] +#define SWIGTYPE_p_wxPySizer swig_types[65] +#define SWIGTYPE_p_wxPyValidator swig_types[66] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[67] +#define SWIGTYPE_p_wxScrollEvent swig_types[68] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[69] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[70] +#define SWIGTYPE_p_wxShowEvent swig_types[71] +#define SWIGTYPE_p_wxSizeEvent swig_types[72] +#define SWIGTYPE_p_wxSizer swig_types[73] +#define SWIGTYPE_p_wxSizerItem swig_types[74] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[75] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[76] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[77] +#define SWIGTYPE_p_wxTIFFHandler swig_types[78] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[79] +#define SWIGTYPE_p_wxValidator swig_types[80] +#define SWIGTYPE_p_wxWebKitCtrl swig_types[81] +#define SWIGTYPE_p_wxWebKitStateChangedEvent swig_types[82] +#define SWIGTYPE_p_wxWindow swig_types[83] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[84] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[85] +#define SWIGTYPE_p_wxXPMHandler swig_types[86] +#define SWIGTYPE_ptrdiff_t swig_types[87] +#define SWIGTYPE_std__ptrdiff_t swig_types[88] +#define SWIGTYPE_unsigned_int swig_types[89] +static swig_type_info *swig_types[91]; +static swig_module_info swig_module = {swig_types, 90, 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) -------- */ @@ -1503,7 +1668,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; @@ -1517,7 +1682,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1525,7 +1690,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1539,7 +1704,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1553,21 +1718,21 @@ 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); } - /*@/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 /*@@*/ @@ -1581,7 +1746,7 @@ static int _wrap_WebKitNameStr_set(PyObject *) { static PyObject *_wrap_WebKitNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1595,7 +1760,7 @@ static PyObject *_wrap_WebKitNameStr_get(void) { static PyObject *_wrap_new_WebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -1631,7 +1796,7 @@ static PyObject *_wrap_new_WebKitCtrl(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; } } @@ -1656,7 +1821,7 @@ static PyObject *_wrap_new_WebKitCtrl(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; } } @@ -1709,7 +1874,7 @@ static PyObject *_wrap_new_WebKitCtrl(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreWebKitCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *result; char *kwnames[] = { NULL @@ -1732,7 +1897,7 @@ static PyObject *_wrap_new_PreWebKitCtrl(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -1772,7 +1937,7 @@ static PyObject *_wrap_WebKitCtrl_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; } } @@ -1797,7 +1962,7 @@ static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *k } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -1851,7 +2016,7 @@ static PyObject *_wrap_WebKitCtrl_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WebKitCtrl_LoadURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -1892,7 +2057,7 @@ static PyObject *_wrap_WebKitCtrl_LoadURL(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_WebKitCtrl_CanGoBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1920,7 +2085,7 @@ static PyObject *_wrap_WebKitCtrl_CanGoBack(PyObject *, PyObject *args, PyObject static PyObject *_wrap_WebKitCtrl_CanGoForward(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1948,7 +2113,7 @@ static PyObject *_wrap_WebKitCtrl_CanGoForward(PyObject *, PyObject *args, PyObj static PyObject *_wrap_WebKitCtrl_GoBack(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1976,7 +2141,7 @@ static PyObject *_wrap_WebKitCtrl_GoBack(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WebKitCtrl_GoForward(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2004,7 +2169,7 @@ static PyObject *_wrap_WebKitCtrl_GoForward(PyObject *, PyObject *args, PyObject static PyObject *_wrap_WebKitCtrl_Reload(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2029,7 +2194,7 @@ static PyObject *_wrap_WebKitCtrl_Reload(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WebKitCtrl_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2054,7 +2219,7 @@ static PyObject *_wrap_WebKitCtrl_Stop(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_WebKitCtrl_CanGetPageSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2082,7 +2247,7 @@ static PyObject *_wrap_WebKitCtrl_CanGetPageSource(PyObject *, PyObject *args, P static PyObject *_wrap_WebKitCtrl_GetPageSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2114,7 +2279,7 @@ static PyObject *_wrap_WebKitCtrl_GetPageSource(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WebKitCtrl_SetPageSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -2174,7 +2339,7 @@ static PyObject *_wrap_WebKitCtrl_SetPageSource(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WebKitCtrl_GetPageURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2206,7 +2371,7 @@ static PyObject *_wrap_WebKitCtrl_GetPageURL(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_WebKitCtrl_GetPageTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitCtrl *arg1 = (wxWebKitCtrl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2245,7 +2410,7 @@ static PyObject * WebKitCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WebKitStateChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWebKitStateChangedEvent *result; PyObject * obj0 = 0 ; @@ -2273,7 +2438,7 @@ static PyObject *_wrap_new_WebKitStateChangedEvent(PyObject *, PyObject *args, P static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -2292,7 +2457,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2301,7 +2466,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_GetState(PyObject *, PyObject *ar static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -2314,7 +2479,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWebKitStateChangedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -2332,7 +2497,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_SetState(PyObject *, PyObject *ar static PyObject *_wrap_WebKitStateChangedEvent_GetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -2364,7 +2529,7 @@ static PyObject *_wrap_WebKitStateChangedEvent_GetURL(PyObject *, PyObject *args static PyObject *_wrap_WebKitStateChangedEvent_SetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWebKitStateChangedEvent *arg1 = (wxWebKitStateChangedEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -2863,49 +3028,372 @@ static void *_p_wxKeyEventTo_p_wxEvent(void *x) { static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); } -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_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_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_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_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_wxWebKitStateChangedEvent[] = {{"_p_wxWebKitStateChangedEvent", 0, "wxWebKitStateChangedEvent *", 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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__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__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxWebKitCtrl", _p_wxWebKitCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWebKitStateChangedEvent", _p_wxWebKitStateChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_int[] = {{"_p_int", 0, "int *|wxEventType *", 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_wxWebKitCtrl[] = {{"_p_wxWebKitCtrl", 0, "wxWebKitCtrl *", 0, 0, 0, 0},{"_p_wxWebKitCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxWindow, -_swigt__p_wxValidator, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_char, -_swigt__p_wxWebKitStateChangedEvent, -_swigt__p_wxEvtHandler, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxControl, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_int, -_swigt__p_wxWebKitCtrl, -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 *|wxEventType *", 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_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_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 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_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 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_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 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_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 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_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWebKitCtrl = {"_p_wxWebKitCtrl", "wxWebKitCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWebKitStateChangedEvent = {"_p_wxWebKitStateChangedEvent", "wxWebKitStateChangedEvent *", 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_wxBMPHandler, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxWebKitCtrl, + &_swigt__p_wxWebKitStateChangedEvent, + &_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_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_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 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_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWebKitStateChangedEvent, _p_wxWebKitStateChangedEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxWebKitCtrl, _p_wxWebKitCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_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_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 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_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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWebKitStateChangedEvent, _p_wxWebKitStateChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 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_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWebKitCtrl, _p_wxWebKitCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_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_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 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_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_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 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_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 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_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_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_wxWebKitStateChangedEvent, _p_wxWebKitStateChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWebKitCtrl, _p_wxWebKitCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWebKitCtrl[] = { {&_swigt__p_wxWebKitCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWebKitStateChangedEvent[] = { {&_swigt__p_wxWebKitStateChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWebKitCtrl, _p_wxWebKitCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__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_wxBMPHandler, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWebKitCtrl, + _swigc__p_wxWebKitStateChangedEvent, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -2917,6 +3405,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 @@ -2934,7 +3633,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; @@ -2944,13 +3643,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; @@ -2963,7 +3662,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -2976,7 +3675,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) { @@ -2989,72 +3688,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; } @@ -3063,11 +3779,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); @@ -3104,7 +3820,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, @@ -3116,7 +3832,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]); @@ -3129,14 +3845,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; + } + } } } } @@ -3146,69 +3866,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 @@ -3217,63 +3874,42 @@ 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); SWIG_addvarlink(SWIG_globals,(char*)"WebKitNameStr",_wrap_WebKitNameStr_get, _wrap_WebKitNameStr_set); { - PyDict_SetItemString(d,"WEBKIT_STATE_START", SWIG_From_int((int)(wxWEBKIT_STATE_START))); + PyDict_SetItemString(d,"WEBKIT_STATE_START", SWIG_From_int(static_cast(wxWEBKIT_STATE_START))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int((int)(wxWEBKIT_STATE_NEGOTIATING))); + PyDict_SetItemString(d,"WEBKIT_STATE_NEGOTIATING", SWIG_From_int(static_cast(wxWEBKIT_STATE_NEGOTIATING))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_REDIRECTING", SWIG_From_int((int)(wxWEBKIT_STATE_REDIRECTING))); + PyDict_SetItemString(d,"WEBKIT_STATE_REDIRECTING", SWIG_From_int(static_cast(wxWEBKIT_STATE_REDIRECTING))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int((int)(wxWEBKIT_STATE_TRANSFERRING))); + PyDict_SetItemString(d,"WEBKIT_STATE_TRANSFERRING", SWIG_From_int(static_cast(wxWEBKIT_STATE_TRANSFERRING))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_STOP", SWIG_From_int((int)(wxWEBKIT_STATE_STOP))); + PyDict_SetItemString(d,"WEBKIT_STATE_STOP", SWIG_From_int(static_cast(wxWEBKIT_STATE_STOP))); } { - PyDict_SetItemString(d,"WEBKIT_STATE_FAILED", SWIG_From_int((int)(wxWEBKIT_STATE_FAILED))); + PyDict_SetItemString(d,"WEBKIT_STATE_FAILED", SWIG_From_int(static_cast(wxWEBKIT_STATE_FAILED))); } PyDict_SetItemString(d, "wxEVT_WEBKIT_STATE_CHANGED", PyInt_FromLong(wxEVT_WEBKIT_STATE_CHANGED)); diff --git a/wxPython/src/mac/wizard.py b/wxPython/src/mac/wizard.py index 376181ba55..3363179f5a 100644 --- a/wxPython/src/mac/wizard.py +++ b/wxPython/src/mac/wizard.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -368,3 +368,4 @@ def PreWizard(*args, **kwargs): return val + diff --git a/wxPython/src/mac/wizard_wrap.cpp b/wxPython/src/mac/wizard_wrap.cpp index 83a32c545c..601632ba30 100644 --- a/wxPython/src/mac/wizard_wrap.cpp +++ b/wxPython/src/mac/wizard_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,36 +1431,167 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxObject swig_types[0] -#define SWIGTYPE_p_wxDialog swig_types[1] -#define SWIGTYPE_p_unsigned_char swig_types[2] -#define SWIGTYPE_p_wxWizardPageSimple swig_types[3] -#define SWIGTYPE_p_wxWizardPage swig_types[4] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_wxPyWizardPage swig_types[7] -#define SWIGTYPE_p_wxCommandEvent swig_types[8] -#define SWIGTYPE_p_unsigned_long swig_types[9] -#define SWIGTYPE_p_wxWizardEvent swig_types[10] -#define SWIGTYPE_p_wxBitmap swig_types[11] -#define SWIGTYPE_unsigned_int swig_types[12] -#define SWIGTYPE_p_unsigned_int swig_types[13] -#define SWIGTYPE_p_form_ops_t swig_types[14] -#define SWIGTYPE_p_wxDuplexMode swig_types[15] -#define SWIGTYPE_p_wxWizard swig_types[16] -#define SWIGTYPE_p_char swig_types[17] -#define SWIGTYPE_p_wxEvtHandler swig_types[18] -#define SWIGTYPE_p_wxString swig_types[19] -#define SWIGTYPE_std__ptrdiff_t swig_types[20] -#define SWIGTYPE_ptrdiff_t swig_types[21] -#define SWIGTYPE_p_wxNotifyEvent swig_types[22] -#define SWIGTYPE_p_wxPanel swig_types[23] -#define SWIGTYPE_p_wxEvent swig_types[24] -#define SWIGTYPE_p_wxPaperSize swig_types[25] -#define SWIGTYPE_p_wxSize swig_types[26] -#define SWIGTYPE_p_wxChar swig_types[27] -#define SWIGTYPE_p_int swig_types[28] -static swig_type_info *swig_types[30]; +#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_wxBMPHandler swig_types[9] +#define SWIGTYPE_p_wxBitmap swig_types[10] +#define SWIGTYPE_p_wxBoxSizer swig_types[11] +#define SWIGTYPE_p_wxCURHandler swig_types[12] +#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[13] +#define SWIGTYPE_p_wxChar swig_types[14] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[15] +#define SWIGTYPE_p_wxCloseEvent swig_types[16] +#define SWIGTYPE_p_wxColourData swig_types[17] +#define SWIGTYPE_p_wxColourDialog swig_types[18] +#define SWIGTYPE_p_wxCommandEvent swig_types[19] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[20] +#define SWIGTYPE_p_wxControl swig_types[21] +#define SWIGTYPE_p_wxControlWithItems swig_types[22] +#define SWIGTYPE_p_wxDateEvent swig_types[23] +#define SWIGTYPE_p_wxDialog swig_types[24] +#define SWIGTYPE_p_wxDirDialog swig_types[25] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[26] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[27] +#define SWIGTYPE_p_wxDuplexMode swig_types[28] +#define SWIGTYPE_p_wxEraseEvent swig_types[29] +#define SWIGTYPE_p_wxEvent swig_types[30] +#define SWIGTYPE_p_wxEvtHandler swig_types[31] +#define SWIGTYPE_p_wxFSFile swig_types[32] +#define SWIGTYPE_p_wxFileDialog swig_types[33] +#define SWIGTYPE_p_wxFileSystem swig_types[34] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[35] +#define SWIGTYPE_p_wxFindReplaceData swig_types[36] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[37] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[38] +#define SWIGTYPE_p_wxFocusEvent swig_types[39] +#define SWIGTYPE_p_wxFontData swig_types[40] +#define SWIGTYPE_p_wxFontDialog swig_types[41] +#define SWIGTYPE_p_wxFrame swig_types[42] +#define SWIGTYPE_p_wxGBSizerItem swig_types[43] +#define SWIGTYPE_p_wxGIFHandler swig_types[44] +#define SWIGTYPE_p_wxGridBagSizer swig_types[45] +#define SWIGTYPE_p_wxGridSizer swig_types[46] +#define SWIGTYPE_p_wxICOHandler swig_types[47] +#define SWIGTYPE_p_wxIconizeEvent swig_types[48] +#define SWIGTYPE_p_wxIdleEvent swig_types[49] +#define SWIGTYPE_p_wxImage swig_types[50] +#define SWIGTYPE_p_wxImageHandler swig_types[51] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[52] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[53] +#define SWIGTYPE_p_wxJPEGHandler swig_types[54] +#define SWIGTYPE_p_wxKeyEvent swig_types[55] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[56] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[57] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[58] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[59] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[60] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[61] +#define SWIGTYPE_p_wxMenu swig_types[62] +#define SWIGTYPE_p_wxMenuBar swig_types[63] +#define SWIGTYPE_p_wxMenuEvent swig_types[64] +#define SWIGTYPE_p_wxMenuItem swig_types[65] +#define SWIGTYPE_p_wxMessageDialog swig_types[66] +#define SWIGTYPE_p_wxMiniFrame swig_types[67] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[68] +#define SWIGTYPE_p_wxMouseEvent swig_types[69] +#define SWIGTYPE_p_wxMoveEvent swig_types[70] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[71] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[72] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[73] +#define SWIGTYPE_p_wxNotifyEvent swig_types[74] +#define SWIGTYPE_p_wxObject swig_types[75] +#define SWIGTYPE_p_wxPCXHandler swig_types[76] +#define SWIGTYPE_p_wxPNGHandler swig_types[77] +#define SWIGTYPE_p_wxPNMHandler swig_types[78] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[79] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[80] +#define SWIGTYPE_p_wxPaintEvent swig_types[81] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[82] +#define SWIGTYPE_p_wxPanel swig_types[83] +#define SWIGTYPE_p_wxPaperSize swig_types[84] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[85] +#define SWIGTYPE_p_wxPopupWindow swig_types[86] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[87] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[88] +#define SWIGTYPE_p_wxPreviewFrame swig_types[89] +#define SWIGTYPE_p_wxPrintData swig_types[90] +#define SWIGTYPE_p_wxPrintDialog swig_types[91] +#define SWIGTYPE_p_wxPrintDialogData swig_types[92] +#define SWIGTYPE_p_wxPrintPreview swig_types[93] +#define SWIGTYPE_p_wxPrinter swig_types[94] +#define SWIGTYPE_p_wxProgressDialog swig_types[95] +#define SWIGTYPE_p_wxPyApp swig_types[96] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[97] +#define SWIGTYPE_p_wxPyEvent swig_types[98] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[99] +#define SWIGTYPE_p_wxPyImageHandler swig_types[100] +#define SWIGTYPE_p_wxPyPanel swig_types[101] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[102] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[103] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[104] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[105] +#define SWIGTYPE_p_wxPyPrintout swig_types[106] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[107] +#define SWIGTYPE_p_wxPySizer swig_types[108] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[109] +#define SWIGTYPE_p_wxPyVListBox swig_types[110] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[111] +#define SWIGTYPE_p_wxPyValidator swig_types[112] +#define SWIGTYPE_p_wxPyWindow swig_types[113] +#define SWIGTYPE_p_wxPyWizardPage swig_types[114] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[115] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[116] +#define SWIGTYPE_p_wxSashEvent swig_types[117] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[118] +#define SWIGTYPE_p_wxSashWindow swig_types[119] +#define SWIGTYPE_p_wxScrollEvent swig_types[120] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[121] +#define SWIGTYPE_p_wxScrolledWindow swig_types[122] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[123] +#define SWIGTYPE_p_wxShowEvent swig_types[124] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[125] +#define SWIGTYPE_p_wxSize swig_types[126] +#define SWIGTYPE_p_wxSizeEvent swig_types[127] +#define SWIGTYPE_p_wxSizer swig_types[128] +#define SWIGTYPE_p_wxSizerItem swig_types[129] +#define SWIGTYPE_p_wxSplashScreen swig_types[130] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[131] +#define SWIGTYPE_p_wxSplitterEvent swig_types[132] +#define SWIGTYPE_p_wxSplitterWindow swig_types[133] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[134] +#define SWIGTYPE_p_wxStatusBar swig_types[135] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136] +#define SWIGTYPE_p_wxString swig_types[137] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[138] +#define SWIGTYPE_p_wxTIFFHandler swig_types[139] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[140] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[141] +#define SWIGTYPE_p_wxTipWindow swig_types[142] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[143] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[144] +#define SWIGTYPE_p_wxValidator swig_types[145] +#define SWIGTYPE_p_wxWindow swig_types[146] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[147] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[148] +#define SWIGTYPE_p_wxWizard swig_types[149] +#define SWIGTYPE_p_wxWizardEvent swig_types[150] +#define SWIGTYPE_p_wxWizardPage swig_types[151] +#define SWIGTYPE_p_wxWizardPageSimple swig_types[152] +#define SWIGTYPE_p_wxXPMHandler swig_types[153] +#define SWIGTYPE_ptrdiff_t swig_types[154] +#define SWIGTYPE_std__ptrdiff_t swig_types[155] +#define SWIGTYPE_unsigned_int swig_types[156] +static swig_type_info *swig_types[158]; +static swig_module_info swig_module = {swig_types, 157, 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) -------- */ @@ -1389,7 +1612,7 @@ static swig_type_info *swig_types[30]; static const wxString wxPyEmptyString(wxEmptyString); - /*@/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 /*@@*/ @@ -1442,7 +1665,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; @@ -1456,7 +1679,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1464,7 +1687,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1503,7 +1726,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1517,14 +1740,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -1538,7 +1761,7 @@ static bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap con } // C++ Version of a Python aware class class wxPyWizardPage : public wxWizardPage { - DECLARE_ABSTRACT_CLASS(wxPyWizardPage); + DECLARE_ABSTRACT_CLASS(wxPyWizardPage) public: wxPyWizardPage() : wxWizardPage() {} wxPyWizardPage(wxWizard *parent, @@ -1650,7 +1873,7 @@ static bool wxPyWizardPage_Create(wxPyWizardPage *self,wxWizard *parent,wxBitmap -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1664,7 +1887,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1674,7 +1897,7 @@ SWIG_Check_long(PyObject* obj) extern "C" { #endif static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) -1 ; bool arg3 = (bool) true ; @@ -1691,19 +1914,19 @@ static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_WizardEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -1726,7 +1949,7 @@ static PyObject *_wrap_new_WizardEvent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardEvent *arg1 = (wxWizardEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -1754,7 +1977,7 @@ static PyObject *_wrap_WizardEvent_GetDirection(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WizardEvent_GetPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardEvent *arg1 = (wxWizardEvent *) 0 ; wxWizardPage *result; PyObject * obj0 = 0 ; @@ -1789,7 +2012,7 @@ static PyObject * WizardEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPage *arg1 = (wxWizardPage *) 0 ; wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -1853,7 +2076,7 @@ static PyObject *_wrap_WizardPage_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_WizardPage_GetPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPage *arg1 = (wxWizardPage *) 0 ; wxWizardPage *result; PyObject * obj0 = 0 ; @@ -1881,7 +2104,7 @@ static PyObject *_wrap_WizardPage_GetPrev(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_WizardPage_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPage *arg1 = (wxWizardPage *) 0 ; wxWizardPage *result; PyObject * obj0 = 0 ; @@ -1909,7 +2132,7 @@ static PyObject *_wrap_WizardPage_GetNext(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_WizardPage_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPage *arg1 = (wxWizardPage *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -1929,7 +2152,7 @@ static PyObject *_wrap_WizardPage_GetBitmap(PyObject *, PyObject *args, PyObject } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -1946,7 +2169,7 @@ static PyObject * WizardPage_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ; wxString *arg3 = (wxString *) &wxPyEmptyString ; @@ -1997,7 +2220,7 @@ static PyObject *_wrap_new_PyWizardPage(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_PrePyWizardPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *result; char *kwnames[] = { NULL @@ -2020,7 +2243,7 @@ static PyObject *_wrap_new_PrePyWizardPage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxWizard *arg2 = (wxWizard *) 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -2084,7 +2307,7 @@ static PyObject *_wrap_PyWizardPage_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -2115,7 +2338,7 @@ static PyObject *_wrap_PyWizardPage__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int arg2 ; int arg3 ; @@ -2134,19 +2357,19 @@ static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2164,7 +2387,7 @@ static PyObject *_wrap_PyWizardPage_base_DoMoveWindow(PyObject *, PyObject *args static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int arg2 ; int arg3 ; @@ -2185,24 +2408,24 @@ static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -2221,7 +2444,7 @@ static PyObject *_wrap_PyWizardPage_base_DoSetSize(PyObject *, PyObject *args, P static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int arg2 ; int arg3 ; @@ -2236,11 +2459,11 @@ static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2258,7 +2481,7 @@ static PyObject *_wrap_PyWizardPage_base_DoSetClientSize(PyObject *, PyObject *a static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int arg2 ; int arg3 ; @@ -2273,11 +2496,11 @@ static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWizardPage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -2295,7 +2518,7 @@ static PyObject *_wrap_PyWizardPage_base_DoSetVirtualSize(PyObject *, PyObject * static PyObject *_wrap_PyWizardPage_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -2332,7 +2555,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetSize(PyObject *, PyObject *args, P static PyObject *_wrap_PyWizardPage_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -2369,7 +2592,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetClientSize(PyObject *, PyObject *a static PyObject *_wrap_PyWizardPage_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -2406,7 +2629,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetPosition(PyObject *, PyObject *arg static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -2426,7 +2649,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(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; @@ -2436,7 +2659,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetVirtualSize(PyObject *, PyObject * static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -2456,7 +2679,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *arg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -2466,7 +2689,7 @@ static PyObject *_wrap_PyWizardPage_base_DoGetBestSize(PyObject *, PyObject *arg static PyObject *_wrap_PyWizardPage_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2491,7 +2714,7 @@ static PyObject *_wrap_PyWizardPage_base_InitDialog(PyObject *, PyObject *args, static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2519,7 +2742,7 @@ static PyObject *_wrap_PyWizardPage_base_TransferDataToWindow(PyObject *, PyObje static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2547,7 +2770,7 @@ static PyObject *_wrap_PyWizardPage_base_TransferDataFromWindow(PyObject *, PyOb static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2575,7 +2798,7 @@ static PyObject *_wrap_PyWizardPage_base_Validate(PyObject *, PyObject *args, Py static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2603,7 +2826,7 @@ static PyObject *_wrap_PyWizardPage_base_AcceptsFocus(PyObject *, PyObject *args static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -2631,7 +2854,7 @@ static PyObject *_wrap_PyWizardPage_base_AcceptsFocusFromKeyboard(PyObject *, Py static PyObject *_wrap_PyWizardPage_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -2651,7 +2874,7 @@ static PyObject *_wrap_PyWizardPage_base_GetMaxSize(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; @@ -2661,7 +2884,7 @@ static PyObject *_wrap_PyWizardPage_base_GetMaxSize(PyObject *, PyObject *args, static PyObject *_wrap_PyWizardPage_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -2690,7 +2913,7 @@ static PyObject *_wrap_PyWizardPage_base_AddChild(PyObject *, PyObject *args, Py static PyObject *_wrap_PyWizardPage_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWizardPage *arg1 = (wxPyWizardPage *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -2726,7 +2949,7 @@ static PyObject * PyWizardPage_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) NULL ; wxWizardPage *arg3 = (wxWizardPage *) NULL ; @@ -2784,7 +3007,7 @@ static PyObject *_wrap_new_WizardPageSimple(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_PreWizardPageSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *result; char *kwnames[] = { NULL @@ -2807,7 +3030,7 @@ static PyObject *_wrap_new_PreWizardPageSimple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ; wxWizard *arg2 = (wxWizard *) NULL ; wxWizardPage *arg3 = (wxWizardPage *) NULL ; @@ -2872,7 +3095,7 @@ static PyObject *_wrap_WizardPageSimple_Create(PyObject *, PyObject *args, PyObj static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; PyObject * obj0 = 0 ; @@ -2901,7 +3124,7 @@ static PyObject *_wrap_WizardPageSimple_SetPrev(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; PyObject * obj0 = 0 ; @@ -2930,7 +3153,7 @@ static PyObject *_wrap_WizardPageSimple_SetNext(PyObject *, PyObject *args, PyOb static PyObject *_wrap_WizardPageSimple_Chain(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizardPageSimple *arg1 = (wxWizardPageSimple *) 0 ; wxWizardPageSimple *arg2 = (wxWizardPageSimple *) 0 ; PyObject * obj0 = 0 ; @@ -2966,7 +3189,7 @@ static PyObject * WizardPageSimple_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -2994,7 +3217,7 @@ static PyObject *_wrap_new_Wizard(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; } } @@ -3023,7 +3246,7 @@ static PyObject *_wrap_new_Wizard(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; } } @@ -3051,7 +3274,7 @@ static PyObject *_wrap_new_Wizard(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreWizard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *result; char *kwnames[] = { NULL @@ -3074,7 +3297,7 @@ static PyObject *_wrap_new_PreWizard(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -3104,7 +3327,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -3156,7 +3379,7 @@ static PyObject *_wrap_Wizard_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Wizard_Init(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3181,7 +3404,7 @@ static PyObject *_wrap_Wizard_Init(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; bool result; @@ -3213,7 +3436,7 @@ static PyObject *_wrap_Wizard_RunWizard(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *result; PyObject * obj0 = 0 ; @@ -3241,7 +3464,7 @@ static PyObject *_wrap_Wizard_GetCurrentPage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Wizard_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3273,7 +3496,7 @@ static PyObject *_wrap_Wizard_SetPageSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -3293,7 +3516,7 @@ static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject * } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3303,7 +3526,7 @@ static PyObject *_wrap_Wizard_GetPageSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Wizard_FitToPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; PyObject * obj0 = 0 ; @@ -3332,7 +3555,7 @@ static PyObject *_wrap_Wizard_FitToPage(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -3360,7 +3583,7 @@ static PyObject *_wrap_Wizard_GetPageAreaSizer(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3373,7 +3596,7 @@ static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWizard, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3391,7 +3614,7 @@ static PyObject *_wrap_Wizard_SetBorder(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3419,7 +3642,7 @@ static PyObject *_wrap_Wizard_IsRunning(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; bool arg3 = (bool) true ; @@ -3438,7 +3661,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -3459,7 +3682,7 @@ static PyObject *_wrap_Wizard_ShowPage(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; bool result; @@ -3491,7 +3714,7 @@ static PyObject *_wrap_Wizard_HasNextPage(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Wizard_HasPrevPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWizard *arg1 = (wxWizard *) 0 ; wxWizardPage *arg2 = (wxWizardPage *) 0 ; bool result; @@ -4626,67 +4849,640 @@ static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); } -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_wxWizardPage", _p_wxWizardPageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_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_wxWizardPageSimple", _p_wxWizardPageSimpleTo_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_wxWizard", _p_wxWizardTo_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_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_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_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_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_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_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_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxWizardEvent", _p_wxWizardEventTo_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_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},{"_p_wxWizard", _p_wxWizardTo_p_wxDialog, 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_wxWizardPageSimple[] = {{"_p_wxWizardPageSimple", 0, "wxWizardPageSimple *", 0, 0, 0, 0},{"_p_wxWizardPageSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWizardPage[] = {{"_p_wxWizardPage", 0, "wxWizardPage *", 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWizardPage, 0, 0, 0, 0, 0},{"_p_wxWizardPage", 0, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWizardPage, 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_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxWizard", _p_wxWizardTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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_wxWizardPage", _p_wxWizardPageTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxWindow, 0, 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_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_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_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_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_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_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_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 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_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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_wxWizard", _p_wxWizardTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_wxPyWizardPage[] = {{"_p_wxPyWizardPage", 0, "wxPyWizardPage *", 0, 0, 0, 0},{"_p_wxPyWizardPage", 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_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_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_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 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_wxWizardEvent[] = {{"_p_wxWizardEvent", 0, "wxWizardEvent *", 0, 0, 0, 0},{"_p_wxWizardEvent", 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_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_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_wxWizard[] = {{"_p_wxWizard", 0, "wxWizard *", 0, 0, 0, 0},{"_p_wxWizard", 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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxEvtHandler, 0, 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_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxMessageDialog", _p_wxMessageDialogTo_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_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_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_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_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_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_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_wxWizard", _p_wxWizardTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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_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__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__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__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},{"_p_wxWizardEvent", _p_wxWizardEventTo_p_wxNotifyEvent, 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_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxWizardPageSimple", _p_wxWizardPageSimpleTo_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},{"_p_wxWizardPage", _p_wxWizardPageTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyWizardPage", _p_wxPyWizardPageTo_p_wxPanel, 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_wxWizardEvent", _p_wxWizardEventTo_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_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_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_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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 *swig_types_initial[] = { -_swigt__p_wxObject, -_swigt__p_wxDialog, -_swigt__p_unsigned_char, -_swigt__p_wxWizardPageSimple, -_swigt__p_wxWizardPage, -_swigt__p_wxTopLevelWindow, -_swigt__p_wxWindow, -_swigt__p_wxPyWizardPage, -_swigt__p_wxCommandEvent, -_swigt__p_unsigned_long, -_swigt__p_wxWizardEvent, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_form_ops_t, -_swigt__p_wxDuplexMode, -_swigt__p_wxWizard, -_swigt__p_char, -_swigt__p_wxEvtHandler, -_swigt__p_wxString, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxNotifyEvent, -_swigt__p_wxPanel, -_swigt__p_wxEvent, -_swigt__p_wxPaperSize, -_swigt__p_wxSize, -_swigt__p_wxChar, -_swigt__p_int, -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_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 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_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 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_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 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_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 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_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 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_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 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_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 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_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 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_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 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_wxPyWizardPage = {"_p_wxPyWizardPage", "wxPyWizardPage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWizard = {"_p_wxWizard", "wxWizard *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWizardEvent = {"_p_wxWizardEvent", "wxWizardEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWizardPage = {"_p_wxWizardPage", "wxWizardPage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWizardPageSimple = {"_p_wxWizardPageSimple", "wxWizardPageSimple *", 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_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCalculateLayoutEvent, + &_swigt__p_wxChar, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColourData, + &_swigt__p_wxColourDialog, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_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_wxFontData, + &_swigt__p_wxFontDialog, + &_swigt__p_wxFrame, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_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_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_wxPyWizardPage, + &_swigt__p_wxQueryLayoutInfoEvent, + &_swigt__p_wxQueryNewPaletteEvent, + &_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_wxTaskBarIconEvent, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTipWindow, + &_swigt__p_wxTopLevelWindow, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxWizard, + &_swigt__p_wxWizardEvent, + &_swigt__p_wxWizardPage, + &_swigt__p_wxWizardPageSimple, + &_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_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 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_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 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_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 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_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 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_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 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_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 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_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 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_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 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_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}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxDialog, 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_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 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_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 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_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 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_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_wxWizardEvent, _p_wxWizardEventTo_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_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 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_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 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_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 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_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 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_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 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_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 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_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 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_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 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_wxControl[] = {{&_swigt__p_wxControl, 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_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_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 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_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 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_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 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_wxFrame[] = {{&_swigt__p_wxFrame, 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_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxEvtHandler, 0, 0}, {&_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_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxWizard, _p_wxWizardTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0}, {&_swigt__p_wxWizardEvent, _p_wxWizardEventTo_p_wxNotifyEvent, 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_wxFontData[] = {{&_swigt__p_wxFontData, 0, 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_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_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 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_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 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_wxColourData[] = {{&_swigt__p_wxColourData, 0, 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_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 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_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 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_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 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_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 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_wxWizardPage, _p_wxWizardPageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_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_wxWizardPageSimple, _p_wxWizardPageSimpleTo_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_wxWizard, _p_wxWizardTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_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_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_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_wxWizardEvent, _p_wxWizardEventTo_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_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_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}, {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_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_wxPyWizardPage[] = { {&_swigt__p_wxPyWizardPage, 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_wxString[] = { {&_swigt__p_wxString, 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_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxWizard, _p_wxWizardTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxWizardPage, _p_wxWizardPageTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWindow, 0, 0}, {&_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_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_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_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_wxWizard, _p_wxWizardTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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__p_wxWizard[] = { {&_swigt__p_wxWizard, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWizardEvent[] = { {&_swigt__p_wxWizardEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWizardPage[] = { {&_swigt__p_wxWizardPageSimple, _p_wxWizardPageSimpleTo_p_wxWizardPage, 0, 0}, {&_swigt__p_wxWizardPage, 0, 0, 0}, {&_swigt__p_wxPyWizardPage, _p_wxPyWizardPageTo_p_wxWizardPage, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWizardPageSimple[] = { {&_swigt__p_wxWizardPageSimple, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxCalculateLayoutEvent, + _swigc__p_wxChar, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColourData, + _swigc__p_wxColourDialog, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _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_wxFontData, + _swigc__p_wxFontDialog, + _swigc__p_wxFrame, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_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_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_wxPyWizardPage, + _swigc__p_wxQueryLayoutInfoEvent, + _swigc__p_wxQueryNewPaletteEvent, + _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_wxTaskBarIconEvent, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTipWindow, + _swigc__p_wxTopLevelWindow, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxWizard, + _swigc__p_wxWizardEvent, + _swigc__p_wxWizardPage, + _swigc__p_wxWizardPageSimple, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -4698,6 +5494,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 @@ -4715,7 +5722,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; @@ -4725,13 +5732,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; @@ -4744,7 +5751,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -4757,7 +5764,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) { @@ -4770,72 +5777,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; } @@ -4844,11 +5868,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); @@ -4885,7 +5909,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, @@ -4897,7 +5921,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]); @@ -4910,14 +5934,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; + } + } } } } @@ -4927,69 +5955,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 @@ -4998,46 +5963,25 @@ 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,"WIZARD_EX_HELPBUTTON", SWIG_From_int((int)(wxWIZARD_EX_HELPBUTTON))); + PyDict_SetItemString(d,"WIZARD_EX_HELPBUTTON", SWIG_From_int(static_cast(wxWIZARD_EX_HELPBUTTON))); } PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGED", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGED)); PyDict_SetItemString(d, "wxEVT_WIZARD_PAGE_CHANGING", PyInt_FromLong(wxEVT_WIZARD_PAGE_CHANGING)); diff --git a/wxPython/src/mac/xrc.py b/wxPython/src/mac/xrc.py index 1e7fb47292..e61362dd49 100644 --- a/wxPython/src/mac/xrc.py +++ b/wxPython/src/mac/xrc.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. """ @@ -738,3 +738,4 @@ XmlResource_AddSubclassFactory(XmlSubclassFactory_Python()) #---------------------------------------------------------------------------- + diff --git a/wxPython/src/mac/xrc_wrap.cpp b/wxPython/src/mac/xrc_wrap.cpp index e7c5c677e8..b4d721646d 100644 --- a/wxPython/src/mac/xrc_wrap.cpp +++ b/wxPython/src/mac/xrc_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,39 +1431,116 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxFrame swig_types[0] -#define SWIGTYPE_p_wxIcon swig_types[1] -#define SWIGTYPE_p_wxObject swig_types[2] -#define SWIGTYPE_p_unsigned_char swig_types[3] -#define SWIGTYPE_p_wxDialog swig_types[4] -#define SWIGTYPE_p_wxColour swig_types[5] -#define SWIGTYPE_p_wxWindow swig_types[6] -#define SWIGTYPE_p_wxArtClient swig_types[7] -#define SWIGTYPE_p_unsigned_long swig_types[8] -#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[9] -#define SWIGTYPE_p_wxBitmap swig_types[10] -#define SWIGTYPE_p_form_ops_t swig_types[11] -#define SWIGTYPE_p_unsigned_int swig_types[12] -#define SWIGTYPE_unsigned_int swig_types[13] -#define SWIGTYPE_p_wxDuplexMode swig_types[14] -#define SWIGTYPE_p_char swig_types[15] -#define SWIGTYPE_p_wxPoint swig_types[16] -#define SWIGTYPE_p_wxXmlNode swig_types[17] -#define SWIGTYPE_p_wxInputStream swig_types[18] -#define SWIGTYPE_p_wxOutputStream swig_types[19] -#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[20] -#define SWIGTYPE_p_wxFileSystem swig_types[21] -#define SWIGTYPE_std__ptrdiff_t swig_types[22] -#define SWIGTYPE_ptrdiff_t swig_types[23] -#define SWIGTYPE_p_wxXmlProperty swig_types[24] -#define SWIGTYPE_p_wxFont swig_types[25] -#define SWIGTYPE_p_wxXmlResource swig_types[26] -#define SWIGTYPE_p_wxPanel swig_types[27] -#define SWIGTYPE_p_wxXmlDocument swig_types[28] -#define SWIGTYPE_p_wxPaperSize swig_types[29] -#define SWIGTYPE_p_wxSize swig_types[30] -#define SWIGTYPE_p_int swig_types[31] -static swig_type_info *swig_types[33]; +#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_wxArtClient 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_wxChildFocusEvent swig_types[14] +#define SWIGTYPE_p_wxCloseEvent swig_types[15] +#define SWIGTYPE_p_wxColour swig_types[16] +#define SWIGTYPE_p_wxCommandEvent swig_types[17] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[18] +#define SWIGTYPE_p_wxControl swig_types[19] +#define SWIGTYPE_p_wxControlWithItems swig_types[20] +#define SWIGTYPE_p_wxDateEvent swig_types[21] +#define SWIGTYPE_p_wxDialog swig_types[22] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[24] +#define SWIGTYPE_p_wxDuplexMode swig_types[25] +#define SWIGTYPE_p_wxEraseEvent swig_types[26] +#define SWIGTYPE_p_wxEvent swig_types[27] +#define SWIGTYPE_p_wxEvtHandler swig_types[28] +#define SWIGTYPE_p_wxFSFile swig_types[29] +#define SWIGTYPE_p_wxFileSystem swig_types[30] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[31] +#define SWIGTYPE_p_wxFocusEvent swig_types[32] +#define SWIGTYPE_p_wxFont swig_types[33] +#define SWIGTYPE_p_wxFrame swig_types[34] +#define SWIGTYPE_p_wxGBSizerItem swig_types[35] +#define SWIGTYPE_p_wxGIFHandler swig_types[36] +#define SWIGTYPE_p_wxGridBagSizer swig_types[37] +#define SWIGTYPE_p_wxGridSizer swig_types[38] +#define SWIGTYPE_p_wxICOHandler swig_types[39] +#define SWIGTYPE_p_wxIcon swig_types[40] +#define SWIGTYPE_p_wxIconizeEvent swig_types[41] +#define SWIGTYPE_p_wxIdleEvent swig_types[42] +#define SWIGTYPE_p_wxImage swig_types[43] +#define SWIGTYPE_p_wxImageHandler swig_types[44] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[45] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[46] +#define SWIGTYPE_p_wxInputStream swig_types[47] +#define SWIGTYPE_p_wxJPEGHandler swig_types[48] +#define SWIGTYPE_p_wxKeyEvent swig_types[49] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[50] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[51] +#define SWIGTYPE_p_wxMenu swig_types[52] +#define SWIGTYPE_p_wxMenuBar swig_types[53] +#define SWIGTYPE_p_wxMenuEvent swig_types[54] +#define SWIGTYPE_p_wxMenuItem swig_types[55] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[56] +#define SWIGTYPE_p_wxMouseEvent swig_types[57] +#define SWIGTYPE_p_wxMoveEvent swig_types[58] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[59] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[60] +#define SWIGTYPE_p_wxNotifyEvent swig_types[61] +#define SWIGTYPE_p_wxObject swig_types[62] +#define SWIGTYPE_p_wxOutputStream swig_types[63] +#define SWIGTYPE_p_wxPCXHandler swig_types[64] +#define SWIGTYPE_p_wxPNGHandler swig_types[65] +#define SWIGTYPE_p_wxPNMHandler swig_types[66] +#define SWIGTYPE_p_wxPaintEvent swig_types[67] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[68] +#define SWIGTYPE_p_wxPanel swig_types[69] +#define SWIGTYPE_p_wxPaperSize swig_types[70] +#define SWIGTYPE_p_wxPoint swig_types[71] +#define SWIGTYPE_p_wxPyApp swig_types[72] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[73] +#define SWIGTYPE_p_wxPyEvent swig_types[74] +#define SWIGTYPE_p_wxPyImageHandler swig_types[75] +#define SWIGTYPE_p_wxPySizer swig_types[76] +#define SWIGTYPE_p_wxPyValidator swig_types[77] +#define SWIGTYPE_p_wxPyXmlResourceHandler swig_types[78] +#define SWIGTYPE_p_wxPyXmlSubclassFactory swig_types[79] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[80] +#define SWIGTYPE_p_wxScrollEvent swig_types[81] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[82] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[83] +#define SWIGTYPE_p_wxShowEvent swig_types[84] +#define SWIGTYPE_p_wxSize swig_types[85] +#define SWIGTYPE_p_wxSizeEvent swig_types[86] +#define SWIGTYPE_p_wxSizer swig_types[87] +#define SWIGTYPE_p_wxSizerItem swig_types[88] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[89] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[90] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[91] +#define SWIGTYPE_p_wxTIFFHandler swig_types[92] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[93] +#define SWIGTYPE_p_wxValidator swig_types[94] +#define SWIGTYPE_p_wxWindow swig_types[95] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[96] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[97] +#define SWIGTYPE_p_wxXPMHandler swig_types[98] +#define SWIGTYPE_p_wxXmlDocument swig_types[99] +#define SWIGTYPE_p_wxXmlNode swig_types[100] +#define SWIGTYPE_p_wxXmlProperty swig_types[101] +#define SWIGTYPE_p_wxXmlResource swig_types[102] +#define SWIGTYPE_ptrdiff_t swig_types[103] +#define SWIGTYPE_std__ptrdiff_t swig_types[104] +#define SWIGTYPE_unsigned_int swig_types[105] +static swig_type_info *swig_types[107]; +static swig_module_info swig_module = {swig_types, 106, 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) -------- */ @@ -1399,7 +1568,7 @@ static swig_type_info *swig_types[33]; static const wxString wxPyIconString(wxT("icon")); static const wxString wxPyFontString(wxT("font")); - /*@/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 /*@@*/ @@ -1452,7 +1621,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; @@ -1466,7 +1635,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1474,7 +1643,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1488,7 +1657,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1520,7 +1689,7 @@ static bool wxXmlResource_LoadFromString(wxXmlResource *self,wxString const &dat return retval; } - /*@/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 /*@@*/ @@ -1675,7 +1844,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1689,14 +1858,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1710,7 +1879,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1726,7 +1895,7 @@ static int _wrap_UTF8String_set(PyObject *) { static PyObject *_wrap_UTF8String_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1746,7 +1915,7 @@ static int _wrap_StyleString_set(PyObject *) { static PyObject *_wrap_StyleString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1766,7 +1935,7 @@ static int _wrap_SizeString_set(PyObject *) { static PyObject *_wrap_SizeString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1786,7 +1955,7 @@ static int _wrap_PosString_set(PyObject *) { static PyObject *_wrap_PosString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1806,7 +1975,7 @@ static int _wrap_BitmapString_set(PyObject *) { static PyObject *_wrap_BitmapString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1826,7 +1995,7 @@ static int _wrap_IconString_set(PyObject *) { static PyObject *_wrap_IconString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1846,7 +2015,7 @@ static int _wrap_FontString_set(PyObject *) { static PyObject *_wrap_FontString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -1860,7 +2029,7 @@ static PyObject *_wrap_FontString_get(void) { static PyObject *_wrap_new_XmlResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 = (int) wxXRC_USE_LOCALE ; wxXmlResource *result; @@ -1879,7 +2048,7 @@ static PyObject *_wrap_new_XmlResource(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -1906,7 +2075,7 @@ static PyObject *_wrap_new_XmlResource(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_EmptyXmlResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxXRC_USE_LOCALE ; wxXmlResource *result; PyObject * obj0 = 0 ; @@ -1917,7 +2086,7 @@ static PyObject *_wrap_new_EmptyXmlResource(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_EmptyXmlResource",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; } } @@ -1936,7 +2105,7 @@ static PyObject *_wrap_new_EmptyXmlResource(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_XmlResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -1961,7 +2130,7 @@ static PyObject *_wrap_delete_XmlResource(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlResource_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2005,7 +2174,7 @@ static PyObject *_wrap_XmlResource_Load(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlResource_LoadFromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2049,7 +2218,7 @@ static PyObject *_wrap_XmlResource_LoadFromString(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResource_Unload(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; bool result; @@ -2093,7 +2262,7 @@ static PyObject *_wrap_XmlResource_Unload(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlResource_InitAllHandlers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2118,7 +2287,7 @@ static PyObject *_wrap_XmlResource_InitAllHandlers(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResource_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxPyXmlResourceHandler *arg2 = (wxPyXmlResourceHandler *) 0 ; PyObject * obj0 = 0 ; @@ -2147,7 +2316,7 @@ static PyObject *_wrap_XmlResource_AddHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxPyXmlResourceHandler *arg2 = (wxPyXmlResourceHandler *) 0 ; PyObject * obj0 = 0 ; @@ -2176,7 +2345,7 @@ static PyObject *_wrap_XmlResource_InsertHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_XmlResource_ClearHandlers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2201,7 +2370,7 @@ static PyObject *_wrap_XmlResource_ClearHandlers(PyObject *, PyObject *args, PyO static PyObject *_wrap_XmlResource_AddSubclassFactory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlSubclassFactory *arg1 = (wxPyXmlSubclassFactory *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2226,7 +2395,7 @@ static PyObject *_wrap_XmlResource_AddSubclassFactory(PyObject *, PyObject *args static PyObject *_wrap_XmlResource_LoadMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxMenu *result; @@ -2270,7 +2439,7 @@ static PyObject *_wrap_XmlResource_LoadMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlResource_LoadMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxMenuBar *result; @@ -2314,7 +2483,7 @@ static PyObject *_wrap_XmlResource_LoadMenuBar(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlResource_LoadMenuBarOnFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2362,7 +2531,7 @@ static PyObject *_wrap_XmlResource_LoadMenuBarOnFrame(PyObject *, PyObject *args static PyObject *_wrap_XmlResource_LoadToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2410,7 +2579,7 @@ static PyObject *_wrap_XmlResource_LoadToolBar(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlResource_LoadDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2458,7 +2627,7 @@ static PyObject *_wrap_XmlResource_LoadDialog(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_LoadOnDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxDialog *arg2 = (wxDialog *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2510,7 +2679,7 @@ static PyObject *_wrap_XmlResource_LoadOnDialog(PyObject *, PyObject *args, PyOb static PyObject *_wrap_XmlResource_LoadPanel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2558,7 +2727,7 @@ static PyObject *_wrap_XmlResource_LoadPanel(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_XmlResource_LoadOnPanel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxPanel *arg2 = (wxPanel *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2610,7 +2779,7 @@ static PyObject *_wrap_XmlResource_LoadOnPanel(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlResource_LoadFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2658,7 +2827,7 @@ static PyObject *_wrap_XmlResource_LoadFrame(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_XmlResource_LoadOnFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2710,7 +2879,7 @@ static PyObject *_wrap_XmlResource_LoadOnFrame(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlResource_LoadObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxString *arg3 = 0 ; @@ -2774,7 +2943,7 @@ static PyObject *_wrap_XmlResource_LoadObject(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_LoadOnObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxObject *arg2 = (wxObject *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2842,7 +3011,7 @@ static PyObject *_wrap_XmlResource_LoadOnObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_XmlResource_LoadBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxBitmap result; @@ -2870,7 +3039,7 @@ static PyObject *_wrap_XmlResource_LoadBitmap(PyObject *, PyObject *args, PyObje } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } { @@ -2888,7 +3057,7 @@ static PyObject *_wrap_XmlResource_LoadBitmap(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_LoadIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxIcon result; @@ -2916,7 +3085,7 @@ static PyObject *_wrap_XmlResource_LoadIcon(PyObject *, PyObject *args, PyObject } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } { @@ -2934,7 +3103,7 @@ static PyObject *_wrap_XmlResource_LoadIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlResource_AttachUnknownControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxString *arg2 = 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -2988,7 +3157,7 @@ static PyObject *_wrap_XmlResource_AttachUnknownControl(PyObject *, PyObject *ar static PyObject *_wrap_XmlResource_GetXRCID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int result; bool temp1 = false ; @@ -3011,7 +3180,7 @@ static PyObject *_wrap_XmlResource_GetXRCID(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -3028,7 +3197,7 @@ static PyObject *_wrap_XmlResource_GetXRCID(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlResource_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; long result; PyObject * obj0 = 0 ; @@ -3047,7 +3216,7 @@ static PyObject *_wrap_XmlResource_GetVersion(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -3056,7 +3225,7 @@ static PyObject *_wrap_XmlResource_GetVersion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResource_CompareVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; int arg2 ; int arg3 ; @@ -3076,19 +3245,19 @@ static PyObject *_wrap_XmlResource_CompareVersion(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxXmlResource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3099,7 +3268,7 @@ static PyObject *_wrap_XmlResource_CompareVersion(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: @@ -3108,7 +3277,7 @@ static PyObject *_wrap_XmlResource_CompareVersion(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResource_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *result; char *kwnames[] = { NULL @@ -3130,7 +3299,7 @@ static PyObject *_wrap_XmlResource_Get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlResource_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; wxXmlResource *result; PyObject * obj0 = 0 ; @@ -3156,7 +3325,7 @@ static PyObject *_wrap_XmlResource_Set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlResource_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3175,7 +3344,7 @@ static PyObject *_wrap_XmlResource_GetFlags(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: @@ -3184,7 +3353,7 @@ static PyObject *_wrap_XmlResource_GetFlags(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlResource_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlResource *arg1 = (wxXmlResource *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3197,7 +3366,7 @@ static PyObject *_wrap_XmlResource_SetFlags(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxXmlResource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3222,7 +3391,7 @@ static PyObject * XmlResource_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlSubclassFactory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlSubclassFactory *result; char *kwnames[] = { NULL @@ -3244,7 +3413,7 @@ static PyObject *_wrap_new_XmlSubclassFactory(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlSubclassFactory__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlSubclassFactory *arg1 = (wxPyXmlSubclassFactory *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -3282,7 +3451,7 @@ static PyObject * XmlSubclassFactory_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlProperty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -3348,7 +3517,7 @@ static PyObject *_wrap_new_XmlProperty(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlProperty_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3380,7 +3549,7 @@ static PyObject *_wrap_XmlProperty_GetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3412,7 +3581,7 @@ static PyObject *_wrap_XmlProperty_GetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxXmlProperty *result; PyObject * obj0 = 0 ; @@ -3438,7 +3607,7 @@ static PyObject *_wrap_XmlProperty_GetNext(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3479,7 +3648,7 @@ static PyObject *_wrap_XmlProperty_SetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -3520,7 +3689,7 @@ static PyObject *_wrap_XmlProperty_SetValue(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlProperty_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlProperty *arg1 = (wxXmlProperty *) 0 ; wxXmlProperty *arg2 = (wxXmlProperty *) 0 ; PyObject * obj0 = 0 ; @@ -3556,7 +3725,7 @@ static PyObject * XmlProperty_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) NULL ; wxXmlNodeType arg2 = (wxXmlNodeType) 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3585,7 +3754,7 @@ static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) } if (obj1) { { - arg2 = (wxXmlNodeType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3613,7 +3782,7 @@ static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxXmlNode *)new wxXmlNode(arg1,(wxXmlNodeType )arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6); + result = (wxXmlNode *)new wxXmlNode(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3642,7 +3811,7 @@ static PyObject *_wrap_new_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_XmlNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3667,7 +3836,7 @@ static PyObject *_wrap_delete_XmlNode(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNodeType arg1 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -3684,7 +3853,7 @@ static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_XmlNodeEasy",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (wxXmlNodeType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3701,7 +3870,7 @@ static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwa } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxXmlNode *)new wxXmlNode((wxXmlNodeType )arg1,(wxString const &)*arg2,(wxString const &)*arg3); + result = (wxXmlNode *)new wxXmlNode(arg1,(wxString const &)*arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3730,7 +3899,7 @@ static PyObject *_wrap_new_XmlNodeEasy(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -3759,7 +3928,7 @@ static PyObject *_wrap_XmlNode_AddChild(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlNode_InsertChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxXmlNode *arg3 = (wxXmlNode *) 0 ; @@ -3792,7 +3961,7 @@ static PyObject *_wrap_XmlNode_InsertChild(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; bool result; @@ -3824,7 +3993,7 @@ static PyObject *_wrap_XmlNode_RemoveChild(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_AddProperty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlProperty *arg2 = (wxXmlProperty *) 0 ; PyObject * obj0 = 0 ; @@ -3853,7 +4022,7 @@ static PyObject *_wrap_XmlNode_AddProperty(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_AddPropertyName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -3910,7 +4079,7 @@ static PyObject *_wrap_XmlNode_AddPropertyName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_XmlNode_DeleteProperty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; bool result; @@ -3954,7 +4123,7 @@ static PyObject *_wrap_XmlNode_DeleteProperty(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlNode_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNodeType result; PyObject * obj0 = 0 ; @@ -3980,7 +4149,7 @@ static PyObject *_wrap_XmlNode_GetType(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4012,7 +4181,7 @@ static PyObject *_wrap_XmlNode_GetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_GetContent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4044,7 +4213,7 @@ static PyObject *_wrap_XmlNode_GetContent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlNode_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -4070,7 +4239,7 @@ static PyObject *_wrap_XmlNode_GetParent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_XmlNode_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -4096,7 +4265,7 @@ static PyObject *_wrap_XmlNode_GetNext(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -4122,7 +4291,7 @@ static PyObject *_wrap_XmlNode_GetChildren(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_GetProperties(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlProperty *result; PyObject * obj0 = 0 ; @@ -4148,7 +4317,7 @@ static PyObject *_wrap_XmlNode_GetProperties(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_XmlNode_GetPropVal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -4212,7 +4381,7 @@ static PyObject *_wrap_XmlNode_GetPropVal(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlNode_HasProp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; bool result; @@ -4256,7 +4425,7 @@ static PyObject *_wrap_XmlNode_HasProp(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNodeType arg2 ; PyObject * obj0 = 0 ; @@ -4269,12 +4438,12 @@ static PyObject *_wrap_XmlNode_SetType(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxXmlNode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxXmlNodeType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetType((wxXmlNodeType )arg2); + (arg1)->SetType(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -4287,7 +4456,7 @@ static PyObject *_wrap_XmlNode_SetType(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4328,7 +4497,7 @@ static PyObject *_wrap_XmlNode_SetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_SetContent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4369,7 +4538,7 @@ static PyObject *_wrap_XmlNode_SetContent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlNode_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -4398,7 +4567,7 @@ static PyObject *_wrap_XmlNode_SetParent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_XmlNode_SetNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -4427,7 +4596,7 @@ static PyObject *_wrap_XmlNode_SetNext(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_XmlNode_SetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -4456,7 +4625,7 @@ static PyObject *_wrap_XmlNode_SetChildren(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlNode_SetProperties(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlNode *arg1 = (wxXmlNode *) 0 ; wxXmlProperty *arg2 = (wxXmlProperty *) 0 ; PyObject * obj0 = 0 ; @@ -4492,7 +4661,7 @@ static PyObject * XmlNode_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyUTF8String ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -4549,7 +4718,7 @@ static PyObject *_wrap_new_XmlDocument(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_XmlDocumentFromStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; wxString const &arg2_defvalue = wxPyUTF8String ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -4614,7 +4783,7 @@ static PyObject *_wrap_new_XmlDocumentFromStream(PyObject *, PyObject *args, PyO static PyObject *_wrap_new_EmptyXmlDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *result; char *kwnames[] = { NULL @@ -4636,7 +4805,7 @@ static PyObject *_wrap_new_EmptyXmlDocument(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_XmlDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4661,7 +4830,7 @@ static PyObject *_wrap_delete_XmlDocument(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_XmlDocument_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyUTF8String ; @@ -4724,7 +4893,7 @@ static PyObject *_wrap_XmlDocument_Load(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlDocument_LoadFromStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxInputStream *arg2 = 0 ; wxString const &arg3_defvalue = wxPyUTF8String ; @@ -4795,7 +4964,7 @@ static PyObject *_wrap_XmlDocument_LoadFromStream(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlDocument_Save(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString *arg2 = 0 ; bool result; @@ -4839,7 +5008,7 @@ static PyObject *_wrap_XmlDocument_Save(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlDocument_SaveToStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxOutputStream *arg2 = 0 ; bool result; @@ -4877,7 +5046,7 @@ static PyObject *_wrap_XmlDocument_SaveToStream(PyObject *, PyObject *args, PyOb static PyObject *_wrap_XmlDocument_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4905,7 +5074,7 @@ static PyObject *_wrap_XmlDocument_IsOk(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_XmlDocument_GetRoot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -4931,7 +5100,7 @@ static PyObject *_wrap_XmlDocument_GetRoot(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlDocument_GetVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4963,7 +5132,7 @@ static PyObject *_wrap_XmlDocument_GetVersion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlDocument_GetFileEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4995,7 +5164,7 @@ static PyObject *_wrap_XmlDocument_GetFileEncoding(PyObject *, PyObject *args, P static PyObject *_wrap_XmlDocument_SetRoot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; PyObject * obj0 = 0 ; @@ -5024,7 +5193,7 @@ static PyObject *_wrap_XmlDocument_SetRoot(PyObject *, PyObject *args, PyObject static PyObject *_wrap_XmlDocument_SetVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5065,7 +5234,7 @@ static PyObject *_wrap_XmlDocument_SetVersion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlDocument_SetFileEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXmlDocument *arg1 = (wxXmlDocument *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -5113,7 +5282,7 @@ static PyObject * XmlDocument_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XmlResourceHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *result; char *kwnames[] = { NULL @@ -5135,7 +5304,7 @@ static PyObject *_wrap_new_XmlResourceHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_XmlResourceHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -5166,7 +5335,7 @@ static PyObject *_wrap_XmlResourceHandler__setCallbackInfo(PyObject *, PyObject static PyObject *_wrap_XmlResourceHandler_CreateResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxObject *arg3 = (wxObject *) 0 ; @@ -5206,7 +5375,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateResource(PyObject *, PyObject *a static PyObject *_wrap_XmlResourceHandler_SetParentResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlResource *arg2 = (wxXmlResource *) 0 ; PyObject * obj0 = 0 ; @@ -5235,7 +5404,7 @@ static PyObject *_wrap_XmlResourceHandler_SetParentResource(PyObject *, PyObject static PyObject *_wrap_XmlResourceHandler_GetResource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlResource *result; PyObject * obj0 = 0 ; @@ -5261,7 +5430,7 @@ static PyObject *_wrap_XmlResourceHandler_GetResource(PyObject *, PyObject *args static PyObject *_wrap_XmlResourceHandler_GetNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *result; PyObject * obj0 = 0 ; @@ -5287,7 +5456,7 @@ static PyObject *_wrap_XmlResourceHandler_GetNode(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetClass(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -5319,7 +5488,7 @@ static PyObject *_wrap_XmlResourceHandler_GetClass(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResourceHandler_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxObject *result; PyObject * obj0 = 0 ; @@ -5347,7 +5516,7 @@ static PyObject *_wrap_XmlResourceHandler_GetParent(PyObject *, PyObject *args, static PyObject *_wrap_XmlResourceHandler_GetInstance(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxObject *result; PyObject * obj0 = 0 ; @@ -5375,7 +5544,7 @@ static PyObject *_wrap_XmlResourceHandler_GetInstance(PyObject *, PyObject *args static PyObject *_wrap_XmlResourceHandler_GetParentAsWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -5403,7 +5572,7 @@ static PyObject *_wrap_XmlResourceHandler_GetParentAsWindow(PyObject *, PyObject static PyObject *_wrap_XmlResourceHandler_IsOfClass(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxString *arg3 = 0 ; @@ -5451,7 +5620,7 @@ static PyObject *_wrap_XmlResourceHandler_IsOfClass(PyObject *, PyObject *args, static PyObject *_wrap_XmlResourceHandler_GetNodeContent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxString result; @@ -5487,7 +5656,7 @@ static PyObject *_wrap_XmlResourceHandler_GetNodeContent(PyObject *, PyObject *a static PyObject *_wrap_XmlResourceHandler_HasParam(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -5531,7 +5700,7 @@ static PyObject *_wrap_XmlResourceHandler_HasParam(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResourceHandler_GetParamNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; wxXmlNode *result; @@ -5573,7 +5742,7 @@ static PyObject *_wrap_XmlResourceHandler_GetParamNode(PyObject *, PyObject *arg static PyObject *_wrap_XmlResourceHandler_GetParamValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -5621,7 +5790,7 @@ static PyObject *_wrap_XmlResourceHandler_GetParamValue(PyObject *, PyObject *ar static PyObject *_wrap_XmlResourceHandler_AddStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -5642,7 +5811,7 @@ static PyObject *_wrap_XmlResourceHandler_AddStyle(PyObject *, PyObject *args, P temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5668,7 +5837,7 @@ static PyObject *_wrap_XmlResourceHandler_AddStyle(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResourceHandler_AddWindowStyles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5693,7 +5862,7 @@ static PyObject *_wrap_XmlResourceHandler_AddWindowStyles(PyObject *, PyObject * static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyStyleString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -5719,7 +5888,7 @@ static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5731,7 +5900,7 @@ static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -5748,7 +5917,7 @@ static PyObject *_wrap_XmlResourceHandler_GetStyle(PyObject *, PyObject *args, P static PyObject *_wrap_XmlResourceHandler_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -5771,7 +5940,7 @@ static PyObject *_wrap_XmlResourceHandler_GetText(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5804,7 +5973,7 @@ static PyObject *_wrap_XmlResourceHandler_GetText(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5823,7 +5992,7 @@ static PyObject *_wrap_XmlResourceHandler_GetID(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: @@ -5832,7 +6001,7 @@ static PyObject *_wrap_XmlResourceHandler_GetID(PyObject *, PyObject *args, PyOb static PyObject *_wrap_XmlResourceHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -5864,7 +6033,7 @@ static PyObject *_wrap_XmlResourceHandler_GetName(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -5887,7 +6056,7 @@ static PyObject *_wrap_XmlResourceHandler_GetBool(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5916,7 +6085,7 @@ static PyObject *_wrap_XmlResourceHandler_GetBool(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) 0 ; @@ -5939,7 +6108,7 @@ static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, Py } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5951,7 +6120,7 @@ static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp2) @@ -5968,7 +6137,7 @@ static PyObject *_wrap_XmlResourceHandler_GetLong(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; wxColour result; @@ -5996,7 +6165,7 @@ static PyObject *_wrap_XmlResourceHandler_GetColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } { @@ -6014,7 +6183,7 @@ static PyObject *_wrap_XmlResourceHandler_GetColour(PyObject *, PyObject *args, static PyObject *_wrap_XmlResourceHandler_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPySizeString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6045,7 +6214,7 @@ static PyObject *_wrap_XmlResourceHandler_GetSize(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); } { @@ -6063,7 +6232,7 @@ static PyObject *_wrap_XmlResourceHandler_GetSize(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyPosString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6094,7 +6263,7 @@ static PyObject *_wrap_XmlResourceHandler_GetPosition(PyObject *, PyObject *args } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } { @@ -6112,7 +6281,7 @@ static PyObject *_wrap_XmlResourceHandler_GetPosition(PyObject *, PyObject *args static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -6135,7 +6304,7 @@ static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *arg } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6147,7 +6316,7 @@ static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -6164,7 +6333,7 @@ static PyObject *_wrap_XmlResourceHandler_GetDimension(PyObject *, PyObject *arg static PyObject *_wrap_XmlResourceHandler_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyBitmapString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6222,7 +6391,7 @@ static PyObject *_wrap_XmlResourceHandler_GetBitmap(PyObject *, PyObject *args, } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } { @@ -6240,7 +6409,7 @@ static PyObject *_wrap_XmlResourceHandler_GetBitmap(PyObject *, PyObject *args, static PyObject *_wrap_XmlResourceHandler_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyIconString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6298,7 +6467,7 @@ static PyObject *_wrap_XmlResourceHandler_GetIcon(PyObject *, PyObject *args, Py } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } { @@ -6316,7 +6485,7 @@ static PyObject *_wrap_XmlResourceHandler_GetIcon(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxString const &arg2_defvalue = wxPyFontString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -6347,7 +6516,7 @@ static PyObject *_wrap_XmlResourceHandler_GetFont(PyObject *, PyObject *args, Py } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } { @@ -6365,7 +6534,7 @@ static PyObject *_wrap_XmlResourceHandler_GetFont(PyObject *, PyObject *args, Py static PyObject *_wrap_XmlResourceHandler_SetupWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -6394,7 +6563,7 @@ static PyObject *_wrap_XmlResourceHandler_SetupWindow(PyObject *, PyObject *args static PyObject *_wrap_XmlResourceHandler_CreateChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxObject *arg2 = (wxObject *) 0 ; bool arg3 = (bool) false ; @@ -6412,7 +6581,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateChildren(PyObject *, PyObject *a 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; } } @@ -6431,7 +6600,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateChildren(PyObject *, PyObject *a static PyObject *_wrap_XmlResourceHandler_CreateChildrenPrivately(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxObject *arg2 = (wxObject *) 0 ; wxXmlNode *arg3 = (wxXmlNode *) NULL ; @@ -6466,7 +6635,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateChildrenPrivately(PyObject *, Py static PyObject *_wrap_XmlResourceHandler_CreateResFromNode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxXmlNode *arg2 = (wxXmlNode *) 0 ; wxObject *arg3 = (wxObject *) 0 ; @@ -6508,7 +6677,7 @@ static PyObject *_wrap_XmlResourceHandler_CreateResFromNode(PyObject *, PyObject static PyObject *_wrap_XmlResourceHandler_GetCurFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyXmlResourceHandler *arg1 = (wxPyXmlResourceHandler *) 0 ; wxFileSystem *result; PyObject * obj0 = 0 ; @@ -6919,73 +7088,436 @@ static void *_p_wxPyValidatorTo_p_wxObject(void *x) { static void *_p_wxValidatorTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); } -static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXmlDocument", _p_wxXmlDocumentTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_wxActivateEvent", _p_wxActivateEventTo_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_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_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_wxPyXmlResourceHandler", _p_wxPyXmlResourceHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxXmlResource", _p_wxXmlResourceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 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_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxArtClient[] = {{"_p_wxArtClient", 0, "wxArtClient *", 0, 0, 0, 0},{"_p_wxArtClient", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyXmlSubclassFactory[] = {{"_p_wxPyXmlSubclassFactory", 0, "wxPyXmlSubclassFactory *", 0, 0, 0, 0},{"_p_wxPyXmlSubclassFactory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_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__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_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_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_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_wxXmlNode[] = {{"_p_wxXmlNode", 0, "wxXmlNode *", 0, 0, 0, 0},{"_p_wxXmlNode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyXmlResourceHandler[] = {{"_p_wxPyXmlResourceHandler", 0, "wxPyXmlResourceHandler *", 0, 0, 0, 0},{"_p_wxPyXmlResourceHandler", 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__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__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__p_wxXmlProperty[] = {{"_p_wxXmlProperty", 0, "wxXmlProperty *", 0, 0, 0, 0},{"_p_wxXmlProperty", 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_wxXmlResource[] = {{"_p_wxXmlResource", 0, "wxXmlResource *", 0, 0, 0, 0},{"_p_wxXmlResource", 0, 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},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxXmlDocument[] = {{"_p_wxXmlDocument", 0, "wxXmlDocument *", 0, 0, 0, 0},{"_p_wxXmlDocument", 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_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_int[] = {{"_p_int", 0, "int *|wxEventType *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxFrame, -_swigt__p_wxIcon, -_swigt__p_wxObject, -_swigt__p_unsigned_char, -_swigt__p_wxDialog, -_swigt__p_wxColour, -_swigt__p_wxWindow, -_swigt__p_wxArtClient, -_swigt__p_unsigned_long, -_swigt__p_wxPyXmlSubclassFactory, -_swigt__p_wxBitmap, -_swigt__p_form_ops_t, -_swigt__p_unsigned_int, -_swigt__unsigned_int, -_swigt__p_wxDuplexMode, -_swigt__p_char, -_swigt__p_wxPoint, -_swigt__p_wxXmlNode, -_swigt__p_wxInputStream, -_swigt__p_wxOutputStream, -_swigt__p_wxPyXmlResourceHandler, -_swigt__p_wxFileSystem, -_swigt__std__ptrdiff_t, -_swigt__ptrdiff_t, -_swigt__p_wxXmlProperty, -_swigt__p_wxFont, -_swigt__p_wxXmlResource, -_swigt__p_wxPanel, -_swigt__p_wxXmlDocument, -_swigt__p_wxPaperSize, -_swigt__p_wxSize, -_swigt__p_int, -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 *|wxEventType *", 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_wxArtClient = {"_p_wxArtClient", "wxArtClient *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 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_wxScrollEvent = {"_p_wxScrollEvent", 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_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 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_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 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_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 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_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 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_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyXmlResourceHandler = {"_p_wxPyXmlResourceHandler", "wxPyXmlResourceHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyXmlSubclassFactory = {"_p_wxPyXmlSubclassFactory", "wxPyXmlSubclassFactory *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXmlDocument = {"_p_wxXmlDocument", "wxXmlDocument *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXmlNode = {"_p_wxXmlNode", "wxXmlNode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXmlProperty = {"_p_wxXmlProperty", "wxXmlProperty *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXmlResource = {"_p_wxXmlResource", "wxXmlResource *", 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_wxArtClient, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDialog, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFrame, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxInputStream, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxOutputStream, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPanel, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxPyXmlResourceHandler, + &_swigt__p_wxPyXmlSubclassFactory, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxXPMHandler, + &_swigt__p_wxXmlDocument, + &_swigt__p_wxXmlNode, + &_swigt__p_wxXmlProperty, + &_swigt__p_wxXmlResource, + &_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_wxArtClient[] = { {&_swigt__p_wxArtClient, 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_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 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_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInputStream[] = { {&_swigt__p_wxInputStream, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 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_wxEvent[] = {{&_swigt__p_wxEvent, 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_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 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_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_wxControl[] = {{&_swigt__p_wxControl, 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_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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 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_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_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 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_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 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_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 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_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 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_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = {{&_swigt__p_wxEvtHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 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_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxXmlDocument, _p_wxXmlDocumentTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyXmlResourceHandler, _p_wxPyXmlResourceHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxXmlResource, _p_wxXmlResourceTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyXmlResourceHandler[] = { {&_swigt__p_wxPyXmlResourceHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyXmlSubclassFactory[] = { {&_swigt__p_wxPyXmlSubclassFactory, 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_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXmlDocument[] = { {&_swigt__p_wxXmlDocument, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXmlNode[] = { {&_swigt__p_wxXmlNode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXmlProperty[] = { {&_swigt__p_wxXmlProperty, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXmlResource[] = { {&_swigt__p_wxXmlResource, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArtClient, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDateEvent, + _swigc__p_wxDialog, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFrame, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxInputStream, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxOutputStream, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPanel, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxPyXmlResourceHandler, + _swigc__p_wxPyXmlSubclassFactory, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__p_wxXmlDocument, + _swigc__p_wxXmlNode, + _swigc__p_wxXmlProperty, + _swigc__p_wxXmlResource, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -6997,6 +7529,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 @@ -7014,7 +7757,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; @@ -7024,13 +7767,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; @@ -7043,7 +7786,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -7056,7 +7799,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) { @@ -7069,72 +7812,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; } @@ -7143,11 +7903,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); @@ -7184,7 +7944,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, @@ -7196,7 +7956,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]); @@ -7209,14 +7969,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; + } + } } } } @@ -7226,69 +7990,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 @@ -7297,42 +7998,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); @@ -7344,64 +8024,64 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IconString",_wrap_IconString_get, _wrap_IconString_set); SWIG_addvarlink(SWIG_globals,(char*)"FontString",_wrap_FontString_get, _wrap_FontString_set); { - PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MAJOR", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_MAJOR))); + PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MAJOR", SWIG_From_int(static_cast(WX_XMLRES_CURRENT_VERSION_MAJOR))); } { - PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MINOR", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_MINOR))); + PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_MINOR", SWIG_From_int(static_cast(WX_XMLRES_CURRENT_VERSION_MINOR))); } { - PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_RELEASE", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_RELEASE))); + PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_RELEASE", SWIG_From_int(static_cast(WX_XMLRES_CURRENT_VERSION_RELEASE))); } { - PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_REVISION", SWIG_From_int((int)(WX_XMLRES_CURRENT_VERSION_REVISION))); + PyDict_SetItemString(d,"WX_XMLRES_CURRENT_VERSION_REVISION", SWIG_From_int(static_cast(WX_XMLRES_CURRENT_VERSION_REVISION))); } { - PyDict_SetItemString(d,"XRC_USE_LOCALE", SWIG_From_int((int)(wxXRC_USE_LOCALE))); + PyDict_SetItemString(d,"XRC_USE_LOCALE", SWIG_From_int(static_cast(wxXRC_USE_LOCALE))); } { - PyDict_SetItemString(d,"XRC_NO_SUBCLASSING", SWIG_From_int((int)(wxXRC_NO_SUBCLASSING))); + PyDict_SetItemString(d,"XRC_NO_SUBCLASSING", SWIG_From_int(static_cast(wxXRC_NO_SUBCLASSING))); } { - PyDict_SetItemString(d,"XRC_NO_RELOADING", SWIG_From_int((int)(wxXRC_NO_RELOADING))); + PyDict_SetItemString(d,"XRC_NO_RELOADING", SWIG_From_int(static_cast(wxXRC_NO_RELOADING))); } { - PyDict_SetItemString(d,"XML_ELEMENT_NODE", SWIG_From_int((int)(wxXML_ELEMENT_NODE))); + PyDict_SetItemString(d,"XML_ELEMENT_NODE", SWIG_From_int(static_cast(wxXML_ELEMENT_NODE))); } { - PyDict_SetItemString(d,"XML_ATTRIBUTE_NODE", SWIG_From_int((int)(wxXML_ATTRIBUTE_NODE))); + PyDict_SetItemString(d,"XML_ATTRIBUTE_NODE", SWIG_From_int(static_cast(wxXML_ATTRIBUTE_NODE))); } { - PyDict_SetItemString(d,"XML_TEXT_NODE", SWIG_From_int((int)(wxXML_TEXT_NODE))); + PyDict_SetItemString(d,"XML_TEXT_NODE", SWIG_From_int(static_cast(wxXML_TEXT_NODE))); } { - PyDict_SetItemString(d,"XML_CDATA_SECTION_NODE", SWIG_From_int((int)(wxXML_CDATA_SECTION_NODE))); + PyDict_SetItemString(d,"XML_CDATA_SECTION_NODE", SWIG_From_int(static_cast(wxXML_CDATA_SECTION_NODE))); } { - PyDict_SetItemString(d,"XML_ENTITY_REF_NODE", SWIG_From_int((int)(wxXML_ENTITY_REF_NODE))); + PyDict_SetItemString(d,"XML_ENTITY_REF_NODE", SWIG_From_int(static_cast(wxXML_ENTITY_REF_NODE))); } { - PyDict_SetItemString(d,"XML_ENTITY_NODE", SWIG_From_int((int)(wxXML_ENTITY_NODE))); + PyDict_SetItemString(d,"XML_ENTITY_NODE", SWIG_From_int(static_cast(wxXML_ENTITY_NODE))); } { - PyDict_SetItemString(d,"XML_PI_NODE", SWIG_From_int((int)(wxXML_PI_NODE))); + PyDict_SetItemString(d,"XML_PI_NODE", SWIG_From_int(static_cast(wxXML_PI_NODE))); } { - PyDict_SetItemString(d,"XML_COMMENT_NODE", SWIG_From_int((int)(wxXML_COMMENT_NODE))); + PyDict_SetItemString(d,"XML_COMMENT_NODE", SWIG_From_int(static_cast(wxXML_COMMENT_NODE))); } { - PyDict_SetItemString(d,"XML_DOCUMENT_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_NODE))); + PyDict_SetItemString(d,"XML_DOCUMENT_NODE", SWIG_From_int(static_cast(wxXML_DOCUMENT_NODE))); } { - PyDict_SetItemString(d,"XML_DOCUMENT_TYPE_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_TYPE_NODE))); + PyDict_SetItemString(d,"XML_DOCUMENT_TYPE_NODE", SWIG_From_int(static_cast(wxXML_DOCUMENT_TYPE_NODE))); } { - PyDict_SetItemString(d,"XML_DOCUMENT_FRAG_NODE", SWIG_From_int((int)(wxXML_DOCUMENT_FRAG_NODE))); + PyDict_SetItemString(d,"XML_DOCUMENT_FRAG_NODE", SWIG_From_int(static_cast(wxXML_DOCUMENT_FRAG_NODE))); } { - PyDict_SetItemString(d,"XML_NOTATION_NODE", SWIG_From_int((int)(wxXML_NOTATION_NODE))); + PyDict_SetItemString(d,"XML_NOTATION_NODE", SWIG_From_int(static_cast(wxXML_NOTATION_NODE))); } { - PyDict_SetItemString(d,"XML_HTML_DOCUMENT_NODE", SWIG_From_int((int)(wxXML_HTML_DOCUMENT_NODE))); + PyDict_SetItemString(d,"XML_HTML_DOCUMENT_NODE", SWIG_From_int(static_cast(wxXML_HTML_DOCUMENT_NODE))); } -- 2.45.2